setState_pTXReturn thermodynamic state of water as function of p, T, and optional region |
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 |
region |
Default Value: Region Type: Integer Description: If 0, region is unknown, otherwise known and this input |
state |
Type: ThermodynamicState Description: Thermodynamic state record |
---|