Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses

Efficient inverses for selected pairs of variables

Information

Package description

Package contents

Version Info and Revision history

Author: Hubertus Tummescheit,
Modelon AB
Ideon Science Park
SE-22370 Lund, Sweden
email: hubertus@modelon.se

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.fixdT fixdT Region limits for inverse iteration in region 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofp13 dofp13 Density at the boundary between regions 1 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofp23 dofp23 Density at the boundary between regions 2 and 3
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofpt3 dofpt3 Inverse iteration in region 3: (d) = f(p,T)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofph3 dtofph3 Inverse iteration in region 3: (d,T) = f(p,h)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofps3 dtofps3 Inverse iteration in region 3: (d,T) = f(p,s)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofpsdt3 dtofpsdt3 Inverse iteration in region 3: (d,T) = f(p,s)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.pofdt125 pofdt125 Inverse iteration in region 1,2 and 5: p = g(d,T)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofph5 tofph5 Inverse iteration in region 5: (p,T) = f(p,h)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofps5 tofps5 Inverse iteration in region 5: (p,T) = f(p,s)
Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofpst5 tofpst5 Inverse iteration in region 5: (p,T) = f(p,s)

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.fixdT Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.fixdT

Region limits for inverse iteration in region 3

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
dinDensity [kg/m3]
TinTemperature [K]

Outputs

NameDescription
doutDensity [kg/m3]
ToutTemperature [K]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofp13 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofp13

Density at the boundary between regions 1 and 3

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofp23 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofp23

Density at the boundary between regions 2 and 3

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]

Outputs

NameDescription
dDensity [kg/m3]

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofpt3 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dofpt3

Inverse iteration in region 3: (d) = f(p,T)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
TTemperature (K) [K]
delpIteration converged if (p-pre(p) < delp) [Pa]

Outputs

NameDescription
dDensity [kg/m3]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofph3 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofph3

Inverse iteration in region 3: (d,T) = f(p,h)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
delpIteration accuracy [Pa]
delhIteration accuracy [J/kg]

Outputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofps3 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofps3

Inverse iteration in region 3: (d,T) = f(p,s)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
delpIteration accuracy [Pa]
delsIteration accuracy [J/(kg.K)]

Outputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofpsdt3 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.dtofpsdt3

Inverse iteration in region 3: (d,T) = f(p,s)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
dguessGuess density, e.g., from adjacent volume [kg/m3]
TguessGuess temperature, e.g., from adjacent volume [K]
delpIteration accuracy [Pa]
delsIteration accuracy [J/(kg.K)]

Outputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.pofdt125 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.pofdt125

Inverse iteration in region 1,2 and 5: p = g(d,T)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
dDensity [kg/m3]
TTemperature (K) [K]
relddRelative iteration accuracy of density [Pa]
regionRegion in IAPWS/IF97 in which inverse should be calculated

Outputs

NameDescription
pPressure [Pa]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofph5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofph5

Inverse iteration in region 5: (p,T) = f(p,h)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
hSpecific enthalpy [J/kg]
reldhIteration accuracy [J/kg]

Outputs

NameDescription
TTemperature (K) [K]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofps5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofps5

Inverse iteration in region 5: (p,T) = f(p,s)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
reldsIteration accuracy [J/kg]

Outputs

NameDescription
TTemperature (K) [K]
errorError flag: iteration failed if different from 0

Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofpst5 Modelica.Media.Water.IF97_Utilities.BaseIF97.Inverses.tofpst5

Inverse iteration in region 5: (p,T) = f(p,s)

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
pPressure [Pa]
sSpecific entropy [J/(kg.K)]
TguessGuess temperature, e.g., from adjacent volume [K]
reldsIteration accuracy [J/(kg.K)]

Outputs

NameDescription
TTemperature (K) [K]
errorError flag: iteration failed if different from 0

Automatically generated Mon Sep 23 17:21:08 2013.