.Modelica_Requirements.Examples.Elementary.ChecksInFixedWindow_withFFT.MaxTotalHamonicDistortion1

Information

Using check block MaxTotalHarmonicDistortion as

The amplitutes of the FFT are dynamically displayed in the icon of the block (in black). The computed amplitude of the base frequency is shown in green:

Simulating this examples results in

simulation result

A plot of the FFT result file is shown in the next figure:

Revisions

Date Description
Nov. 29, 2015 Initial version implemented by Martin R. Kuhn and Martin Otter (DLR Institute of System Dynamics and Control)
The research leading to these results has received funding from the European Union’s Seventh Framework Programme (FP7/2007-2016) for the Clean Sky Joint Technology Initiative under grant agreement no. CSJU-GAM-SGO-2008-001.

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