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, users can specify them in a file. There are two available input file formats: Legacy format and IEC Standard format (based on IEC Standard 61400-21-3, Tables 1 and 2 on Page 23).

 

The legacy 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 IEC Standard format of the file is as follows:

 

!HarmonicNumber  Frequency(Hz)  Harm. RMS [%]   Phase[deg]

1.0              50.0           70.710678118    0.0
1.5              75.0           353.553390593   5.0
2.0              100.0          7.0710678118    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 portsSpecified in a file (Legacy) or Specified in a file (IEC).

 

 

 

 

 

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.