.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 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos