modelFanBase

Base model for fans
Diagram of FanBase

Extends from Icons.Gas.Fan.

Information

This is the base model for the FanMech fan model.

The model describes a fan, or a group of Np identical fans, with optional blade angle regulation. The fan model is based on the theory of kinematic similarity: the fan characteristics are given for nominal operating conditions (rotational speed and fluid density), and then adapted to actual operating condition, according to the similarity equations.

In order to avoid singularities in the computation of the outlet enthalpy at zero flowrate, the thermal capacity of the fluid inside the fan body can be taken into account.

The model can either support reverse flow conditions or include a built-in check valve to avoid flow reversal.

Modelling options

The nominal flow characteristic (specific energy vs. volume flow rate) is given by the the replaceable function flowCharacteristic. If the blade angles are fixed, it is possible to use implementations which ignore the bladePos input.

The fan energy balance can be specified in two alternative ways:

  • usePowerCharacteristic = false (default option): the replaceable function efficiencyCharacteristic (efficiency vs. volume flow rate in nominal conditions) is used to determine the efficiency, and then the power consumption. The default is a constant efficiency of 0.8.
  • usePowerCharacteristic = true: the replaceable function powerCharacteristic (power consumption vs. volume flow rate in nominal conditions) is used to determine the power consumption, and then the efficiency.

Several functions are provided in the package Functions.FanCharacteristics to specify the characteristics as a function of some operating points at nominal conditions.

Depending on the value of the checkValve parameter, the model either supports reverse flow conditions, or includes a built-in check valve to avoid flow reversal.

If the in_Np input connector is wired, it provides the number of fans in parallel; otherwise, Np0 parallel fans are assumed.

It is possible to take into account the heat capacity of the fluid inside the fan by specifying its volume V at nominal conditions; this is necessary to avoid singularities in the computation of the outlet enthalpy in case of zero flow rate. If zero flow rate conditions are always avoided, this dynamic effect can be neglected by leaving the default value V = 0, thus avoiding a fast state variable in the model.

The CheckValve parameter determines whether the fan has a built-in check valve or not.

Parameters

TypeNameDefaultDescription
IntegerNp01Nominal number of fans in parallel
SI.VolumeV0Fan Internal Volume
BooleanCheckValvefalseReverse flow stopped
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.VolumeFlowRateq_single0w0/(Np0*rho0)Nominal volume flow rate (single fan)
SI.SpecificEnergyH0dp0/(rho0)Nominal specific energy
RealdH_dq_startif 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_start2*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_eps1e-8Small coefficient to avoid numerical singularities
NonSI.AngularVelocity_rpmn_eps1e-6
Characteristic curves
BooleanuseFlowModelfalseUse function from replaceable model for flow characteristic
BooleanusePowerCharacteristicfalseUse powerCharacteristic (vs. efficiencyCharacteristic)
Nominal values
SI.PerUnitbladePos01Nominal blade position
Medium.Densityrho01.229Nominal Gas Density
NonSI.AngularVelocity_rpmn01500Nominal rotational speed
Medium.MassFlowRatew0Nominal mass flow rate
SI.Pressuredp0Nominal pressure increase
Initialisation
SI.VolumeFlowRateq_single_startq_single0Volume Flow Rate Start Value (single pump)
Medium.SpecificEnthalpyhstart1e5Fluid Specific Enthalpy Start Value
Medium.Densityrho_startrho0Inlet Density start value
NonSI.AngularVelocity_rpmn_startn0Rotational speed start value
SI.SpecificEnergyH_startH0Specific energy start value
SI.PerUnitbladePos_startbladePos0Blade position start value
Choices.Init.OptionsinitOptsystem.initOptInitialisation option

Connectors

TypeNameDefaultDescription
FlangeAinfl
FlangeBoutfl
Modelica.Blocks.Interfaces.IntegerInputin_NpNumber of parallel pumps
Modelica.Blocks.Interfaces.RealInputin_bladePos

Components

TypeNameDefaultDescription
Medium.BasePropertiesinletFluidFluid properties at the inlet
ThermoPower.SystemsystemSystem wide properties
Medium.MassFlowRatew_singleMass flow rate (single fan)
Medium.MassFlowRatewNp*w_singleMass flow rate (total)
SI.VolumeFlowRateq_singleVolume flow rate (single fan)
SI.VolumeFlowRateqNp*q_singleVolume flow rate (totale)
SI.PressureDifferencedpOutlet pressure minus inlet pressure
SI.SpecificEnergyHSpecific energy
Medium.SpecificEnthalpyhFluid specific enthalpy
Medium.SpecificEnthalpyhinEnthalpy of entering fluid
Medium.SpecificEnthalpyhoutEnthalpy of outgoing fluid
Units.LiquidDensityrhoGas density
Medium.TemperatureTinGas inlet temperature
NonSI.AngularVelocity_rpmnShaft r.p.m.
RealbladePosBlade position
IntegerNpNumber of fans in parallel
SI.PowerW_singlePower Consumption (single fan)
SI.PowerWNp*W_singlePower Consumption (total)
SI.PerUnitetaFan efficiency
RealsAuxiliary Variable
FlowCharacteristicModelflowModelModel for flow characteristic function with static parameters

Contents

NameDescription
MediumMedium model
flowCharacteristic
FlowCharacteristicModel
powerCharacteristic
efficiencyCharacteristic
dH_dqprotectedApproximated partial derivative of flow characteristic w.r.t. volume flow

Revisions