OnDelay

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

Information

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

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 (1)

delayTime

Value:

Type: Time (s)

Description: Delay time

Connectors (2)

u

Type: BooleanInput

Description: Boolean input signal

y

Type: BooleanOutput

Description: Boolean output signal

Used in Examples (1)

BooleanNetwork1

Modelica.Blocks.Examples

Demonstrates the usage of blocks from Modelica.Blocks.MathBoolean