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

TypeNameDefaultDescription
RealbandwidthBandwidth around reference signal
Booleanpre_y_startfalseValue of pre(y) at initial time

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputreferenceConnector of Real input signal used as reference signal
Buildings.Controls.OBC.CDL.Interfaces.RealInputuConnector of Real input signal used as measurement signal
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyConnector of Real output signal used as actuator signal

Revisions

  • December 11, 2023, by Jianjun Hu:
    Moved this model to the Obsolete package. This is for issue 3595.
  • January 3, 2017, by Michael Wetter:
    First implementation, based on the implementation of the Modelica Standard Library.