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

  • January 3, 2017, by Michael Wetter:
    First implementation, based on the implementation of the Modelica Standard Library.