WOLFRAM SYSTEM MODELER
setState_pTXReturn thermodynamic state as function of p, T and composition X or Xi |
SystemModel["Modelica.Media.Interfaces.PartialTwoPhaseMedium.setState_pTX"]
p |
Type: AbsolutePressure (Pa) Description: Pressure |
---|---|
T |
Type: Temperature (K) Description: Temperature |
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 |
---|
Modelica.Media.Water.WaterIF97_base Return thermodynamic state of water as function of p, T, and optional region |
|
Modelica.Media.R134a.R134a_ph Set state for pressure and temperature (X not used since single substance) |