modelPartialFixed
Parameter definition
Information
Base class.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.AbsolutePressure | p_in | 100000 | Inlet pressure |
| Medium.Temperature | T_in | 293.15 | Inlet temperature |
| Real | pRatio | 2 | Fixed pressure ratio (pRatio = p_out/p_in) |
| SI.Efficiency | eta_is | 0.9 | Fixed isentropic efficiency |
| SI.MassFlowRate | m_flow | 1 | Fixed mass flow rate |
| Medium.ThermodynamicState | state_in | Medium.setState_pTX(p_in, T_in, Medium.X_default) | Inlet state |
| Medium.Density | rho_in | Medium.density(state_in) | Inlet density |
| SI.SpecificVolume | v_in | 1/rho_in | Inlet specific volume |
| Medium.IsentropicExponent | gamma | Medium.isentropicExponent(state_in) | Isentropic exponent |
| Real | R | Modelica.Constants.R/Medium.molarMass(state_in) | Specific gas constant |
| Medium.SpecificHeatCapacity | cp | Medium.specificHeatCapacityCp(state_in) | Specific heat capacity at constant pressure |
| Medium.AbsolutePressure | p_out | p_in*pRatio | Fixed outlet pressure |
| SI.PressureDifference | dp | p_out - p_in | Fixed pressure difference (dp = p_out - p_in) |
| Medium.Temperature | T_out_is | T_in*(p_out/p_in)^((gamma - 1)/gamma) | |
| Medium.Temperature | T_out | if pRatio >= 1 then T_in + 1/eta_is*(T_out_is - T_in) else T_in + eta_is*(T_out_is - T_in) | Fixed outlet temperature |
| Medium.Density | rho_out | p_out/(R*T_out) | Fixed outlet density |
| Real | rhoRatio | rho_out/rho_in | Fixed compression ratio |
| SI.SpecificVolume | v_out | 1/rho_out | Fixed outlet specific volume |
| Real | gamma_aux | gamma/(gamma - 1) | |
| Real | n_aux | if abs(pRatio - 1) > Modelica.Constants.eps then log(pRatio)/log(T_out/T_in) else gamma_aux | |
| Real | n | n_aux/(n_aux - 1) | Fixed polytropic exponent |
| Real | eta_pol | if pRatio >= 1 then n_aux/gamma_aux else gamma_aux/n_aux | Fixed polytropic efficiency |
| SI.SpecificEnthalpy | w_t | cp*(T_out - T_in) | Fixed specific technical work |
| SI.Power | P | m_flow*w_t | Fixed power |
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.