blockOnDelay

Delay a rising edge of the input, but do not delay a falling edge.

Extends from Modelica.Blocks.Interfaces.PartialBooleanSISO_small (Partial block with a BooleanInput and a BooleanOutput signal and a small block icon).

Information

A rising edge of the Boolean input u gives a delayed output. A falling edge of the input is immediately given to the output.

Simulation results of a typical example with a delay time of 0.1 s is shown in the next figure.

OnDelay1.png
OnDelay2.png

The usage is demonstrated, e.g., in example Modelica.Blocks.Examples.BooleanNetwork1.

Parameters

TypeNameDefaultDescription
SI.TimedelayTimeDelay time

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputu (from PartialBooleanSISO_small)Boolean input signal
Modelica.Blocks.Interfaces.BooleanOutputy (from PartialBooleanSISO_small)Boolean output signal