baseAmplitudeForIcon function
Requirements.ChecksInFixedWindow_withFFT.Internal.baseAmplitudeForIcon
· source
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
| 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. |
Inputs
| Name | Type | Description |
|---|---|---|
f_baseReal input | SI.Frequency | Real base frequency |
f_max_plot input | SI.Frequency | Frequency at the right end of the icon plot |
A_f_baseReal input | Real | Amplitude at f_baseReal |
A_max_plot input | Real | Maximum amplitude in % |
Outputs
| Name | Type | Description |
|---|---|---|
line[…] output | Real | Vertical line from the frequency axis to A_f_baseReal in icon coordinates |