.BrineProp.Brine3salts

Information

BrineProp.Brine_5salts is a medium package that provides properties of one-phase solution of five salts (NaCl, KCl, CaCl2, MgCl2, SrCl2).

Usage

It is based on Modelica.Media, the usage is accordingly:

Create an instance of the Medium (optionally deactivating range checks, for all options see .PartialFlags):

  package Medium = Brine_5salts(AssertLevel=1,ignoreLimitSalt_T={false,true,true,false,false});

Create an instance of Medium.Baseproperties:

  Medium.BaseProperties props;

Use the BaseProperties model to define the actual brine composition(Xi or X), to define the thermodynamic state and calculate the corresponding properties.

  props.p = 1e5;
  props.T = 300;
  props.Xi = {0.08, 0.004, 0.12, 0.001, 0.002} "NaCl, KCl, CaCl2, MgCl2, SrCl2"
  d = props.d;

Pressure and temperature as well as pressure and specific enthalpy can be used to define a thermodynamic state.

All calculated values are returned in SI-Units and are mass based.

Details

The model is explicit for p and T, but for h(p,T) the inverse function T(p,h) is defined. T(p,h) is inverts h(p,T) numerically by bisection, stopping at a given tolerance.

Density and enthalpy are calculated like the liquid phase properties in BrineProp.Brine_5salts_TwoPhase_3gas .

Contents

NameDescription
 density_pTX
 specificEnthalpy_pTX
 dynamicViscosity_pTXd
 specificHeatCapacityCpcalculation of liquid specific heat capacity from apparent molar heat capacities
 surfaceTension_T
 thermalConductivityThermal conductivity of water TODO
 dynamicViscosity_pTX

Generated at 2024-03-28T19:15:55Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos