BLDC.ToMSL.TriggeredMean

# .BLDC.ToMSL.TriggeredMean

Calculate mean over period determined by trigger

## Information

This block calculates the mean of the input signal u over the period dtermined by the edges of the trigger:

>      1   T
>     ---- ∫ u(t) dt
>     T-t0 t0

Note: The output is updated at each trigger instance.

If parameter yGreaterOrEqualZero in the Advanced tab is true (default = false), then the modeller provides the information that the mean of the input signal is guaranteed to be ≥ 0 for the exact solution. However, due to inaccuracies in the numerical integration scheme, the output might be slightly negative. If this parameter is set to true, then the output is explicitly set to 0.0, if the mean value results in a negative value.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos