.Modelica_Requirements.ChecksInFixedWindow_withFFT.Internal.findBaseFrequency

Information

Find real base frequency (search around an interval of f_base for the largest amplitude

Interface

function findBaseFrequency
  import Modelica.Utilities.Streams.print;
  input Modelica.SIunits.Frequency f_resolution;
  input Modelica.SIunits.Frequency f_base;
  input Real searchInterval "in [%] of f_base";
  input Real A_buf[:];
  output Modelica.SIunits.Frequency f_baseReal;
  output Real A_baseReal;
  output Integer index_baseReal;
end findBaseFrequency;

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-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos