Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Fourier Analysis

The Fourier analysis component performs a Fourier analysis of the input signal over a running window of one cycle of the fundamental frequency of the signal. 

The output is held constant to the Initial magnitude and Initial phase values for one cycle of the specified fundamental frequency connected to the second input of the component.

Symbol

Mask Parameters

NameDescriptionUnitVariable = {Possible Values}
DescriptionUse this field to add all kinds of information about the component
Description = {'string'}
Fundamental frequencyFundamental frequency used for the calculation of the Fourier analysis over a running windowHzFnom = { [0, 1e12] }
Rank of the harmonicsHarmonic component for Fourier analysis. The value 0 is for analyzing the DC component, the value 1 is for analyzing the fundamental frequency and the value n is for analyzing the harmonic n
n = { [0, 100] }
Initial magnitudeInitial value of the magnitude of the output signal for the first simulation cycle. This value cannot be modified during the simulation
MagInit = { [0, 1e12] }
Initial phaseInitial value of the phase of the output signal for the first simulation cycle. This value cannot be modified during the simulation°PhaseInit = { [0, 360] }

Input/Output Signals

Name

DescriptionType

In

Input signal.

Input

Mag

Signal containing the amplitude of the specified harmonic component.

Output

Pha

Signal containing the phase of the specified harmonic component.

Output

Sensor Descriptions

Name

DescriptionType

In

Input signal.No Unit

Mag

Signal containing the amplitude of the specified harmonic component, in the same Units as the input signal.No Unit

Pha

Signal containing the phase of the specified harmonic component, in the same Units as the input signal.No Unit

Internal Circuit of the Component


Example Model

This example demonstrates the use Fourier block to compute the fundamental magnitude and angle of a signal with harmonics. 

Note that the following demo requires that users edit the ScopeView template, and replace the existing .oprec data source with the data generated during the simulation

Simulation results

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323