WOLFRAM SYSTEM MODELER

setState_ps

Return thermodynamic state from p and s

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Interfaces.PartialPureSubstance.setState_ps"]
Out[1]:=

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 record