modelInverse_sh_T

Solve h = h_pT(p, T), s = s_pT(p, T) for T, if h or s is given

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

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.SpecificEnthalpyh_minMedium.specificEnthalpy(Medium.setState_pT(p, T_min))Specific enthalpy at T_min
SI.SpecificEnthalpyh_maxMedium.specificEnthalpy(Medium.setState_pT(p, T_max))Specific enthalpy at T_max
SI.SpecificEntropys_minMedium.specificEntropy(Medium.setState_pT(p, T_min))Specific entropy at T_min
SI.SpecificEntropys_maxMedium.specificEntropy(Medium.setState_pT(p, T_max))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