modelCompressor

Controller for compressor speed

Information

This model implements a PI controller to maintain the supply air temperature at its setpoint by adjusting the compressor's speed. When the free cooling is activated, the DX unit is deactivated by setting the speed signal as 0. In Partial Mechanical cooling and Full Mechanical cooling, the PI controller works to adjust the compressor's speed.

Parameters

TypeNameDefaultDescription
Realk0.5Gain of controller
Modelica.Units.SI.TimeTi240Time constant of integrator block
RealyMax1Upper limit of output
RealyMin0Lower limit of output
BooleanreverseActingfalseSet to true for throttling the water flow rate through a cooling coil controller

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerInputcooModCooling mode of the cooling system
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCompressor speed
Modelica.Blocks.Interfaces.RealInputTMixAirSetMixed air setpoint temperature
Modelica.Blocks.Interfaces.RealInputTMixAirMeaMeasured mixed air temperature

Components

TypeNameDefaultDescription
Buildings.Controls.Continuous.LimPIDdxSpeController for variable speed DX coil
Buildings.Controls.OBC.CDL.Logical.Notnot1Negation of signal to trigger the integrator reset

Revisions

  • November 6, 2017, by Michael Wetter:
    Added reset for integrator when compressor switches on.
  • November 2, 2017 by Yangyang Fu:
    First implementation.