WOLFRAM SYSTEMMODELER

Inverse_sh_TX

Solve h = h_TX(TX) for T, if h is given for ideal gas NASA

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX"]
Out[1]:=

Parameters (8)

T_min

Value: 300

Type: Temperature (K)

Description: Vary temperature linearly from T_min (time=0) up to T_max (time=1)

T_max

Value: 500

Type: Temperature (K)

Description: Vary temperature linearly from T_min (time=0) up to T_max (time=1)

p

Value: 1.0e5

Type: Pressure (Pa)

Description: Fixed pressure in model

h_min

Value: Medium.h_TX(T_min, X)

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy at T_min

h_max

Value: Medium.h_TX(T_max, X)

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy at T_max

s_min

Value: Medium.specificEntropy(Medium.setState_pTX(p, T_min, Medium.reference_X))

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

Description: Specific entropy at T_min

s_max

Value: Medium.specificEntropy(Medium.setState_pTX(p, T_max, Medium.reference_X))

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

Description: Specific entropy at T_max

X

Value: Medium.reference_X

Type: MassFraction[4]

Description: Mass fraction vector