modeltestPumpSpeedCalculation

test the functions to calculate pump speed from volume flow rate and pump head.

Extends from Modelica.Icons.Example.

Information

simulate and plot script

Use this test to test the polynomial functions for pump speed calculation and their respective coefficients from Zugabe.Zugabe_DB.Pump.PumpBaseRecord. As of December 2017 the coefficient matrix cNQH has been disregarded due to the new pump model that only uses pump speed for control and which will limit the pump speed (maxMinSpeedCurves) rather than the pump head. Therefore, a direct calculation using the cNQH coefficients is not possible anymore in the old pump models.

Currently only the ABC-coefficients may be used to compute pump speed from cHQN coefficients applied to the inverse p-q-formula.

This test case makes use of nMin and nMax parameters of the pump record in the table for setting pump speed. Make sure that these values are set properly in the pump record or change the profile in the speed table.

  • 2018-01-24 by Peter Matthes:
    Highlights pumpParam parameter and adds graphic for pump speed curve display in plot Script.
  • 2017-12-06 by Peter Matthes:
    Adds hint for nMin and nMax in the documentation and fixes test for missing ABC coefficients.
  • 2017-11-23 by Peter Matthes:
    Implemented

Parameters

TypeNameDefaultDescription
AixLib.DataBase.Pumps.PumpPolynomialBased.PumpBaseRecordparamAixLib.DataBase.Pumps.PumpPolynomialBased.Pump_DN25_H1_6_V4()New pump record with coefficients.
RealmaxQparam.maxMinHeight[size(param.maxMinHeight, 1), 1]
Modelica.Units.SI.LengthmaxHeadmax(param.maxMinHeight[:, 2])maximum static head of the pump
Modelica.Units.SI.LengthminHeadmax(param.maxMinHeight[:, 3])aprox. minimum static head of the pump

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.TimeTableheadTableselects different pump speeds
Modelica.Blocks.Sources.TimeTablevolumeFlowTableselects different volume flows
Modelica.Blocks.Sources.RealExpressionspeedABC

Contents

NameDescription
speedFlowHeadFuncpolynomial evaluator using new aproach with coefficient matrix
speedFlowHeadFuncABCpolynomial evaluator using new aproach with coefficient matrix