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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal | Maximum heat flow rate (positive for heating; negative for cooling) | |
| Controller | |||
| Buildings.Controls.OBC.CDL.Types.SimpleController | controllerType | Buildings.Controls.OBC.CDL.Types.SimpleController.PI | Type of controller |
| Real | k | 1 | Gain of controller |
| Real | Ti | 120 | Time constant of integrator block |
| Real | Td | 0.1 | Time constant of derivative block |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | TSet | Set point temperature | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | TMea | Measured temperature | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | Q_flow | Heat flow rate | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b | heaPor | Heat port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.HeatTransfer.Sources.PrescribedHeatFlow | preHeaFlo | ||
| Buildings.Controls.OBC.CDL.Reals.PID | conPID | Controller for heat input |
Revisions
-
March 4, 2021, by Michael Wetter:
First implementation.
This is for #2381.