functionsetState_phX
Thermodynamic state as function of p, h and composition X
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function to set the state for given pressure, enthalpy and species concentration.Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEnthalpy | h | Specific enthalpy | |
| MassFraction[:] | X | Mass fractions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | state |