modelController

PID controller with optional output reset

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Controller model for Buildings.Controls.Continuous.Examples.LimPIDWithReset.

The controller is reset whenever the input signal becomes bigger than 30°C.

Implementation

To compare the effect of the controller output reset, the plant and control models have been implemented in separate blocks so they can be instantiated twice in the system model with the appropriate control settings.

Parameters

TypeNameDefaultDescription
Buildings.Types.ResetresetBuildings.Types.Reset.DisabledType of controller output reset

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTSetTemperature set point
Modelica.Blocks.Interfaces.RealInputu_mMeasured temperature
Modelica.Blocks.Interfaces.RealOutputyControl signal

Components

TypeNameDefaultDescription
Buildings.Controls.Continuous.LimPIDconPIDPI controller
Modelica.Blocks.Math.GaingainGain for heat flow rate
Modelica.Blocks.Logical.GreaterThresholdtriggerTrigger input for controller reset

Revisions

  • October 10, 2016, by Michael Wetter:
    Added full path in the type declaration.
    This is for issue 540.
  • October 3, 2016, by Michael Wetter:
    First implementation.