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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Sine | setPoi | Set point signal | |
| Buildings.Controls.Continuous.LimPID | limPIDPar | PId controller with integrator reset to a parameter value | |
| Modelica.Blocks.Sources.Constant | mea | Measured signal | |
| Buildings.Controls.Continuous.LimPID | limPIDDef | PID controller without integrator reset | |
| Modelica.Blocks.Sources.BooleanPulse | trigger | Boolean pulse to reset integrator | |
| Buildings.Controls.Continuous.LimPID | limPIDInp | PId controller with integrator reset to an input value | |
| Modelica.Blocks.Sources.Constant | conRes | Signal to which integrator will be reset to | |
| Modelica.Blocks.Continuous.LimPID | limPIDOri | PID controller from Standard Modelica Library | |
| Buildings.Utilities.Diagnostics.AssertEquality | assEqu |
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.