blockAgentPump1Pipe

Ambient network storage and plants agent pump control, developed for reservoir network

Information

Controller for balacing agents (i.e. reservoirs and plants) pump.

This controller decides to turn on or off the agent pump depending on the current net demand of the district if TRetDis > TSupDis cooling else heating and the temperature differential between the agent source temperature TSou and the agent inlet temperature TSouIn adjusted by the offset dToff. In particular the pump turns on : if heating and TSou - TSouIn - dToff > 0 or if cooling and TSouIn - Tsou - dToff > 0. Then if the pump is turned on a PID controller, by default used as P, controls the pump control input by using TSouOut as measurement and as setpoint TSou - dToff for heating or TSou + dToff for cooling. dToff can be considered the nominal value of the agent heat exchanger pinch point temperature difference.

References

Ettore Zanetti, David Blum, Michael Wetter.
Control development and sizing analysis for a 5th generation district heating and cooling network using Modelica.
Proc. of the 15th International Modelica Conference, p. 23--32, Aachen, Germany, October 2023.

Parameters

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeBuildings.Controls.OBC.CDL.Types.SimpleController.PType of controller
RealyPumMin0.05Minimum pump speed
RealyPumMax1Upper limit of output
Realk1Gain of controller
RealTi0.5Time constant of integrator block
RealTd0.1Time constant of derivative block
RealdToff1Temperature offset to account for heat exchanger pinch point
RealuLowHea1if y=true and u<uLow, switch to y=false
RealuHighHea2if y=false and u>uHigh, switch to y=true
RealuLowCoo1if y=true and u<uLow, switch to y=false
RealuHighCoo2if y=false and u>uHigh, switch to y=true
Realh0.15Hysteresis for net demand temperature calculation

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSouInTemperatures at the inlet of the source
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSouOutAgent supply temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSouAverage temperature available at source
Buildings.Controls.OBC.CDL.Interfaces.RealInputTRetDisDistrict return temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSupDisPlant supply temperature
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyPump control signal

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.LessNetDemBoolNet district demand boolean
Buildings.Controls.OBC.CDL.Reals.Switchswi
Buildings.Controls.OBC.CDL.Reals.PIDconPIDHeaController to track target heating setpoint temperature
Buildings.Controls.OBC.CDL.Reals.PIDconPIDCooController to track target cooling setpoint temperature
Buildings.Controls.OBC.CDL.Reals.HysteresishysTurn on pump when source temperature lower than inlet temperature
Buildings.Controls.OBC.CDL.Reals.Switchswi1
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantZeroPump off signal
Buildings.Controls.OBC.CDL.Reals.Hysteresishys1Turn on pump when source temperature higher than inlet temperature
Buildings.Controls.OBC.CDL.Reals.Switchswi2
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergai1Change sign for hysteresis
Buildings.Controls.OBC.CDL.Reals.AddParameterTsou_negshiftSource temperature after negative shift
Buildings.Controls.OBC.CDL.Reals.AddParameterTsou_posshiftSource temperature after positive shift
Buildings.Controls.OBC.CDL.Reals.SubtractdTSouSupTemperature difference between source and source inlet
Buildings.Controls.OBC.CDL.Reals.AddParameterdTSouSupHeaTemperature difference between source and source inlet corrected for heating
Buildings.Controls.OBC.CDL.Reals.AddParameterdTSouSupCooTemperature difference between source and source inlet corrected for cooling

Revisions

  • January 20, 2023, by Ettore Zanetti:
    First implementation.