modelIdealHeaterCooler

Model of ideal heater or cooler

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Model of an ideal heater or cooler that tracks a set point using a PI controller. The heater or cooler has a PID controller that regulates the heat added or removed.

To use this model, connect its heat port to the heat port of an air volume, for example, the heat port heaPorAir of Buildings.ThermalZones.EnergyPlus_24_2_0.ThermalZone.

Note that this model can only provide sensible cooling, but no latent cooling.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow_nominalMaximum heat flow rate (positive for heating; negative for cooling)
Controller
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
Realk1Gain of controller
RealTi120Time constant of integrator block
RealTd0.1Time constant of derivative block

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSetSet point temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTMeaMeasured temperature
Buildings.Controls.OBC.CDL.Interfaces.RealOutputQ_flowHeat flow rate
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bheaPorHeat port

Components

TypeNameDefaultDescription
Buildings.HeatTransfer.Sources.PrescribedHeatFlowpreHeaFlo
Buildings.Controls.OBC.CDL.Reals.PIDconPIDController for heat input

Revisions

  • March 4, 2021, by Michael Wetter:
    First implementation.
    This is for #2381.