modelGasSolubility

Henry's law of gas solubility into liquid.
Diagram of GasSolubility

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

ΔsolS = ΔfSL - ΔfSg = k·log(Δsolω)

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

TypeNameDefaultDescription
Realk_forward (from ConditionalKinetics)1Forward rate coefficient (mole-fraction based)
Chemical.Interfaces.DefinitionprocessChemical.Interfaces.processData(1)Process definition
Advanced
Modelica.Units.SI.MolarFlowRaten_flow_reg (from SISO)dropOfCommons.n_flow_regRegularization threshold of mass flow rate
Chemical.Utilities.Units.InertanceL (from SISO)dropOfCommons.LInertance of the flow
StateSelectn_flowStateSelect (from SISO)StateSelect.defaultState select for n_flow
Initialization
InitializationMethodsinitN_flow (from SISO)Chemical.Utilities.Types.InitializationMethods.noneInitialization method for n_flow
Modelica.Units.SI.MolarFlowRaten_flow_0 (from SISO)0Initial value for n_flow
Chemical.Utilities.Units.MolarFlowAccelerationn_acceleration_0 (from SISO)0Initial value for der(n_flow)
Chemical solution (of products)
SolutionChoicesolutionFrom (from PartialSolutionSensor)Chemical.Utilities.Types.SolutionChoice.FirstSubstrateChemical solution comes from?
Chemical.Interfaces.SolutionStatesolutionParam (from PartialSolutionSensor)Chemical.Interfaces.SolutionState(phase = Chemical.Interfaces.Phase.Incompressible)Chemical solution state as Parameter
Advanced › Conditional inputs
BooleanuseForwardRateInput (from ConditionalKinetics)falseForward rate coefficient from input?
Product definition
FirstProductChoiceproductFromChemical.Utilities.Types.FirstProductChoice.SubstanceChoice of products definition
Chemical.Interfaces.DefinitionproductChemical.Substances.Liquid.UnknownProduct definitions

Connectors

TypeNameDefaultDescription
Chemical.Interfaces.Rearrear (from SISO)
Chemical.Interfaces.Forefore (from SISO)
Chemical.Interfaces.SolutionPortsolution (from PartialSolutionSensor)To connect substance with solution, where is pressented
Modelica.Blocks.Interfaces.RealInputkfInput (from ConditionalKinetics)kf

Components

TypeNameDefaultDescription
Modelica.Units.SI.MolarFlowRaten_flow (from SISO)rear.n_flow
Chemical.Interfaces.SolutionStatesolutionState (from PartialSolutionSensor)
Realkf (from ConditionalKinetics)Current forward rate coefficient

Contents

NameDescription
uDiff

Revisions

2009-2015

by Marek Matejak, Charles University, Prague, Czech Republic