blockCtrRegBasic

Controller for heating and cooling registers

Information

Simple controller for heating and cooling registers. The controlled variable is the air outflow temperature T_air_out. The pump (if existing in hydraulic circuit) operates at constant frequency and is always on.

Parameters

TypeNameDefaultDescription
BooleanuseExternalTsetfalseIf True, set temperature can be given externally
BooleanuseExternalTMeafalseIf True, measured temperature can be given externally
Modelica.Units.SI.TemperatureTflowSet293.15Flow temperature set point of consumer
Realk0.025Gain of controller
Modelica.Units.SI.TimeTi130Time constant of Integrator block
Modelica.Units.SI.TimeTd4Time constant of Derivative block
Realrpm_pump2000Rpm of the Pump
BooleanreverseActiontrueSet to true if a heating coil, and false if a cooling coil is controlled
PID
Modelica.Blocks.Types.InitinitType.Modelica.Blocks.Types.Init.InitialStateType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Realxi_start0Initial or guess value value for integrator output (= integrator state)
Realxd_start0Initial or guess value for state of derivative block
Realy_start0Initial value of output

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTsetConnector of second Real input signal
AixLib.Controls.Continuous.LimPIDPIDPID controller for valve opening
Modelica.Blocks.Sources.ConstantconstRpmPumpConstant pump speed
Modelica.Blocks.Sources.ConstantconstTflowSetConstant internal flow temperature setoint, if not external
Modelica.Blocks.Sources.BooleanConstantbooleanConstantPump is always on
BaseClasses.RegisterBusregisterBusConnector bus for register module
Modelica.Blocks.Interfaces.RealInputTMeaConnector of second Real input signal

Revisions

  • August 1, 2019, by Alexander Kümpel:
    Improvement.
  • October 18, 2018, by Alexander Kümpel:
    First implementation.