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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Temperature | T_min | 300 | Vary temperature linearly from T_min (time=0) up to T_max (time=1) |
| SI.Temperature | T_max | 500 | Vary temperature linearly from T_min (time=0) up to T_max (time=1) |
| SI.Pressure | p | 1.0e5 | Fixed pressure in model |
| SI.MassFraction | X | Modelica.Media.Air.ReferenceMoistAir.reference_X | Mass fraction vector |
| SI.SpecificEnthalpy | h_min | Modelica.Media.Air.ReferenceMoistAir.specificEnthalpy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_min, X)) | Specific enthalpy at T_min |
| SI.SpecificEnthalpy | h_max | Modelica.Media.Air.ReferenceMoistAir.specificEnthalpy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_max, X)) | Specific enthalpy at T_max |
| SI.SpecificEntropy | s_min | Modelica.Media.Air.ReferenceMoistAir.specificEntropy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_min, X)) | Specific entropy at T_min |
| SI.SpecificEntropy | s_max | Modelica.Media.Air.ReferenceMoistAir.specificEntropy(Modelica.Media.Air.ReferenceMoistAir.setState_pTX(p, T_max, X)) | Specific entropy at T_max |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | h1 | Pre-defined specific enthalpy | |
| SI.SpecificEnthalpy | h2 | Specific enthalpy computed from T (= h1 required) | |
| SI.SpecificEntropy | s1 | Pre-defined specific entropy | |
| SI.SpecificEntropy | s2 | Specific entropy computed from T (= h1 required) | |
| SI.Temperature | Th | Temperature computed from h1 | |
| SI.Temperature | Ts | Temperature computed from s1 |