.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-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos