.Modelica_Requirements.TimeLocators.AfterUntil

Output is true, after rising edge of input 1 until the rising edge of input 2

Information

Syntax

condition = AfterUntil(u1=...,u2=...).y;

Description

At a rising edge of Boolean input u1, output y = true until the Boolean input u2 has a rising edge. If input u1 = true at initialization, y = true.

Example

This block is demonstrated with the following example:

results in

simulation result

Generated at 2025-04-15T18:20:12Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos