ModelicaStandardLibrary
ModelicaStandardLibrary copied to clipboard
Implemented and tested Triggered{Mean, RectifiedMean, RootMeanSquare}
I noticed that the blocks {Mean, RectifiedMean, RootMeanSquare} are extremely usefull to inspect the results of power electronics simulations, but they depend on constant frequency. Therefore I created a triggered version of these blocks. Mathematically it is not correct to talk about these characteristc values, if the period of the input signal is not constant. So the values during the periods of time with varying frequency are more or less an estimaton, but during peridos of time with constant frequency they are 100% correct. The blocks react on the positive edge of the Boolean trigger signal. For instance, in applications with synchronous machines the trigger could be deduced from the angle of rotation - once per revolution or once per polepair.