.CRML.TimeLocators.Continuous.While

While time locator

Information

Syntax

y = While(u = opening_or_closing_event [, tl = master_time_period]);

Description

While is a special case of a continuous time locator with no overlapping time periods.

Opening and closing events are respectively delivered on input u when u becomes respectively true and false.

For more information, refer to the Periods block.

While can only be used as the master time locator of a 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