.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-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos