modelInverse_sh_TX

Solve h = h_pTX(p, T, X), s = s_pTX(p, T, X) for T, if h or s is given

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Parameters

TypeNameDefaultDescription
SI.TemperatureT_min300Vary temperature linearly from T_min (time=0) up to T_max (time=1)
SI.TemperatureT_max500Vary temperature linearly from T_min (time=0) up to T_max (time=1)
SI.Pressurep1.0e5Fixed pressure in model
SI.MassFractionXModelica.Media.Air.ReferenceMoistAir.reference_XMass fraction vector
SI.SpecificEnthalpyh_minModelica.Media.Air.ReferenceMoistAir.specificEnthalpy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_min, X))Specific enthalpy at T_min
SI.SpecificEnthalpyh_maxModelica.Media.Air.ReferenceMoistAir.specificEnthalpy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_max, X))Specific enthalpy at T_max
SI.SpecificEntropys_minModelica.Media.Air.ReferenceMoistAir.specificEntropy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_min, X))Specific entropy at T_min
SI.SpecificEntropys_maxModelica.Media.Air.ReferenceMoistAir.specificEntropy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_max, X))Specific entropy at T_max

Components

TypeNameDefaultDescription
SI.SpecificEnthalpyh1Pre-defined specific enthalpy
SI.SpecificEnthalpyh2Specific enthalpy computed from T (= h1 required)
SI.SpecificEntropys1Pre-defined specific entropy
SI.SpecificEntropys2Specific entropy computed from T (= h1 required)
SI.TemperatureThTemperature computed from h1
SI.TemperatureTsTemperature computed from s1