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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 0.5 | Gain of controller |
| Modelica.Units.SI.Time | Ti | 240 | Time constant of integrator block |
| Real | yMax | 1 | Upper limit of output |
| Real | yMin | 0 | Lower limit of output |
| Boolean | reverseActing | false | Set to true for throttling the water flow rate through a cooling coil controller |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.Continuous.LimPID | dxSpe | Controller for variable speed DX coil | |
| Modelica.Blocks.Interfaces.IntegerInput | cooMod | Cooling mode of the cooling system | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Compressor speed | |
| Modelica.Blocks.Interfaces.RealInput | TMixAirSet | Mixed air setpoint temperature | |
| Modelica.Blocks.Interfaces.RealInput | TMixAirMea | Measured mixed air temperature | |
| Buildings.Controls.OBC.CDL.Logical.Not | not1 | Negation 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.