baseAmplitudeForIcon function

Requirements.ChecksInFixedWindow_withFFT.Internal.baseAmplitudeForIcon  · source

Icon of baseAmplitudeForIcon

Determine amplitude line of base frequency for icon

Extends Modelica.Icons.Function

Returns a vertical line in the icon coordinates of the FFT blocks (x from -260 to 260 for frequencies 0 .. f_max_plot, y from -260 to 160 for amplitudes 0 .. A_max_plot) from the frequency axis at f_baseReal up to amplitude A_f_baseReal. It marks the real base frequency found by findBaseFrequency in the icons of WithinRelativeDomain and MaxTotalHarmonicDistortion.

Revisions

DateDescription
Nov. 29, 2015Initial 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.

Inputs

NameTypeDescription
f_baseReal inputSI.FrequencyReal base frequency
f_max_plot inputSI.FrequencyFrequency at the right end of the icon plot
A_f_baseReal inputRealAmplitude at f_baseReal
A_max_plot inputRealMaximum amplitude in %

Outputs

NameTypeDescription
line[…] outputRealVertical line from the frequency axis to A_f_baseReal in icon coordinates