functioncalcProperties_pTX
Return thermodynamic state record from p and T
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.AbsolutePressure | p | Pressure | |
| Modelica.SIunits.Temperature | T | Temperature | |
| Modelica.SIunits.MassFraction[nC] | X | reference_X | Mass fractions |
| Integer | X_unit | UnitBasis.MassFraction | |
| Integer | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
| MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject | eo |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Properties | state |