blockCtrMix

Controller for mixed and injection circuits

Information

Simple controller for admix and injection circuit. The controlled variable is the outflow temperature T_fwrd_out and controlled by a PID controller. The pump is always on and has a constant frequency.

Parameters

TypeNameDefaultDescription
BooleanuseExternalTsetfalseIf True, set temperature can be given externally
Modelica.Units.SI.TemperatureTflowSet289.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
Modelica.Units.NonSI.AngularVelocity_rpmrpm_pump2000Rpm of the Pump
BooleanreverseActiontrueSet to true if heating system, and false for cooling system
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.LimPIDPID
Modelica.Blocks.Sources.ConstantconstRpmPump
Modelica.Blocks.Sources.ConstantconstTflowSet
Modelica.Blocks.Sources.BooleanConstantbooleanConstant
BaseClasses.HydraulicBushydraulicBus

Revisions

  • January 22, 2019, by Alexander Kümpel:
    External T_set added.
  • October 25, 2017, by Alexander Kümpel:
    First implementation.