packageInverses

Efficient inverses for selected pairs of variables

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

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

Version Info and Revision history

  • First implemented: July, 2000 by Hubertus Tummescheit
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)