Until block

Requirements.TimeLocators.Until  ยท source

Icon of Until

Output is true, until first rising edge of input

Syntax

condition = Until(u=...).y;

Description

Until the first rising edge of Boolean input u, output y = true. Afterwards, y = false. If input u = true at initialization, y = false always.

Example

This block is demonstrated with the following example:

results in

simulation result

Inputs

NameTypeDescription
u inputBooleanBoolean input

Components and variables

NameTypeDescription
yModelica.Blocks.Interfaces.BooleanOutput= true, after first rising edge of u