modelPressureDifferenceControl

ClaRa pump regulated by pressure differnce in heat grid

Information

Purpose of model

Regulated pump due to a target pressure in the hydraulic grid. The model consists of a pump, two pressure sensors and a PID-Controller. The power of the pump is set by the PID-Controller so that the pressure difference at the bad point of the hydraulic grid remains constant at a target pressure difference. The pressure difference at the bad point is given by a RealInput. This control concept is often used in district heating networks. The Input for the PI-Controller is calculated using that input, the target pressure difference and a feedback block. The pump model is from the ClaRa Library and documented there. Furthermore, a similar pump model is used in the TransiEnt Library and explained in the documentation here:

TransiEnt.Components.Heat.PumpVLE_L1_simple

A limiter block is used to limit the output of the PID-Controller. The main difference between the model Pressure Control_p_input and PressureDifferenceControl is the controller. In this model a PID-Controller is used.

Interfaces

waterPortIn: fluid inlet for hydraulic grid

waterPortOut: fluid outlet for hydraulic grid

Delta_p_measured - RealInput for measured pressure difference

References

The pump model is from the ClaRa Library and documented there.

Version History

Model created by Tobias Ramm (tobias.ramm@tuhh.de) November 2015

Model modified by Lisa Andresen (andresen@tuhh.de) December 2015

Modeli documented by Jan Westphal (j.westphal@tuhh.de) August 2025

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PowerP_max2000Maximum electric power of pump
Modelica.Units.SI.PowerP_min0.1*P_maxMinimum electric power of pump
Modelica.Units.SI.PressureDifferenceDelta_p_set1.2e5Set pressure at worst hydraulc point
TILMedia.VLEFluidTypes.BaseVLEFluidMediumsimCenter.fluid1Medium in the component
RealdeviationThreshold0.1Deviation threshold before adjustment control (bar)
PI-Controller
Realk5Gain for PI-Controller
Modelica.Units.SI.TimeTc1Time constant for PI-Controller

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Thermal.FluidPortOutwaterPortOutfluidport supply on consumer side
TransiEnt.Basics.Interfaces.Thermal.FluidPortInwaterPortInfluidport return on consumer side
TransiEnt.Basics.Interfaces.General.PressureDifferenceInDelta_p_measuredat worst hydraulic point

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
ClaRa.Components.TurboMachines.Pumps.PumpVLE_L1_simplepump_L1_simple
ClaRa.Components.Sensors.SensorVLE_L1_preturnPressureSensor
ClaRa.Components.Sensors.SensorVLE_L1_psupplyPressureSensor1
Modelica.Blocks.Sources.Constantp_set_Consumer
Modelica.Blocks.Math.FeedbackfeedbackLoop
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Nonlinear.DeadZonedeadZone
Modelica.Blocks.Math.Gainpascal2Bar
Modelica.Blocks.Nonlinear.Limiterlimiter
TransiEnt.Basics.Blocks.LimPIDPID
Modelica.Blocks.Sources.Constantzero