.ThermofluidStream.Media.myMedia.Water.IF97_Utilities.BaseIF97.Basic

Information

Package description

Package BaseIF97/Basic computes the fundamental functions for the 5 regions of the steam tables as described in the standards document IF97.pdf. The code of these functions has been generated using Mathematica and the add-on packages "Format" and "Optimize" to generate highly efficient, expression-optimized C-code from a symbolic representation of the thermodynamic functions. The C-code has than been transformed into Modelica code. An important feature of this optimization was to simultaneously optimize the functions and the directional derivatives because they share many common subexpressions.

Package contents

Version Info and Revision history

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

Equation from:

 [1] The international Association for the Properties of Water and Steam
 Vejle, Denmark
 August 2003
 Supplementary Release on Backward Equations for the Functions T(p,h), v(p,h) and T(p,s),
 v(p,s) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of
 Water and Steam

Contents

NameDescription
 g1Gibbs function for region 1: g(p,T)
 g2Gibbs function for region 2: g(p,T)
 g2metastableGibbs function for metastable part of region 2: g(p,T)
 f3Helmholtz function for region 3: f(d,T)
 g5Base function for region 5: g(p,T)
 gibbsGibbs function for region 1, 2 or 5: g(p,T,region)
 g1pitauDerivative of g w.r.t. pi and tau
 g2pitauDerivative of g w.r.t. pi and tau
 g5pitauDerivative of g w.r.t. pi and tau
 f3deltatau1st derivatives of f w.r.t. delta and tau
 tph1Inverse function for region 1: T(p,h)
 tps1Inverse function for region 1: T(p,s)
 tph2Reverse function for region 2: T(p,h)
 tps2aReverse function for region 2a: T(p,s)
 tps2bReverse function for region 2b: T(p,s)
 tps2cReverse function for region 2c: T(p,s)
 tps2Reverse function for region 2: T(p,s)
 tsatRegion 4 saturation temperature as a function of pressure
 dtsatofpDerivative of saturation temperature w.r.t. pressure
 tsat_derDerivative function for tsat
 psatRegion 4 saturation pressure as a function of temperature
 dptofTDerivative of pressure w.r.t. temperature along the saturation pressure curve
 psat_derDerivative function for psat
 p1_hsPressure as a function of enthalpy and entropy in region 1
 h2ab_sBoundary between regions 2a and 2b
 p2a_hsPressure as a function of enthalpy and entropy in subregion 2a
 p2b_hsPressure as a function of enthalpy and entropy in subregion 2a
 p2c_hsPressure as a function of enthalpy and entropy in subregion 2c
 h3ab_pRegion 3 a b boundary for pressure/enthalpy
 T3a_phRegion 3 a: inverse function T(p,h)
 T3b_phRegion 3 b: inverse function T(p,h)
 v3a_phRegion 3 a: inverse function v(p,h)
 v3b_phRegion 3 b: inverse function v(p,h)
 T3a_psRegion 3 a: inverse function T(p,s)
 T3b_psRegion 3 b: inverse function T(p,s)
 v3a_psRegion 3 a: inverse function v(p,s)
 v3b_psRegion 3 b: inverse function v(p,s)

Generated at 2024-11-24T19:25:44Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos