MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
PolymerDensity_units.density_reaction_mixture Namespace Reference

Variables

 term = Terminal()
 Create terminal for colour output.
 
 f
 Surrogate function for density of the reaction mixture. More...
 
 m
 Surrogate model for density_reaction_mixture. More...
 

Detailed Description

Author
Erik Laurini
Mohsen Karimi

Variable Documentation

◆ f

PolymerDensity_units.density_reaction_mixture.f
Initial value:
1 = CFunction(
2  Ccode=,
3  # These are global bounds for the function
4  inputs={
5  'T': { 'min': 273, 'max': 550},
6  'XOH': { 'min': 0, 'max': 1},
7  },
8  outputs={
9  'density_polymer': { 'min': 0, 'max': 8000, 'argPos': 0 },
10  },
11  parameters={
12  'param0': { 'min': -9e99, 'max': +9e99, 'argPos': 0 },
13  'param1': { 'min': 0.0, 'max': +9e99, 'argPos': 1 },
14  'param2': { 'min': -9e99, 'max': +9e99, 'argPos': 2 },
15  'param3': { 'min': 0.0, 'max': +9e99, 'argPos': 3 },
16  },
17 )

Surrogate function for density of the reaction mixture.

Density is a function of temperature and conversion of gelling reaction.

Definition at line 61 of file density_reaction_mixture.py.

◆ m

PolymerDensity_units.density_reaction_mixture.m
Initial value:
1 = ForwardMappingModel(
2  _id='density_reaction_mixture',
3  surrogateFunction=f,
4  substituteModels= [ ],
5  parameters=[-0.0006, 1287.8, -0.000048, 992.8],
6 )

Surrogate model for density_reaction_mixture.

Forward mapping model is used.

Definition at line 100 of file density_reaction_mixture.py.