Change

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

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The output is true if the Boolean input has either a rising edge from false to true or a falling edge from true to false, otherwise the output is false.

Parameters (1)

pre_u_start

Value: false

Type: Boolean

Description: Start value of pre(u) at initial time

Connectors (2)

u

Type: BooleanInput

Description: Connector of Boolean input signal

y

Type: BooleanOutput

Description: Connector of Boolean output signal