Spectrum#

( General )

#

Name

Type

Default

Units

Description

1

NumHarm

integer

Number of frequencies in this spectrum. (See CSVFile)

2

Harmonic

array of reals

Array of harmonic values. You can also use the syntax
harmonic = (file=filename) !for text file one value per line
harmonic = (dblfile=filename) !for packed file of doubles
harmonic = (sngfile=filename) !for packed file of singles

3

%Mag

array of reals

Array of magnitude values, assumed to be in PERCENT. You can also use the syntax
%mag = (file=filename) !for text file one value per line
%mag = (dblfile=filename) !for packed file of doubles
%mag = (sngfile=filename) !for packed file of singles

4

Angle

array of reals

Array of phase angle values, degrees.You can also use the syntax
angle = (file=filename) !for text file one value per line
angle = (dblfile=filename) !for packed file of doubles
angle = (sngfile=filename) !for packed file of singles

5

CSVFile

string

File of spectrum points with (harmonic, magnitude-percent, angle-degrees) values, one set of 3 per line, in CSV format. If fewer than NUMHARM frequencies found in the file, NUMHARM is set to the smaller value.

6

Like

string
(Spectrum name)
deprecated

Make like another object, e.g.:

New Capacitor.C2 like=c1 …