modelFanMech

Diagram of FanMech

Extends from BaseClasses.FanBase (Base model for fans).

Information

This model describes a fan (or a group of Np fans in parallel) with a mechanical rotational connector for the shaft, to be used when the pump drive has to be modelled explicitly. In the case of Np fans in parallel, the mechanical connector is relative to a single fan.

The model extends FanBase

Parameters

TypeNameDefaultDescription
IntegerNp0 (from FanBase)1Nominal number of fans in parallel
SI.VolumeV (from FanBase)0Fan Internal Volume
BooleanCheckValve (from FanBase)falseReverse flow stopped
BooleanallowFlowReversal (from FanBase)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.VolumeFlowRateq_single0 (from FanBase)w0/(Np0*rho0)Nominal volume flow rate (single fan)
SI.SpecificEnergyH0 (from FanBase)dp0/(rho0)Nominal specific energy
RealdH_dq_start (from FanBase)if useFlowModel then flowModel.dH_dq(q_single_start, bladePos_start) else dH_dq(q_single_start, bladePos_start)Derivative of specific energy w.r.t. volume flow at start conditions
RealdH_dn_start (from FanBase)2*H_start/n_start - dH_dq_start*q_single_start/n_startDerivative of flow characteristic w.r.t. fan speed at start conditions
SI.PowerW_eps (from FanBase)1e-8Small coefficient to avoid numerical singularities
NonSI.AngularVelocity_rpmn_eps (from FanBase)1e-6
Characteristic curves
BooleanuseFlowModel (from FanBase)falseUse function from replaceable model for flow characteristic
BooleanusePowerCharacteristic (from FanBase)falseUse powerCharacteristic (vs. efficiencyCharacteristic)
Nominal values
SI.PerUnitbladePos0 (from FanBase)1Nominal blade position
Medium.Densityrho0 (from FanBase)1.229Nominal Gas Density
NonSI.AngularVelocity_rpmn0 (from FanBase)1500Nominal rotational speed
Medium.MassFlowRatew0 (from FanBase)Nominal mass flow rate
SI.Pressuredp0 (from FanBase)Nominal pressure increase
Initialisation
SI.VolumeFlowRateq_single_start (from FanBase)q_single0Volume Flow Rate Start Value (single pump)
Medium.SpecificEnthalpyhstart (from FanBase)1e5Fluid Specific Enthalpy Start Value
Medium.Densityrho_start (from FanBase)rho0Inlet Density start value
NonSI.AngularVelocity_rpmn_start (from FanBase)n0Rotational speed start value
SI.SpecificEnergyH_start (from FanBase)H0Specific energy start value
SI.PerUnitbladePos_start (from FanBase)bladePos0Blade position start value
Choices.Init.OptionsinitOpt (from FanBase)system.initOptInitialisation option

Connectors

TypeNameDefaultDescription
FlangeAinfl (from FanBase)
FlangeBoutfl (from FanBase)
Modelica.Blocks.Interfaces.IntegerInputin_Np (from FanBase)Number of parallel pumps
Modelica.Blocks.Interfaces.RealInputin_bladePos (from FanBase)
Modelica.Mechanics.Rotational.Interfaces.Flange_aMechPort

Components

TypeNameDefaultDescription
Medium.BasePropertiesinletFluid (from FanBase)Fluid properties at the inlet
ThermoPower.Systemsystem (from FanBase)System wide properties
Medium.MassFlowRatew_single (from FanBase)Mass flow rate (single fan)
Medium.MassFlowRatew (from FanBase)Np*w_singleMass flow rate (total)
SI.VolumeFlowRateq_single (from FanBase)Volume flow rate (single fan)
SI.VolumeFlowRateq (from FanBase)Np*q_singleVolume flow rate (totale)
SI.PressureDifferencedp (from FanBase)Outlet pressure minus inlet pressure
SI.SpecificEnergyH (from FanBase)Specific energy
Medium.SpecificEnthalpyh (from FanBase)Fluid specific enthalpy
Medium.SpecificEnthalpyhin (from FanBase)Enthalpy of entering fluid
Medium.SpecificEnthalpyhout (from FanBase)Enthalpy of outgoing fluid
Units.LiquidDensityrho (from FanBase)Gas density
Medium.TemperatureTin (from FanBase)Gas inlet temperature
NonSI.AngularVelocity_rpmn (from FanBase)Shaft r.p.m.
RealbladePos (from FanBase)Blade position
IntegerNp (from FanBase)Number of fans in parallel
SI.PowerW_single (from FanBase)Power Consumption (single fan)
SI.PowerW (from FanBase)Np*W_singlePower Consumption (total)
SI.PerUniteta (from FanBase)Fan efficiency
Reals (from FanBase)Auxiliary Variable
FlowCharacteristicModelflowModel (from FanBase)Model for flow characteristic function with static parameters
SI.AnglephiShaft angle
SI.AngularVelocityomegaShaft angular velocity

Revisions