setState_ps

Returns state record as function of p and s

Syntax

state = setState_ps(p, s)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

s

Type: SpecificEntropy (J/(kg·K))

Description: Specific entropy

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state