modelFan
Fan using ideal gas assumptions
Extends from Internal.PartialTurboComponent (Partial model of turbo component).
Information
This model works under ideal gas assumption and throws an assert if it is violated.
Currently the only fan model is a fan with constant polytropic coefficient.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Boolean | omega_from_input (from PartialTurboComponent) | false | = true, if omega input connector is enabled |
| Boolean | enableAccessHeatPort (from PartialTurboComponent) | false | = true, if heatPort is enabled |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Advanced | |||
| Boolean | considerInertance (from SISOFlow) | dropOfCommons.considerInertance | =true, if transient momentum (inertance) term is considered; disable only for advanced use |
| Utilities.Units.Inertance | L (from SISOFlow) | dropOfCommons.L | Inertance |
| StateSelect | m_flowStateSelect (from SISOFlow) | StateSelect.default | State selection for mass flow rate |
| Boolean | clip_p_out (from SISOFlow) | = false, if dr_corr=0 (correction of inertial pressure difference) | |
| Medium.AbsolutePressure | p_min (from SISOFlow) | dropOfCommons.p_min | Minimum steady-state output pressure |
| StateSelect | omegaStateSelect (from PartialTurboComponent) | if omega_from_input then StateSelect.default else StateSelect.prefer | State select for angular velocity |
| Real | max_rel_R | 0.05 | Maximum relative allowed divergence from ideal gas |
| Initialization › Mass flow rate | |||
| InitializationMethods | initM_flow (from SISOFlow) | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for mass flow rate |
| SI.MassFlowRate | m_flow_0 (from SISOFlow) | 0 | Initial value for mass flow rate |
| Utilities.Units.MassFlowAcceleration | m_acceleration_0 (from SISOFlow) | 0 | Initial value for derivative of mass flow rate |
| Parameters | |||
| SI.MomentOfInertia | J_p (from PartialTurboComponent) | 5e-4 | Moment of inertia |
| Output | |||
| Boolean | enableOutput (from PartialTurboComponent) | false | = true, if selectable quantity output connector is enabled |
| Quantity | outputQuantity (from PartialTurboComponent) | Quantity.m_flow_kgps | Output quantity |
| Advanced › Regularization | |||
| SI.AngularVelocity | omega_reg (from PartialTurboComponent) | dropOfCommons.omega_reg | Normalization angular velocity |
| SI.MassFlowRate | m_flow_reg (from PartialTurboComponent) | dropOfCommons.m_flow_reg | Normalization mass flow rate |
| Medium.Density | rho_min (from PartialTurboComponent) | dropOfCommons.rho_min | Minimum density (relevant at p=0) |
| Initialization › Angular velocity | |||
| InitializationMethods | initOmega (from PartialTurboComponent) | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for angular velocity |
| SI.AngularVelocity | omega_0 (from PartialTurboComponent) | 0 | Initial value for angular velocity |
| SI.AngularAcceleration | omega_dot_0 (from PartialTurboComponent) | 0 | Initial value for der(omega) |
| Initialization › Angle | |||
| Boolean | initPhi (from PartialTurboComponent) | false | = true, if angle is initialized |
| SI.Angle | phi_0 (from PartialTurboComponent) | 0 | Initial value for angle |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Inlet | inlet (from SISOFlow) | ||
| Outlet | outlet (from SISOFlow) | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange (from PartialTurboComponent) | Flange | |
| Modelica.Blocks.Interfaces.RealInput | omega_input (from PartialTurboComponent) | omega | Angular velocity input connector [rad/s] |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatport (from PartialTurboComponent) | HeatPort | |
| Modelica.Blocks.Interfaces.RealOutput | output_val (from PartialTurboComponent) | getQuantity(inlet.state, m_flow, outputQuantity, rho_min) | Quantity output connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from SISOFlow) | inlet.m_flow | Mass flow rate |
| SI.Pressure | dr_corr (from SISOFlow) | Correction of inertial pressure difference | |
| SI.Pressure | dp (from SISOFlow) | Pressure difference | |
| Medium.AbsolutePressure | p_in (from SISOFlow) | Medium.pressure(inlet.state) | Inlet pressure |
| Medium.SpecificEnthalpy | h_in (from SISOFlow) | Medium.specificEnthalpy(inlet.state) | Inlet specific enthalpy |
| Medium.MassFraction[Medium.nXi] | Xi_in (from SISOFlow) | Medium.massFraction(inlet.state) | Inlet mass fractions |
| Medium.AbsolutePressure | p_out (from SISOFlow) | Outlet pressure | |
| Medium.SpecificEnthalpy | h_out (from SISOFlow) | Outlet specific enthalpy | |
| Medium.MassFraction[Medium.nXi] | Xi_out (from SISOFlow) | Outlet mass fractions | |
| SI.Power | W_t (from PartialTurboComponent) | Power (technichal work flow rate) | |
| SI.Power | Q_t (from PartialTurboComponent) | Heat flow rate | |
| SI.Torque | tau_st (from PartialTurboComponent) | Steady-state torque |
Contents
| Name | Description |
|---|---|