modelPartialControllerInterface

Partial interface model for waterside economizer temperature controller

Information

This module implements a PID controller interface.

Parameters

TypeNameDefaultDescription
Booleanuse_controllertrueSet to ture if the built-in controller is enabled to maintain the outlet temperature on the load side of a heat exchanger
Controller
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PIDType of controller
Realk1Gain of controller
Modelica.Units.SI.TimeTi0.5Time constant of integrator block
Modelica.Units.SI.TimeTd0.1Time constant of derivative block
RealyMax1Upper limit of output
RealyMin0Lower limit of output
Realwp1Set-point weight for Proportional block (0..1)
Realwd0Set-point weight for Derivative block (0..1)
RealNi0.9Ni*Ti is time constant of anti-windup compensation
RealNd10The higher Nd, the more ideal the derivative block
BooleanreverseActingfalseSet to true for throttling the water flow rate through a cooling coil controller
Controller › Initialization
Modelica.Blocks.Types.InitinitTypeModelica.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
RealyCon_start0Initial value of output from the controller
Controller › Integrator reset
Buildings.Types.ResetresetBuildings.Types.Reset.DisabledType of controller output reset
Realy_resetxi_startValue to which the controller output is reset if the boolean trigger has a rising edge, used if reset == Buildings.Types.Reset.Parameter

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputtriggerResets the controller output when trigger becomes true
Modelica.Blocks.Interfaces.RealInputy_reset_inInput signal for state to which integrator is reset, enabled if reset = Buildings.Types.Reset.Input

Revisions

  • June 30, 2017, by Yangyang Fu:
    First implementation.