Harmonic Signal Generator

 

Description

This component generates a signal composed of user-defined harmonics of varying magnitudes and phases. Harmonic numbers and associated peak magnitudes and phases can be input through ports as an array signal. Alternatively, the user can specify them from a file.

 

The format of the input file is as follows:

 

!HarmonicNumber   PeakMagnitude  Phase[deg]

1.0                  1.0         0.0

2.0                  0.1         10.0

...

 

The phase angles should be specified in degrees in both forms. The output signal can be used as the instantaneous value of a current or voltage source if the user desires to do so.

Input Parameters

ConfigurationConfiguration

 

Name

 

Text

 

Enter a descriptive name for the component (optional).

 

 

 

 

 

 Base Frequency

 

REAL

Literal

 [Hz]

 

 

 

 

 

Number of Harmonics

 

INTEGER

Literal

 

 

 

 

 

 

Data Input Form

 

Choice

 

Select Through ports or Specified in file.

 

 

 

 

 

Filename

 

Text

 

Enter a file name and path.

 

 

 

 

 

Path to the File

 

Choice

 

Select Absolute or Relative.

 

Select Relative if the given file path is relative to the current working directory.