setState_psX

Return thermodynamic state as function of p, s and composition X or Xi

Inputs (3)

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

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record

Extended by (1)

setState_psX

Modelica.Media.Incompressible.TableBased

Returns state record, given pressure and specific entropy