functionT_psX
Return temperature as a function of pressure p, specific entropy s and composition X
Extends from Modelica.Icons.Function.
Information
Temperature is computed from pressure, specific entropy and composition via numerical inversion of function s_pTX.Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEntropy | s | Specific entropy | |
| MassFraction | X | Mass fractions of composition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature |
Contents
| Name | Description |
|---|---|
| f_nonlinearprotected | Solve s_pTX(p,T,X) for T with given s |
Revisions
2012-01-12 Stefan Wischhusen: Initial Release.
2026-04-08 Corentin Lepais: Correct algorithm to add X[Air] to the vector X if size(X,1) is different from nX.