WOLFRAM SYSTEM MODELER
setState_psXSet state for pressure and specific entropy (X not used since single substance) |
SystemModel["Modelica.Media.R134a.R134a_ph.setState_psX"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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)));
p |
Type: AbsolutePressure (Pa) Description: Pressure |
---|---|
s |
Type: SpecificEntropy (J/(kg⋅K)) Description: Specific entropy |
X |
Default Value: reference_X Type: MassFraction[:] (kg/kg) Description: Mass fractions |
phase |
Default Value: 0 Type: FixedPhase Description: 2 for two-phase, 1 for one-phase, 0 if not known |
state |
Type: ThermodynamicState Description: Thermodynamic state record |
---|
2020-02-05 Stefan Wischhusen: Added missing property calculation for d and T.