Temperature Setpoint Calculator Function Block
The Temperature Setpoint Calculator function block calculates the current Effective Heat and Effective Cool setpoints based on the current schedule, occupancy override, and intelligent recovery information.
The user specifies the 6 setpoints. Based on the setting of the UserAssignedSPs config, the 6 temperature set points are either defaulted by the Management Tool to be the first 6 Public variables under Control non-volatile and are not shown as inputs to the block, or the Tool will provide an extension block and show the 6 set points as inputs. The order is Occupied Cool, Standby Cool, Unoccupied Cool Occupied Heat, Standby Heat, and Unoccupied Heat. When the default setting is used the user may have more than one TempSPCalc Function Block with this configuration, however all blocks with this configuration will use the same TempSetpoints mapped to the same 6 Public variables. If the block is configured with the 6 setpoints in an extension block, then each block can have its own set points.
Schedule Next state and TUNCOS
To recover the heating and cooling setpoints from their unoccupied values the adaptive recovery algorithm uses these parameters. If the user programs a rate of 1 °/Hr and has more than 192° spread between OCC and UNOCC set points, the algorithm will be in recovery immediately when going to UNOCC. This is because the maximum TUNCOS is 11520 mins times 1 °/Hr = 192 ° maximum delta.
Figure 1: TemperatureSetPointCalculator Function Block |
Figure 2: TemperatureSetPointCalculator Property Sheet |
Figure 3: TemperatureSetPointCalculator Behaviour
Inputs
Input Name |
Description |
EffHeatSp |
Effective heat set point. Numeric: 32-Bit Floating value>=-inf-<inf. |
EffCoolSp |
Effective cool set point. Numeric: 32-Bit Floating value >=-inf-<inf. |
EffOccCurrentState |
Effective occupancy current state. 0 = Occupied 1 = Unoccupied 2 = Bypass 3 = Standby. Numeric: 32-Bit Integer value 0, 1, 2, 3, 255, Default: Null. |
SchNextState |
Schedule next state. 0 = Occupied 1 = Unoccupied 3 = Standby 255 = Null Numeric: 32-Bit Integer value 0, 1, 3, 255, Default: Null. |
SchTUNCOS |
Schedule time until next change of state (min). Numeric: 32-Bit Floating value 1-11520. Default: Null. |
Setpoint |
Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null |
HeatRampRate |
Numeric: 32-Bit Floating value 0-<inf. Default: Null |
CoolRampRate |
Cool ramp rate. Numeric: 32-Bit Floating value 0-<inf. Default: Null |
ManOvrdState |
Manual override state. 0 = Occupied 1 = Unoccupied 2 = Bypass 3 = Standby 255 = Null Numeric: Binary value 0-3, 255 Default: Null. |
OccCoolSp |
Occupied cool setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
OccHeatSp |
Occupied heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
StbyCoolSp |
Standby cool setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
StbyHeatSp |
Standby heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
UnOccCoolSp |
UnOccupied heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
UnOccHeatSp |
UnOccupied heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
Table 1: Inputs of Temperature Setpoint Calculator unction
Output
Output Name |
Description |
EffHeatSp |
Effective heat set point. Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
EffCoolSp |
Effective cool set point. Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
EffOccCurrentState |
Effective occupancy current state. 0 = Occupied 1 = Unoccupied 2 = Bypass 3 = Standby Numeric: 32-Bit Integer value 0, 1, 2, 3, 255, Default: Null. |
Table 2: Output of Temperature Setpoint Calculator Function
Parameters
Parameter Name |
Description |
HeatRampRate (In & Par) |
Numeric: 32-Bit Floating value 0-<inf. Default: Null |
CoolRampRate (In & Par) |
Numeric: 32-Bit Floating value 0-<inf. Default: Null |
OccCoolSp (In & Par) |
Occupied cool setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
OccHeatSp (In & Par) |
Occupied heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
StbyCoolSp (In & Par) |
Standby cool setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
StbyHeatSp (In & Par) |
Standby heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
UnOccCoolSp (In & Par) |
UnOccupied heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
UnOccHeatSp (In & Par) |
UnOccupied heat setpoint Numeric: 32-Bit Floating value >=-inf-<inf. Default: Null. |
Out Save |
Master Sync Enabled : If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart. Eff Heat Sp: To enable or disable the Eff Heat Sp feature. Eff Cool Sp:To enable or disable the Eff Cool Sp feature. |
Table 3: Parameters of Set Temperature Mode Function
Examples
OccCoolSp=23, StbyCoolSp=25, UnOccCoolSp=27, OccHeatSp=21, StbyHeatSp=19, UnOccHeatSp=17, Man Override State is Occupied=0, Sch NextState= Occupied.
Setpoint is 0, Thus the same OccCoolSp is transferred to an EffectiveCoolSp & OccHeatSp is transferred to an EffectiveHeatSp.
When Setpoint < 10, the Setpoint acts in "offset" mode (i.e. "relative"Setpoint). The Setpoint adjusts the programmed occupied, StbyHeatSp and StbyCoolSp up and down by the amount of the Setpoint. The user must insure the input range is less than +10 for offset Setpoint to be used. The Setpoint does not affect the unoccupied setpoints. During bypass, the occupied setpoints are adjusted. If the Setpoint is not connected or the sensor has failed, the offset is zero. The user must insure consistent units. That is, if the Setpoint is indegrees F, the programmed setpoints should also be in degrees F.
The effective space temperature setpoints will be calculated based on following formula:
Base Setpoint = setpoint from wall module.
Effective OccCoolSp = Base Setpoint + (OccCoolSp - OccHeatSp)/2
Effective OccHeatSp = Base Setpoint - (OccCoolSp - OccHeatSp)/2
Setpoint = 5 (i.e. RealativeSp), thus the same OccCoolSp +5 is transferred to an EffectiveCoolSp & OccHeatSp +5 is transferred to an EffectiveHeatSp.
OccCoolSp=23, StbyCoolSp=25, UnOccCoolSp=27.
OccHeatSp=21, StbyHeatSp=19, UnOccHeatSp=17, ManOvrdState is Occupied=0.
SchNextState= Occupied
Setpoint = 12 (when it is more than 12, it acts as an absolute Sp).
OccCoolSp=23, StbyCoolSp=25, UnOccCoolSp=27.
OccHeatSp=21, StbyHeatSp=19, UnOccHeatSp=17, ManOvrdState is UnOccupied=1.
SchNextState= Occupied ManOvrdState does not affect the effective occupancy state.
Setpoint = 5 (i.e. Realative Sp), thus the same OccCoolSp +5 is transferred to an EffectiveCoolSp & OccHeatSp +5 is transferred to an EffectiveHeatSp.
Refer to General Description for general information about IRM N4 Function Blocks.