.Modelica.Media.R134a.R134a_ph.setState_phX

Information

This function should be used by default in order to calculate the thermodynamic state record used as input by many functions.

Example:

parameter Medium.AbsolutePressure p = 3e5;
parameter Medium.SpecificEnthalpy h = 4.2e5;

Medium.Density rho;

equation

rho = Medium.density(setState_phX(p, h, fill(0, Medium.nX)));

Revisions

2020-01-20 Stefan Wischhusen: Converted into single line assignment for state record.


Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos