functiond_pTX
Compute density as function of pressure, temperature and composition
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.AbsolutePressure | p | Pressure | |
| Modelica.SIunits.Temperature | T | Temperature | |
| Modelica.SIunits.MassFraction[:] | X | Mass fractions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Density | d | Density |