modelPumpBase

Base model for centrifugal pumps

Extends from Icons.Water.Pump.

Information

This is the base model for the Pump and PumpMech pump models.

The model describes a centrifugal pump, or a group of Np identical pumps in parallel. The pump model is based on the theory of kinematic similarity: the pump 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 pump 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 hydraulic characteristic (head vs. volume flow rate) is given by the the replaceable function flowCharacteristic.

The pump 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.PumpCharacteristics 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 pumps in parallel; otherwise, Np0 parallel pumps are assumed.

It is possible to take into account the heat capacity of the fluid inside the pump 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 pump has a built-in check valve or not.

If computeNPSHa = true, the available net positive suction head is also computed; this requires a two-phase medium model to provide the fluid saturation pressure.

Parameters

TypeNameDefaultDescription
IntegerNp01Nominal number of pumps in parallel
SI.VolumeV0Pump Internal Volume
BooleanCheckValvefalseReverse flow stopped
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.AccelerationgModelica.Constants.g_n
SI.VolumeFlowRateq_single0w0/(Np0*rho0)Nominal volume flow rate (single pump)
SI.Heighthead0dp0/(rho0*g)Nominal pump head
Reald_head_dq_0(flowCharacteristic(q_single0*1.05) - flowCharacteristic(q_single0*0.95))/(q_single0*0.1)Approximate derivative of flow characteristic w.r.t. volume flow
Reald_head_dn_02/n0*head0 - q_single0/n0*d_head_dq_0Approximate derivative of the flow characteristic w.r.t. rotational speed
SI.PowerW_eps1e-8Small coefficient to avoid numerical singularities
NonSI.AngularVelocity_rpmn_eps1e-6
Characteristics
BooleanusePowerCharacteristicfalseUse powerCharacteristic (vs. efficiencyCharacteristic)
Units.LiquidDensityrho01000Nominal Liquid Density
NonSI.AngularVelocity_rpmn0Nominal rotational speed
Medium.MassFlowRatew0Nominal mass flow rate
SI.Pressuredp0Nominal pressure increase
External inputs
Booleanuse_in_NpfalseUse connector input for the pressure
Initialisation
Medium.MassFlowRatewstartw0Mass Flow Rate Start Value
Medium.SpecificEnthalpyhstart1e5Specific Enthalpy Start Value
Choices.Init.OptionsinitOptsystem.initOptInitialisation option
BooleannoInitialPressurefalseRemove initial equation on pressure

Connectors

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

Components

TypeNameDefaultDescription
Medium.ThermodynamicStateinletFluidStateThermodynamic state of the fluid at the inlet
ThermoPower.SystemsystemSystem wide properties
Medium.MassFlowRatew_singleMass flow rate (single pump)
Medium.MassFlowRatewNp*w_singleMass flow rate (total)
SI.VolumeFlowRateq_singleVolume flow rate (single pump)
SI.VolumeFlowRateqNp*q_singleVolume flow rate (total)
SI.PressureDifferencedpOutlet pressure minus inlet pressure
SI.HeightheadPump head
Medium.SpecificEnthalpyhFluid specific enthalpy
Medium.SpecificEnthalpyhinEnthalpy of entering fluid
Medium.SpecificEnthalpyhoutEnthalpy of outgoing fluid
Units.LiquidDensityrhoLiquid density
Medium.TemperatureTinLiquid inlet temperature
NonSI.AngularVelocity_rpmnShaft r.p.m.
IntegerNpNumber of pumps in parallel
SI.PowerW_singlePower Consumption (single pump)
SI.PowerWNp*W_singlePower Consumption (total)
SI.PowerQloss0Heat loss (single pump)
SI.PerUnitetaPump efficiency
SI.PerUnitsAuxiliary non-dimensional variable

Contents

NameDescription
Medium
flowCharacteristicHead vs. q_flow characteristic at nominal speed and density
powerCharacteristic
efficiencyCharacteristic

Revisions