modelPartialPump

Base class for all pump models

Information

This partial class provides a standard interface for pump models.

Parameters

TypeNameDefaultDescription
BooleanaddPowerToMediumfalseSet to false to avoid any power (=heat and flow work) being added to medium (may give simpler equations)
Configuration
Buildings.Templates.Components.Types.PumptypEquipment type
Booleanhave_vartrueSet to true for variable speed pump, false for constant speed pump
Booleanhave_varComtrueSet to true for single common speed signal, false for dedicated signals
Booleanhave_valChetrueSet to true to include a check valve in pump line
Dynamics › Nominal condition
Modelica.Units.SI.Timetau1Time constant of fluid volume for nominal flow, used if energy or mass balance is dynamic
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Graphics
Integertext_rotation0Text rotation angle in icon layer
Booleantext_flipfalseTrue to flip text horizontally in icon layer

Connectors

TypeNameDefaultDescription
Buildings.Templates.Components.Interfaces.BusbusControl bus

Revisions

  • April 28, 2023, by Antoine Gautier:
    First implementation.