RoomSetpoint (FB)¶
FUNCTION_BLOCK RoomSetpoint
RoomSetpoint provides complex room temperature setpoint computation.
RoomSetpoint does compute a room temperature setpoint based on
the input setpoints heat / cool
a setpoint offset
an “effective comfort setpoint” taking an “energy level” (see EnergyLevelSetpoint)
“effective comfort setpoint”¶
The “effective comfort setpoint” can be used in “energy level” COMFORT to provide another offset to the output setpoints. It is intended to be used to manipulate the output setpoint from high level optimization / control (for example building management system or vizualization) in the sense of single value. You can envision the “effective comfort setpoint” shifting the output setpoints by the difference between (internal) “input center setpoint” (mean value of rSetptHeatIn and rSetptCoolIn) and the value of “effective comfort setpoint” (rSetptComfort).
Setpoint outputs - whats the difference¶
The two outputs rSetpt and rSetptMode provide a handy single value most often used in overview vizualizations. The “center setpoint” rSetpt provides the mean value of rSetptHeat and rSetptCool. The “mode setpoint” rSetptMode provides either rSetptHeat, rSetptCool or rSetpt depending on input eMode:
eMode = HEAT -> rSetptMode := rSetptHeat
eMode = COOL -> rSetptMode := rSetptCool
eMode = INACTIVE -> rSetptMode := rSetpt
- InOut:
Scope
Name
Type
Initial
Comment
Input
eModeHeatCoolOperationMode.INACTIVE
Operation mode
rSetptHeatInREAL21.0
Heat setpoint
rSetptCoolInREAL23.0
Cool setpoint
rSetptOffsetREAL0.0
Setpoint offset
rSetptComfortREAL22.0
“effective COMFORT setpoint”
xSetptComfort_UsedBOOLFALSE
“effective COMFORT setpoint” used
eLevelEnergyLevel.UNUSED
Energy level
Output
rSetptHeatREALCurrent heat setpoint
rSetptCoolREALCurrent cool setpoint
rSetptREALCurrent “center setpoint”
rSetptModeREALCurrent “mode setpoint”