Package Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic
Functions for calculating the isentropic enthalpy from pressure p and specific entropy s

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.​FunctionsPackage (Icon for packages containing functions).

Package Contents

NameDescription
handsofpT1Special function for specific enthalpy and specific entropy in region 1
handsofpT2Function for isentropic specific enthalpy and specific entropy in region 2
hofdT3Function for isentropic specific enthalpy in region 3
hofps1Function for isentropic specific enthalpy in region 1
hofps2Function for isentropic specific enthalpy in region 2
hofps3Isentropic specific enthalpy in region 3 h(p,s)
hofps4Isentropic specific enthalpy in region 4 h(p,s)
hofpsdt3Isentropic specific enthalpy in region 3 h(p,s) with given good guess in d and T
hofpT1Intermediate function for isentropic specific enthalpy in region 1
hofpT2Intermediate function for isentropic specific enthalpy in region 2
hofpT5Specific enthalpy in region 5 h(p,T)
water_hisentropicIsentropic specific enthalpy from p,s (preferably use water_hisentropic_dyn in dynamic simulation!)
water_hisentropic_dynIsentropic specific enthalpy from p,s and good guesses of d and T

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofpT1
Intermediate function for isentropic specific enthalpy in region 1

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​handsofpT1
Special function for specific enthalpy and specific entropy in region 1

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofps1
Function for isentropic specific enthalpy in region 1

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofpT2
Intermediate function for isentropic specific enthalpy in region 2

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​handsofpT2
Function for isentropic specific enthalpy and specific entropy in region 2

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy
SpecificEntropysSpecific entropy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofps2
Function for isentropic specific enthalpy in region 2

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofdT3
Function for isentropic specific enthalpy in region 3

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
DensitydDensity
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofps3
Isentropic specific enthalpy in region 3 h(p,s)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofpsdt3
Isentropic specific enthalpy in region 3 h(p,s) with given good guess in d and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
DensitydguessGood guess density, e.g., from adjacent volume
TemperatureTguessGood guess temperature, e.g., from adjacent volume
PressuredelpRelative error in p
SpecificEntropydelsRelative error in s

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofps4
Isentropic specific enthalpy in region 4 h(p,s)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​hofpT5
Specific enthalpy in region 5 h(p,T)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
TemperatureTTemperature (K)

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​water_hisentropic
Isentropic specific enthalpy from p,s (preferably use water_hisentropic_dyn in dynamic simulation!)

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
IntegerphasePhase: 2 for two-phase, 1 for one phase, 0 if unknown

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy

Function Modelica.​Media.​Water.​IF97_Utilities.​BaseIF97.​Isentropic.​water_hisentropic_dyn
Isentropic specific enthalpy from p,s and good guesses of d and T

Information

This icon indicates Modelica functions.

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

Inputs

TypeNameDescription
PressurepPressure
SpecificEntropysSpecific entropy
DensitydguessGood guess density, e.g., from adjacent volume
TemperatureTguessGood guess temperature, e.g., from adjacent volume
Integerphase1 for one phase, 2 for two phase

Outputs

TypeNameDescription
SpecificEnthalpyhSpecific enthalpy