.CRML.ETL.Requirements.Functions.MathInteger.EventCounter

Event counter

Information

Syntax

y = EventCounter(u = condition, tl = time_period);

Description

This blocks computes the number of event occurrences on the Boolean4 condition u over time period tl (i.e. the total number of occurrences when u becomes true over tl).


Example

This block is demonstrated with the following example:


Generated at 2026-07-26T20:40:21Z by OpenModelicaOpenModelica 1.27.0 using GenerateDoc.mos