modelPumpCurveConstruction

Validation model that tests that the pump curve is properly extrapolated to V=0 and dp=0

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example tests whether the construction of the pump curve is correct implemented for the cases where no data point is given at zero head, zero mass flow rate, or both.

Each pump is identical, but different points on the pump curve are specified. However, the pump curves are linear and hence, because the pump curves are linearly extrapolated, all four pumps need to give the same flow rate.

Implementation

The pump curves are such that the protected parameter curve of the pumps have different values. This then tests the correct extrapolation.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal1Nominal mass flow rate at zero pump head
Modelica.Units.SI.VolumeFlowRateV_flow_nominalm_flow_nominal/1000Nominal mass flow rate at zero pump head
Modelica.Units.SI.PressureDifferencedp_nominal10000Nominal pump head at zero mass flow rate

Components

TypeNameDefaultDescription
Sources.Boundary_pTsouPressure boundary condition
Buildings.Fluid.Movers.SpeedControlled_ypumPump with 3 data points for the pressure flow relation
Buildings.Fluid.Movers.SpeedControlled_ypum_dpPump with 2 data points for the pressure flow relation, with data at dp=0
Buildings.Fluid.Movers.SpeedControlled_ypum_m_flowPump with 2 data points for the pressure flow relation, with data at m_flow=0
Buildings.Fluid.Movers.SpeedControlled_ypum_noPump with 2 data points for the pressure flow relation, with no data at m_flow=0 and dp=0
Modelica.Blocks.Sources.RampyValInput signal for valve
Actuators.Valves.TwoWayLinearval1Valve with very small pressure drop if fully open
Actuators.Valves.TwoWayLinearval2Valve with very small pressure drop if fully open
Actuators.Valves.TwoWayLinearval3Valve with very small pressure drop if fully open
Actuators.Valves.TwoWayLinearval4Valve with very small pressure drop if fully open

Contents

NameDescription
MediumMedium model

Revisions

  • December 6, 2016, by Michael Wetter:
    Relaxed input signal to allow simulation if bounds on min and max values are checked in Dymola.
    This is for #606.
  • February 20, 2016, by Ruben Baetens:
    Removal of dynamicBalance as parameter for massDynamics and energyDynamics.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • January 7, 2015, by Michael Wetter:
    First implementation.