modelReturnTemperatureControl
Information
Purpose of model
The model is used to control the return temperature in hydraulic grids. It consists of two fluid ports that have to be connected to the hydraulic grid, a pump, a PID-Controller and temperature sensor. The PID-Controller sets the power of the pump so that the return temperature of the hydraulic grid equals a given target value. 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
Interfaces
waterPortOut: fluid outlet
waterPortIn: fluid inlet
Nomenclature
T_return = returnTemperatureSensor.T is a temperature in K
Delta_p=pump.Delta_p is a pressure difference in Pa
P_drive_pump = pump.P_drive is a power in W
Version History
Model created by Lisa Andresen (andresen@tuhh.de), Dec 2014
Model documented by Jan Westphal (j.westphal@tuhh.de) August 2025
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| TILMedia.VLEFluidTypes.BaseVLEFluid | Medium | simCenter.fluid1 | Medium in the component |
| Boolean | use_heatingCurve | true | By default tries to adjust power according to T_return |
| SI.Temperature | T_target | 363.15 | Target temperature at inlet |
| Modelica.Blocks.Types.SimpleController | controllerType | .Modelica.Blocks.Types.SimpleController.PID | Type of controller |
| SI.Power | P_min | 40 | Minimum power of pump |
| SI.Power | P_max | 999999 | Maximum power of pump |
| Real | k | 10 | Gain of controller |
| SI.Time | Ti | 10 | Time constant of Integrator block |
| SI.Time | Td | 10 | Time constant of Derivative block |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut | waterPortOut | fluidport supply on consumer side | |
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn | waterPortIn | fluidport return on consumer side |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| SI.Temperature | T_return | returnTemperatureSensor.T | |
| SI.PressureDifference | Delta_p | pump.Delta_p | |
| SI.Power | P_drive_pump | pump.P_drive |