.CRML.TimeLocators.Continuous.During

Information

Syntax

y = During(u = Boolean [, tl = master_time_period]);

Description

Returns the time periods that start when the Boolean on u becomes true and end when the Boolean on u becomes false. The opening and the closing events are included or excluded according to the values of the parameters leftBoundaryIncluded and rightBoundaryIncluded. The time periods are truncated by the master_time_period if provided on tl.

For more information, refer to the Periods block.

The Master block can be used to specify the same master period to all time periods of the same model.


Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos