modelPump

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions), AixLib.Fluid.Interfaces.PartialTwoPortTransport (Partial element transporting fluid between two ports without storage of mass or energy).

Information

Overview

Simple table based pump model.

Concept

Simple table based pump model with the following features:

  • Table for minimal and maximal characteristic
  • Choice between two control strategies: 1. dp-const; 2. dp-var
  • Input for switching to night mode. During night mode, the pump follows the minimal characteristic


Example Results

AixLib.HVAC.Pumps.Examples.PumpHydraulicResistance_closedLoop

Parameters

TypeNameDefaultDescription
AixLib.DataBase.Pumps.MinMaxCharacteristicsBaseDataDefinitionMinMaxCharacteristicsAixLib.DataBase.Pumps.Pump1()Head = f(V_flow) for minimal and maximal rotational speed
Modelica.Units.SI.MassFlowRate[:]m_flowsPumpMinMaxCharacteristics.minMaxHead[:, 1]./3600.*rho_defaultConvert VFlow in m3/h to kg/s
Modelica.Units.SI.PressureDifference[:]dpsPumpMinMaxCharacteristics.minMaxHead[:, 3].*rho_default.*Modelica.Constants.g_nConvert m of head to Pa
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced
Modelica.Units.SI.PressureDifferencedp_start (from PartialTwoPortTransport)0Guess value of dp = port_a.p - port_b.p
Medium.MassFlowRatem_flow_start (from PartialTwoPortTransport)0Guess value of m_flow = port_a.m_flow
Medium.MassFlowRatem_flow_small (from PartialTwoPortTransport)Small mass flow rate for regularization of zero flow
Advanced › Diagnostics
Booleanshow_T (from PartialTwoPortTransport)true= true, if temperatures at port_a and port_b are computed
Booleanshow_V_flow (from PartialTwoPortTransport)true= true, if volume flow rate at inflowing port is computed
Control strategy
IntegerControlStrategy1Control Strategy
Modelica.Units.SI.HeightHead_maxmax(MinMaxCharacteristics.minMaxHead[:, 3])Set head for the control strategy
RealV_flow_maxmax(MinMaxCharacteristics.minMaxHead[:, 1])Vmax in m3/h for the control strategy

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPort)Fluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialTwoPort)Fluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Blocks.Interfaces.BooleanInputIsNight

Components

TypeNameDefaultDescription
Medium.MassFlowRatem_flow (from PartialTwoPortTransport)Mass flow rate in design flow direction
Modelica.Units.SI.PressureDifferencedp (from PartialTwoPortTransport)Pressure difference between port_a and port_b (= port_a.p - port_b.p)
Modelica.Units.SI.VolumeFlowRateV_flow (from PartialTwoPortTransport)m_flow/Modelica.Fluid.Utilities.regStep(m_flow, Medium.density(Medium.setState_phX(p = port_a.p, h = inStream(port_a.h_outflow), X = inStream(port_a.Xi_outflow))), Medium.density(Medium.setState_phX(p = port_b.p, h = inStream(port_b.h_outflow), X = inStream(port_b.Xi_outflow))), m_flow_small)Volume flow rate at inflowing port (positive when flow from port_a to port_b)
Medium.Temperatureport_a_T (from PartialTwoPortTransport)Modelica.Fluid.Utilities.regStep(port_a.m_flow, Medium.temperature(Medium.setState_phX(p = port_a.p, h = inStream(port_a.h_outflow), X = inStream(port_a.Xi_outflow))), Medium.temperature(Medium.setState_phX(port_a.p, port_a.h_outflow, port_a.Xi_outflow)), m_flow_small)Temperature close to port_a, if show_T = true
Medium.Temperatureport_b_T (from PartialTwoPortTransport)Modelica.Fluid.Utilities.regStep(port_b.m_flow, Medium.temperature(Medium.setState_phX(p = port_b.p, h = inStream(port_b.h_outflow), X = inStream(port_b.Xi_outflow))), Medium.temperature(Medium.setState_phX(port_b.p, port_b.h_outflow, port_b.Xi_outflow)), m_flow_small)Temperature close to port_b, if show_T = true
Modelica.Units.SI.HeightHeadPumping head
Modelica.Blocks.Tables.CombiTable1Dstable_minMaxCharacteristicsTable with Head = f(V_flow) min amd max characteristics for the pump

Revisions

  • November 2014  by Marcus Fuchs:
    Changed model to use Annex 60 base class
  • 01.11.2013  by Ana Constantin:
    implemented