blockOnOffController
On-off controller
Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Information
Block that represents and on/off controller.
The block outputs true when
the input signal u falls below
the reference signal minus half of the bandwidth.
It sets the output signal to false when the input
signal u exceeds the reference signal
plus half of the bandwidth.
The parameter pre_y_start is used to initialize the
previous value of the output pre(y).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | bandwidth | Bandwidth around reference signal | |
| Boolean | pre_y_start | false | Value of pre(y) at initial time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | reference | Connector of Real input signal used as reference signal | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Connector of Real input signal used as measurement signal | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput | y | Connector of Real output signal used as actuator signal |
Revisions
-
December 11, 2023, by Jianjun Hu:
Moved this model to theObsoletepackage. This is for issue 3595. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.