
modelNozzle
Model of a nozzle operating in subsonic or supersonic conditions.
Parameters
| Type | Name | Default | Description |
| Modelica.SIunits.Area | A_leak | 5e-7 | Throat area |
| Boolean | Use_gamma | false | Use a fictitious gamma (perfect gas model) to compute the critical pressure |
| Initialization |
| Medium.AbsolutePressure | P_su_start | 17E5 | Start value for the inlet pressure |
| Medium.Temperature | T_su_start | 273.15 + 150 | Start value for the inlet pressure |
| Medium.AbsolutePressure | P_ex_start | 2E5 | Start value for the inlet pressure |
| Real | gamma_start | 1.05 | Start value of the fictitious expansion factor, used to compute the start value of the critical pressure |
| Medium.AbsolutePressure | P_thr_crit_start | P_su_start*(2/(gamma_start + 1))^(gamma_start/(gamma_start - 1)) | Critical throat pressure start value |
| Modelica.SIunits.Velocity | C_thr_start | Medium.velocityOfSound(Medium.setState_pT(P_thr_crit_start, T_su_start)) | Throat velocity start value |
Components
| Type | Name | Default | Description |
| Medium.ThermodynamicState | outlet | | |
| Medium.ThermodynamicState | inlet | | |
| Medium.ThermodynamicState | throat | | |
| Medium.ThermodynamicState | throat_choked | | |
| Medium.AbsolutePressure | p_thr | | |
| Medium.AbsolutePressure | p_su | | |
| Medium.AbsolutePressure | p_ex | | |
| Medium.AbsolutePressure | p_choked | | |
| Medium.Density | rho_choked | | |
| Modelica.SIunits.VolumeFlowRate | V_dot_leak | | |
| Modelica.SIunits.Velocity | C_choked | | |
| Modelica.SIunits.Velocity | C_thr | | |
| Real | gamma | | |