.ThermofluidStream.Media.myMedia.R134a.R134a_ph.setState_dTX

Information

Although the medium package is explicit for pressure and specific enthalpy, 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.Density d = 4;
  parameter Medium.Temperature T = 298;

  Medium.SpecificEntropy s;

equation

  s = Medium.specificEntropy(setState_dTX(d, T, fill(0, Medium.nX)));

Revisions

2019-12-20 Francesco Casella and Stefan Wischhusen: Two-phase calculation corrected.

2012-08-01 Stefan Wischhusen: Corrected passing-error of inputs.


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