.ThermofluidStream.Media.XRGMedia.R245fa_ph.setState_psX

Set state for pressure and specific entropy (X not used since single substance)

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 = 0.5e5;
  parameter Medium.SpecficEntropy s = 1.8e3;

  Medium.SpecficEnthalpy h;

equation

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

Generated at 2025-03-08T19:24:39Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos