DelayedRising model
Requirements.Examples.Elementary.LogicalBlocks.DelayedRising
ยท source
Example for DelayedRising (output is true, after a duration of a rising input edge and false after a falling input edge)
Extends Modelica.Icons.Example
Using logical block DelayedRising as
results in
![]() | |
| simulation result |
The input of delayedRising1 is true on [1, 3), [5, 5.2), [9, 9.2) and [9.5, 10.7) s. With
duration = 1 s, the output becomes true 1 s after a rising edge of the input and false at the falling
edge. It is therefore true on [2, 3) and [10.5, 10.7) s only; the true phases of 0.2 s at 5 s and 9 s are shorter than
the delay and do not appear in the output.
Components and variables
| Name | Type | Description |
|---|---|---|
timeTable | Modelica.Blocks.Sources.BooleanTable | Boolean signal true on [1,3), [5,5.2), [9,9.2) and [9.5,10.7) s |
delayedRising1 | Requirements.LogicalBlocks.DelayedRising | True 1 s after a rising edge of timeTable, false at its falling edge |

