.DESLib.SIMANLib.Elements.DStat

Information

This element computes a discrete-time statistical indicator for a given discrete variable or expression. The statistical indicator includes the mean, the maximum value, the minimum value and the number of observations.

Each time the value of the expression changes, the statistics are updated.

Results are written to the OutFile (by default SIMANLIB_RESULTS.txt), at the end of the simulation. The parameter Name will be used to identify the entry in the results file, so it is very useful to set a significant name for this element.

Definition

model DStat = SRC.Elements.DStat;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos