modelPressureControl_p_input

ClaRa pump regulated by pressure 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 PI-Controller. The power of the pump is set by the PI-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 with 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

The PI-Controller is from the Modelica Standard Library. A limiter block is used to limit the output of the PI-Controller.

Interfaces

waterPortIn: fluidport supply on consumer side

waterPortOut: fluidport return on consumer side

p_measured: input for pressure in Pa

Version History

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

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

Model 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.Pressurep_set6.5e5Set pressure at worst hydraulc point
TILMedia.VLEFluidTypes.BaseVLEFluidMediumsimCenter.fluid1Medium in the component
RealdeviationThreshold0.1Deviation threshold before adjustment control (bar)
PI-Controller
Realk0.5Gain for PI-Controller
Modelica.Units.SI.TimeTc3Time 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.PressureInp_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.Continuous.PIPI
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