packageInverses

efficient inverses for selected pairs of variables

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

Information

Package description

Package contents

  • Function fixdT constrains density and temperature to allowed region
  • Function dofp13 computes d as a function of p at boundary between regions 1 and 3
  • Function dofp23 computes d as a function of p at boundary between regions 2 and 3
  • Function dofpt3 iteration to compute d as a function of p and T in region 3
  • Function dtofph3 iteration to compute d and T as a function of p and h in region 3
  • Function dtofps3 iteration to compute d and T as a function of p and s in region 3
  • Function dtofpsdt3 iteration to compute d and T as a function of p and s in region 3, with initial guesses
  • Function pofdt125 iteration to compute p as a function of p and T in regions 1, 2 and 5
  • Function tofph5 iteration to compute T as a function of p and h in region 5
  • Function tofps5 iteration to compute T as a function of p and s in region 5
  • Function tofpst5 iteration to compute T as a function of p and s in region 5, with initial guess in T
  • Function

Version Info and Revision history

Author: Hubertus Tummescheit,
Modelon AB
Ideon Science Park
SE-22370 Lund, Sweden
email: hubertus@modelon.se
  • Initial version: July 2000
  • Documentation added: December 2002

Contents

NameDescription
fixdTregion limits for inverse iteration in region 3
dofp13density at the boundary between regions 1 and 3
dofp23density at the boundary between regions 2 and 3
dofpt3inverse iteration in region 3: (d) = f(p,T)
dtofph3inverse iteration in region 3: (d,T) = f(p,h)
dtofps3inverse iteration in region 3: (d,T) = f(p,s)
dtofpsdt3inverse iteration in region 3: (d,T) = f(p,s)
pofdt125inverse iteration in region 1,2 and 5: p = g(d,T)
tofph5inverse iteration in region 5: (p,T) = f(p,h)
tofps5inverse iteration in region 5: (p,T) = f(p,s)
tofpst5inverse iteration in region 5: (p,T) = f(p,s)