.Modelica_Requirements.TimeLocators.Every

Information

Syntax

condition = Every(interval=..., duration=...).y;

Description

Output y = true, after every interval seconds for duration seconds. Otherwise y = false. The periodic interval starts at time = 0s.

Example

This block is demonstrated with the following example:

results in

simulation result

Generated at 2021-02-27T02:00:42Z by OpenModelicaOpenModelica 1.18.0~dev-99-g88339b4 using GenerateDoc.mos