Package ByRegion provides fast forward calls for dynamic property calculation records for all one phase regions of IAPWS/IF97
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
waterR1_pT | standard properties for region 1, (p,T) as inputs |
waterR2_pT | standard properties for region 2, (p,T) as inputs |
waterR3_dT | standard properties for region 3, (d,T) as inputs |
waterR5_pT | standard properties for region 5, (p,T) as inputs |
Type | Name | Default | Description |
---|---|---|---|
Pressure | p | pressure [Pa] | |
Temperature | T | temperature (K) [K] |
Type | Name | Description |
---|---|---|
ThermoProperties_pT | pro | thermodynamic property collection |
function waterR1_pT "standard properties for region 1, (p,T) as inputs" extends Modelica.Icons.Function; input SI.Pressure p "pressure"; input SI.Temperature T "temperature (K)"; output Modelica.Media.Common.ThermoFluidSpecial.ThermoProperties_pT pro "thermodynamic property collection"; protected Modelica.Media.Common.GibbsDerivs g "dimensionless Gibbs funcion and dervatives w.r.t. pi and tau"; algorithm g := Basic.g1(p, T); pro := Modelica.Media.Common.ThermoFluidSpecial.gibbsToProps_pT(g); end waterR1_pT;
Type | Name | Default | Description |
---|---|---|---|
Pressure | p | pressure [Pa] | |
Temperature | T | temperature (K) [K] |
Type | Name | Description |
---|---|---|
ThermoProperties_pT | pro | thermodynamic property collection |
function waterR2_pT "standard properties for region 2, (p,T) as inputs" extends Modelica.Icons.Function; input SI.Pressure p "pressure"; input SI.Temperature T "temperature (K)"; output Modelica.Media.Common.ThermoFluidSpecial.ThermoProperties_pT pro "thermodynamic property collection"; protected Modelica.Media.Common.GibbsDerivs g "dimensionless Gibbs funcion and dervatives w.r.t. pi and tau"; algorithm g := Basic.g2(p, T); pro := Modelica.Media.Common.ThermoFluidSpecial.gibbsToProps_pT(g); end waterR2_pT;
Type | Name | Default | Description |
---|---|---|---|
Density | d | density [kg/m3] | |
Temperature | T | temperature (K) [K] |
Type | Name | Description |
---|---|---|
ThermoProperties_dT | pro | thermodynamic property collection |
function waterR3_dT "standard properties for region 3, (d,T) as inputs" extends Modelica.Icons.Function; input SI.Density d "density"; input SI.Temperature T "temperature (K)"; output Common.ThermoFluidSpecial.ThermoProperties_dT pro "thermodynamic property collection"; protected Common.HelmholtzDerivs f "dimensionless Helmholtz function and dervatives w.r.t. delta and tau"; algorithm f := Basic.f3(d, T); pro := Modelica.Media.Common.ThermoFluidSpecial.helmholtzToProps_dT(f); assert(pro.p <= 100.0e6, "IF97 medium function waterR3_dT: the input pressure (= " + String(pro.p) + " Pa) is higher than 100 Mpa"); end waterR3_dT;
Type | Name | Default | Description |
---|---|---|---|
Pressure | p | pressure [Pa] | |
Temperature | T | temperature (K) [K] |
Type | Name | Description |
---|---|---|
ThermoProperties_pT | pro | thermodynamic property collection |
function waterR5_pT "standard properties for region 5, (p,T) as inputs" extends Modelica.Icons.Function; input SI.Pressure p "pressure"; input SI.Temperature T "temperature (K)"; output Modelica.Media.Common.ThermoFluidSpecial.ThermoProperties_pT pro "thermodynamic property collection"; protected Modelica.Media.Common.GibbsDerivs g "dimensionless Gibbs funcion and dervatives w.r.t. pi and tau"; algorithm g := Basic.g5(p, T); pro := Modelica.Media.Common.ThermoFluidSpecial.gibbsToProps_pT(g); end waterR5_pT;