FB_BA_AC_SumNgtCol

FB_BA_AC_SumNgtCol 1:

The template represents a night cooling function for ventilation systems. It is used to cool down rooms that have been heated up during the day with cool outside air at night. The summer night cooling function serves to improve the quality of the air and to save electrical energy. Electrical energy for cooling is saved during the first hours of the next summer day.

FB_BA_AC_SumNgtCol 2:

The initialization of the template takes place within the method FB_Init.

Block diagram

FB_BA_AC_SumNgtCol 3:

Principle diagram

FB_BA_AC_SumNgtCol 4:

Syntax

FUNCTION_BLOCK FB_BA_AC_SumNgtCol EXTENDS FB_BA_View
VAR_INPUT
  fTRm                : REAL;
  fSpRm               : REAL;
  fTWth               : REAL;
END_VAR
VAR_OUTPUT
  bQ                  : BOOL;
END_VAR
VAR_INPUT CONSTANT
  WthTLoLmt           : FB_BA_AV_Op;
  RmTHys              : FB_BA_AV_Op;
  SwiOnDiffT          : FB_BA_AV_Op;
  SwiOffDiffT         : FB_BA_AV_Op;
  Q                   : FB_BA_BV_Op;
  Sched               : FB_BA_SchedM;
END_VAR
VAR  NgtColFnct       : FB_BA_NgtCol;
END_VAR

FB_BA_AC_SumNgtCol 5: Inputs

Name

Type

Description

fTRm

REAL

Input measured value room temperature.

fSpRm

REAL

Input setpoint room temperature.

fTWth

REAL

Input for the weather temperature.

FB_BA_AC_SumNgtCol 6: Outputs

Name

Type

Description

bQ

BOOL

Summer night cooling switched on.

FB_BA_AC_SumNgtCol 7: Inputs CONSTANT

Name

Type

Description

WthTLoLmt

FB_BA_AV_Op

Input of the value for the lower outside temperature. The value is intended to prevent excessive cooling.

RmTHys

FB_BA_AV_Op

Input of the room temperature hysteresis.

SwiOnDiffT

FB_BA_AV_Op

Switch-on value Temperature difference between the room temperature and the outside temperature [K].

SwiOffDiffT

FB_BA_AV_Op

Switch-off value Temperature difference between the room temperature and the outside temperature [K].

Q

FB_BA_BV_Op

The BV object indicates that night cooling is switched on.

Sched

FB_BA_SchedM

The schedule object can be used to define periods in which night cooling is enabled.

Variables

Name

Type

Description

NgtColFct

FB_BA_NgtCol

The function block is the core of the template and includes the actual control process of the night cooling program.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0