modelGasSolubility
Extends from Icons.GasSolubility, Chemical.Interfaces.SISO (Base Model with basic flow eqautions for SISO), Chemical.Interfaces.PartialSolutionSensor, Chemical.Interfaces.ConditionalKinetics (Input of kinetics coefficient vs. parametric kinetics coefficient).
Information
Gaseuous substance dissolition in liquid (Henry's law, Raoult's law, Nernst dissolution in one).
Equilibrium equation
KH =xL / xg |
Henry's coefficient, Raoult's coefficient |
ΔsolG = ΔfGL - ΔfGg = ΔsolH - T·ΔsolS = -R·T·log(KH· (fL / fg)) |
molar Gibb's energy of the dissolition |
ΔsolH = ΔfHL - ΔfHg |
molar enthalpy of the dissolition |
molar entropy of the dissolition |
Notations
xL |
mole fraction of the substance in the liquid |
xg |
mole fraction of the substance in the gas |
fL |
activity coefficient of the substance in the liquid |
fg |
activity coefficient of the substance in the gas |
ΔfHL |
molar enthalpy of formation of the substance in the liquid |
ΔfHg |
molar enthalpy of formation of the substance in the gas |
ΔfSL |
molar entropy of formation of the substance in the liquid |
ΔfSg |
molar entropy of formation of the substance in the gas |
ΔsolG |
molar Gibbs energy of dissolvation of the substance in the liquid |
Δsolω |
change of number of microstates of particles by dissolution |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k_forward (from ConditionalKinetics) | 1 | Forward rate coefficient (mole-fraction based) |
| Chemical.Interfaces.Definition | process | Chemical.Interfaces.processData(1) | Process definition |
| Advanced | |||
| Modelica.Units.SI.MolarFlowRate | n_flow_reg (from SISO) | dropOfCommons.n_flow_reg | Regularization threshold of mass flow rate |
| Chemical.Utilities.Units.Inertance | L (from SISO) | dropOfCommons.L | Inertance of the flow |
| StateSelect | n_flowStateSelect (from SISO) | StateSelect.default | State select for n_flow |
| Initialization | |||
| InitializationMethods | initN_flow (from SISO) | Chemical.Utilities.Types.InitializationMethods.none | Initialization method for n_flow |
| Modelica.Units.SI.MolarFlowRate | n_flow_0 (from SISO) | 0 | Initial value for n_flow |
| Chemical.Utilities.Units.MolarFlowAcceleration | n_acceleration_0 (from SISO) | 0 | Initial value for der(n_flow) |
| Chemical solution (of products) | |||
| SolutionChoice | solutionFrom (from PartialSolutionSensor) | Chemical.Utilities.Types.SolutionChoice.FirstSubstrate | Chemical solution comes from? |
| Chemical.Interfaces.SolutionState | solutionParam (from PartialSolutionSensor) | Chemical.Interfaces.SolutionState(phase = Chemical.Interfaces.Phase.Incompressible) | Chemical solution state as Parameter |
| Advanced › Conditional inputs | |||
| Boolean | useForwardRateInput (from ConditionalKinetics) | false | Forward rate coefficient from input? |
| Product definition | |||
| FirstProductChoice | productFrom | Chemical.Utilities.Types.FirstProductChoice.Substance | Choice of products definition |
| Chemical.Interfaces.Definition | product | Chemical.Substances.Liquid.Unknown | Product definitions |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Chemical.Interfaces.Rear | rear (from SISO) | ||
| Chemical.Interfaces.Fore | fore (from SISO) | ||
| Chemical.Interfaces.SolutionPort | solution (from PartialSolutionSensor) | To connect substance with solution, where is pressented | |
| Modelica.Blocks.Interfaces.RealInput | kfInput (from ConditionalKinetics) | kf |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MolarFlowRate | n_flow (from SISO) | rear.n_flow | |
| Chemical.Interfaces.SolutionState | solutionState (from PartialSolutionSensor) | ||
| Real | kf (from ConditionalKinetics) | Current forward rate coefficient |
Contents
| Name | Description |
|---|---|
Revisions
2009-2015
by Marek Matejak, Charles University, Prague, Czech Republic