blockControlLoops

Heating and cooling control loops

Information

This block outputs the heating and cooling control loop signal. The implementation is according to the ASHRAE Guideline 36, Section 5.3.4.

  1. Two separate control loops, the cooling loop and the heating loop, shall operate to maintain space temperature at set point.
    • The heating loop shall be enabled whenever the space temperature TZon is below the current zone heating setpoint temperature THeaSet and disabled when space temperature is above the current zone heating setpoint temperature and the loop output is zero for 30 seconds. The loop may remain active at all times if provisions are made to minimize integral windup.
    • The cooling loop shall be enabled whenever the space temperature TZon is above the current zone cooling setpoint temperature TCooSet and disabled when space temperature is below the current zone cooling setpoint temperature and the loop output is zero for 30 seconds. The loop may remain active at all times if provisions are made to minimize integral windup.
  2. The cooling loop shall maintain the space temperature at the cooling setpoint. The output of the loop shall be a software point ranging from 0% (no cooling) to 100% (full cooling).
  3. The heating loop shall maintain the space temperature at the heating setpoint. The output of the loop shall be a software point ranging from 0% (no heating) to 100% (full heating).
  4. Loops shall use proportional plus integral logic or other technology with similar performance. Proportional-only control is not acceptable, although the integral gain shall be small relative to the proportional gain. P and I gains shall be adjustable by the operator.

Parameters

TypeNameDefaultDescription
Cooling control
RealkCooCon0.1Gain of controller for cooling control loop
RealTiCooCon900Time constant of integrator block for cooling control loop
Heating control
RealkHeaCon0.1Gain of controller for heating control loop
RealTiHeaCon900Time constant of integrator block for heating control loop
Advanced
RealtimChe30Threshold time to check the zone temperature status
RealdTHys0.25Delta between the temperature hysteresis high and low limit
ReallooHys0.01Threshold value to check if the controller output is near zero

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTCooSetZone cooling setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInputTZonMeasured zone temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHeaSetZone heating setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCooCooling control signal
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyHeaHeating control signal

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.PIDWithResetconCooCooling controller
Buildings.Controls.OBC.CDL.Reals.PIDWithResetconHeaHeating controller

Revisions

  • August 1, 2020, by Jianjun Hu:
    First implementation.