.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 2026-07-05T18:59:05Z by OpenModelicaOpenModelica 1.27.0 using GenerateDoc.mos