packageIsentropic

Functions for calculating the isentropic enthalpy from pressure p and specific entropy s

Extends from Modelica.Icons.FunctionsPackage (Icon for packages containing functions).

Information

Package description

Package contents

  • Function hofpT1 computes h(p,T) in region 1.
  • Function handsofpT1 computes (s,h)=f(p,T) in region 1, needed for two-phase properties.
  • Function hofps1 computes h(p,s) in region 1.
  • Function hofpT2 computes h(p,T) in region 2.
  • Function handsofpT2 computes (s,h)=f(p,T) in region 2, needed for two-phase properties.
  • Function hofps2 computes h(p,s) in region 2.
  • Function hofdT3 computes h(d,T) in region 3.
  • Function hofpsdt3 computes h(p,s,dguess,Tguess) in region 3, where dguess and Tguess are initial guess values for the density and temperature consistent with p and s.
  • Function hofps4 computes h(p,s) in region 4.
  • Function hofpT5 computes h(p,T) in region 5.
  • Function water_hisentropic computes h(p,s,phase) in all regions. The phase input is needed due to discontinuous derivatives at the phase boundary.
  • Function water_hisentropic_dyn computes h(p,s,dguess,Tguess,phase) in all regions. The phase input is needed due to discontinuous derivatives at the phase boundary. Tguess and dguess are initial guess values for the density and temperature consistent with p and s. This function should be preferred in dynamic simulations where good guesses are often available.

Version Info and Revision history

  • First implemented: July, 2000 by Hubertus Tummescheit
Author: Hubertus Tummescheit, previously at
Modelon AB
Ideon Science Park
SE-22370 Lund, Sweden
  • Initial version: July 2000
  • Documentation added: December 2002

Contents

NameDescription
hofpT1Intermediate function for isentropic specific enthalpy in region 1
handsofpT1Special function for specific enthalpy and specific entropy in region 1
hofps1Function for isentropic specific enthalpy in region 1
hofpT2Intermediate function for isentropic specific enthalpy in region 2
handsofpT2Function for isentropic specific enthalpy and specific entropy in region 2
hofps2Function for isentropic specific enthalpy in region 2
hofdT3Function for isentropic specific enthalpy in region 3
hofps3Isentropic specific enthalpy in region 3 h(p,s)
hofpsdt3Isentropic specific enthalpy in region 3 h(p,s) with given good guess in d and T
hofps4Isentropic specific enthalpy in region 4 h(p,s)
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