modelLimPIDReset

Test model for PID controller with optional intgerator reset

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model tests the implementation the Buildings.Controls.Continuous.LimPID with integrator reset.

The instance limPIOri is the original implementation of the controller from the Modelica Standard Library. The instance limPIWithReset is the implementation from this library with integrator reset enabled. Whenever the boolean pulse input becomes true, the integrator is reset to y_reset.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.SinesetPoiSet point signal
Buildings.Controls.Continuous.LimPIDlimPIDParPId controller with integrator reset to a parameter value
Modelica.Blocks.Sources.ConstantmeaMeasured signal
Buildings.Controls.Continuous.LimPIDlimPIDDefPID controller without integrator reset
Modelica.Blocks.Sources.BooleanPulsetriggerBoolean pulse to reset integrator
Buildings.Controls.Continuous.LimPIDlimPIDInpPId controller with integrator reset to an input value
Modelica.Blocks.Sources.ConstantconResSignal to which integrator will be reset to
Modelica.Blocks.Continuous.LimPIDlimPIDOriPID controller from Standard Modelica Library
Buildings.Utilities.Diagnostics.AssertEqualityassEqu

Revisions

  • September 29, 2016, by Michael Wetter:
    Revised example to increase code coverage.
  • August 25, 2016, by Michael Wetter:
    Revised documentation and added script for regression test.
  • August 02, 2016, by Philipp Mehrfeld:
    First implementation.