.ThermofluidStream.Media.myMedia.R134a.R134a_ph.setState_psX

Information

This function may be used in order to calculate the thermodynamic state record used as input by many functions. It will calculate the missing states:

Example:

  parameter Medium.AbsolutePressure p = 3e5;
  parameter Medium.SpecificEntropy s = 1.7e3;

  Medium.SpecificEnthalpy h;

equation

  h = Medium.specificEnthalpy(setState_psX(p, s, fill(0, Medium.nX)));

Revisions

2020-02-05 Stefan Wischhusen: Added missing property calculation for d and T.


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