MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Data Structures | |
class | SolubilityExactSim |
This FireTask controls the execution of the detailed model of the Solubility model. More... | |
Variables | |
term = Terminal() | |
species | |
system | |
string | Ccode2 |
Surrogate Function. More... | |
string | Ccode3 |
dictionary | outputs |
dictionary | parameters |
dictionary | parameters4 |
dictionary | indices |
dictionary | inputs2 |
dictionary | inputs3 |
f2 | |
f3 | |
outOfBoundsStrategy | |
parameterFittingStrategy | |
m_solubilityCO2PU | |
m_solubilityAirPU | |
m_solubilityCyclopentanePU | |
m_solubilityO2PU | |
m_solubilityN2PU | |
m_solubilityCO2 | |
m_solubilityAir | |
m_solubilityCyclopentane | |
dictionary | inputsExp |
string | CcodeR11Baser |
fR11Baser | |
list | parR11Baser = [1e-7, 4.2934, 203.3556, 40.016] |
R11, Baser | |
m_solubilityR11Baser | |
string | CcodeCO2Baser |
dictionary | parameters1 |
fCO2Baser | |
list | parCO2Baser = [1.1e-4] |
CO2, Baser | |
m_solubilityCO2Baser | |
string | CcodePentGupta |
dictionary | parameters5 |
fPentGupta | |
list | parPentGupta = [-3.3e-4, 2.09e4, 67.5, 8.69e4, 1.01] |
n-pentane, Gupta | |
m_solubilityPentGupta | |
string | CcodePentWinkler |
fPentWinkler | |
list | parPentWinkler = [0.0064,0.0551,298.0,17.8] |
n-pentane, Winkler | |
m_solubilityPentWinkler | |
This is the Solubility python module. Basically, it contains the following:
The FireTask which controls the call of the detailed model. This detailed model is called at the very beginning of the simulation in order to generate initial data points which can be used to fit the parameters of the surrogate model and during a running simulation as soon as the Solubility model is called with input parameters which lie outside the range the parameters of the surrogate model was so far fitted for. This FireTask is stored in the class "SolubilityExactSim" and a more detailed description of the detailed model can be found in the description of this class.
Furthermore, this module contains the code of the surrogate model function as well as the definitions of its input and output values and its fittable parameters. Care should be taken to set reasonable bounds for these variables.
Also, this module contains the backward mapping model. This model consits of the surrogate model function, an initialisation strategy, the out of bounds strategy and the parameter fitting strategy. The initialisation strategy defines the initial data points where the detailed model will be evaluated at simulation start for an initial fit of the surrogate model parameters. The out of bounds strategy determines, how many new points and where to place these new points, once the Solubility model is called for input values outside of the fitted range. The parameter fitting strategy defines tolerances and maximal iterations which are passed to the numerical solver which performs the actual fitting of the surrogate model parameters.
Solubility.Solubility.Ccode2 |
Surrogate Function.
$$f(T) := \theta_0 + \theta_1 \cdot T + \theta_2 T^2$$
Definition at line 172 of file Solubility.py.
string Solubility.Solubility.Ccode3 |
Definition at line 197 of file Solubility.py.
string Solubility.Solubility.CcodeCO2Baser |
Definition at line 449 of file Solubility.py.
string Solubility.Solubility.CcodePentGupta |
Definition at line 487 of file Solubility.py.
string Solubility.Solubility.CcodePentWinkler |
Definition at line 533 of file Solubility.py.
string Solubility.Solubility.CcodeR11Baser |
Definition at line 407 of file Solubility.py.
Solubility.Solubility.f2 |
Definition at line 254 of file Solubility.py.
Solubility.Solubility.f3 |
Definition at line 260 of file Solubility.py.
Solubility.Solubility.fCO2Baser |
Definition at line 472 of file Solubility.py.
Solubility.Solubility.fPentGupta |
Definition at line 518 of file Solubility.py.
Solubility.Solubility.fPentWinkler |
Definition at line 556 of file Solubility.py.
Solubility.Solubility.fR11Baser |
Definition at line 434 of file Solubility.py.
dictionary Solubility.Solubility.indices |
Definition at line 239 of file Solubility.py.
dictionary Solubility.Solubility.inputs2 |
Definition at line 243 of file Solubility.py.
dictionary Solubility.Solubility.inputs3 |
Definition at line 248 of file Solubility.py.
dictionary Solubility.Solubility.inputsExp |
Definition at line 404 of file Solubility.py.
Solubility.Solubility.m_solubilityAir |
Definition at line 370 of file Solubility.py.
Solubility.Solubility.m_solubilityAirPU |
Definition at line 293 of file Solubility.py.
Solubility.Solubility.m_solubilityCO2 |
Definition at line 354 of file Solubility.py.
Solubility.Solubility.m_solubilityCO2Baser |
Definition at line 479 of file Solubility.py.
Solubility.Solubility.m_solubilityCO2PU |
Definition at line 278 of file Solubility.py.
Solubility.Solubility.m_solubilityCyclopentane |
Definition at line 386 of file Solubility.py.
Solubility.Solubility.m_solubilityCyclopentanePU |
Definition at line 308 of file Solubility.py.
Solubility.Solubility.m_solubilityN2PU |
Definition at line 338 of file Solubility.py.
Solubility.Solubility.m_solubilityO2PU |
Definition at line 323 of file Solubility.py.
Solubility.Solubility.m_solubilityPentGupta |
Definition at line 525 of file Solubility.py.
Solubility.Solubility.m_solubilityPentWinkler |
Definition at line 563 of file Solubility.py.
Solubility.Solubility.m_solubilityR11Baser |
Definition at line 441 of file Solubility.py.
Solubility.Solubility.outOfBoundsStrategy |
Definition at line 267 of file Solubility.py.
dictionary Solubility.Solubility.outputs |
Definition at line 225 of file Solubility.py.
Solubility.Solubility.parameterFittingStrategy |
Definition at line 270 of file Solubility.py.
dictionary Solubility.Solubility.parameters |
Definition at line 228 of file Solubility.py.
dictionary Solubility.Solubility.parameters1 |
Definition at line 467 of file Solubility.py.
dictionary Solubility.Solubility.parameters4 |
Definition at line 233 of file Solubility.py.
dictionary Solubility.Solubility.parameters5 |
Definition at line 509 of file Solubility.py.
Solubility.Solubility.species |
Definition at line 80 of file Solubility.py.
Solubility.Solubility.system |
Definition at line 84 of file Solubility.py.