After block
Requirements.TimeLocators.After
ยท source
Output is true, after first rising edge of input
Syntax
condition = After(u=...).y;
Description
At the first rising edge of Boolean input u, output y = true (and remains true). If input u = true at initialization, y = true always.
Example
This block is demonstrated with the following example:
results in
![]() | |
| simulation result |
Inputs
| Name | Type | Description |
|---|---|---|
u input | Boolean | Boolean input |
Components and variables
| Name | Type | Description |
|---|---|---|
y | Modelica.Blocks.Interfaces.BooleanOutput | = true, after first rising edge of u |

