.BrineProp.Vacuum

Information

BrineGas_3Gas is a medium package that, based on Brine.PartialBrineGas, defines a brine with 3 gases (CO2, N2, CH4), which are the main gases in the geofluid in Gross Schoenebeck, Germany.

Usage

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

Create an instance of the Medium:

  package Medium = BrineGas_3Gas;

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 = {1-4, 7e-4, 6e-005} "CO2, N2, CH4"
  d = props.d;

See BrineProp.Examples.BrineGas for more usage examples.

Returns properties for given composition when _pTX functions are called directly. Returns properties for given gas composition + saturated water when called via state functions (e.g. density)

All calculated values are returned in SI units and are mass based.

Potential speedup:

Calculate water saturated composition externally once (instead of separately in each property function) and pass on.

Contents

NameDescription
 BaseProperties
 densitywater-saturated density from state
 density_pTXDensity of an ideal mixture of ideal gases
 specificHeatCapacityCpwater-saturated heat capacity of gas phase
 specificHeatCapacityCp_pTXcalculation of specific heat capacities of gas mixture
 dynamicViscositywater-saturated thermal conductivity of water
 dynamicViscosity_pTXcalculation of gas dynamic Viscosity
 thermalConductivity
 thermalConductivity_pTXcalculation of gas thermal conductivity
 specificEnthalpy_pTXcalculation of specific enthalpy of gas mixture
 specificEnthalpywater-saturated specific enthalpy of gas phase

Generated at 2024-04-18T18:15:58Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos