blockFallingEdge

Output y is true, if the input u has a falling edge (y = edge(not u))

Information

Block that outputs true if the Boolean input has a falling edge from true to false. Otherwise the output is false.

Parameters

TypeNameDefaultDescription
Booleanpre_u_startfalseStart value of pre(u) at initial time

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuInput to be monitored
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyOutputs true when the input switches to false

Revisions

  • September 10, 2026, by Antoine Gautier:
    Removed redundant start attribute on input. This is for IBPSA, #2170.
  • July 17, 2026, by Antoine Gautier:
    Replaced initial equation with start attribute on input. This is for IBPSA, #2136.
  • January 3, 2017, by Michael Wetter:
    First implementation, based on the implementation of the Modelica Standard Library.