blockEdge

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

Information

Block that outputs true if the Boolean input has a rising edge from false to true. 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 true

Revisions

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