Beruflich Dokumente
Kultur Dokumente
Version 2.10.41
December 1995
Legal Notice
Copyright 1994 Electrotek Concepts, Inc.
Information contained in this document is subject to change without
notice. The software described in this document is furnished under a
nondisclosure agreement. No part of this document may be reproduced,
transmitted, transcribed, translated, or stored in a retrieval system in any
form.
Printed in the United States of America.
TOP, The Output Processor and SuperHarm are registered trademarks
of Electrotek Concepts, Inc. No investigation has been made of
trademark rights to any term used in this document. Known trademarks
are acknowledged below.
V-HARM is a registered trademark of Cooper Power Systems, Inc.
Microsoft and Windows are registered trademarks of Microsoft
Corporation. IBM is a trademark of International Business Machines
Corporation. In this document, DOS and OS/2 refer to both the
Microsoft and IBM versions of these operating systems.
Credits
Program Author:
Erich W. Gunther
Afroz Khan
Rory Dwyer
Tom Grebe
Erich W. Gunther
Abstract
Visualization of simulation results from time and
frequency domain programs and measurement data from
a variety of monitoring systems is now available in a
personal computer-based (PC), graphical user interface
(GUI).
Waveform and tabular data from multiple
simulation programs and monitoring devices can be
displayed simultaneously. Post processing of simulation
and measurement data using commonly needed
mathematical/statistical functions allows engineers to
easily integrate, compare, and visualize power system
data from several different sources. This User's Guide
describes the Windows based output processor - TOP.
Electrotek Support
TOP, The Output Processor is supported by Electrotek
Concepts, Inc.
Today, Electrotek works with a nationwide pool of clients
including electric utilities, equipment vendors, and
research organizations bringing together the expertise
necessary to assess the requirements for integrating new
concepts and technologies into the electric power system.
Electrotek has the capabilities required for specialized
engineering consulting services, equipment design and
procurement, and implementation of software and
hardware systems to meet electric utility industry needs.
For TOP Support, Contact:
Electrotek Concepts, Inc.
10305 Dutchtown Road, Suite 103
Knoxville, TN 37932
(800) 554-4767 or (615) 675-1500
Fax (615) 966-5497
480 San Antonio Road, Suite 200
Mountain View, CA 94040
(415) 941-2986
Fax (415) 941-7092
I N T R O D U C T I O N ................................................................................i-1
Getting Started............................................................................................. i-1
What is TOP?............................................................................................ i-3
TOP's Data Capabilities........................................................................... i-3
Data Management Capability ............................................................. i-4
Data Display Capability ...................................................................... i-4
Data Processing Capability ................................................................. i-5
Data Formatting Capability ................................................................ i-6
Data Sharing Capability ..................................................................... i-7
What Programs / Monitors Work With TOP? ......................................... i-7
How to Use This Manual ......................................................................... i-7
Introduction.......................................................................................... i-7
Using TOP ............................................................................................ i-7
Stack Management .............................................................................. i-7
Working with Graphs .......................................................................... i-8
Working with Tables............................................................................ i-8
Common Procedures ............................................................................ i-8
Installing the Software ............................................................................ i-9
Running SETUP .................................................................................. i-9
Using Microsoft Windows ...................................................................... i-10
Quick Tour.............................................................................................. I-16
C H A P T E R 1 ............................................................................................ 1-1
Using TOP ................................................................................................... 1-1
Starting the TOP Program ..................................................................... 1-3
Setting Display Preferences ................................................................... 1-4
The Status Line................................................................................... 1-5
The Ribbon .......................................................................................... 1-6
Modifying the Preferences.................................................................. 1-6
Creating Graphs and Tables .................................................................. 1-7
Opening a Data File............................................................................ 1-7
Loading Data onto the Stack.............................................................. 1-8
Discarding Data From the Stack ....................................................... 1-9
Creating a Quick Graph ................................................................ 1-10
Utilizing a TOP Table....................................................................... 1-12
Printing.................................................................................................. 1-14
Printer Set Up................................................................................... 1-14
Page Layout....................................................................................... 1-15
Printing TOP Displays ..................................................................... 1-15
Using the Help System ......................................................................... 1-16
Using TOP with other Applications ..................................................... 1-17
Copying to the Windows Clipboard ................................................. 1-17
C H A P T E R 4 ............................................................................................ 4-1
Working with Tables ................................................................................... 4-1
What Types of Tables are Available? ..................................................... 4-3
Using Tables............................................................................................ 4-4
Editing Tables ..................................................................................... 4-4
Creating a Table...................................................................................... 4-6
Curve Minimum and Maximum ............................................................. 4-8
Waveform Summary ........................................................................... 4-9
Waveform Data Points...................................................................... 4-10
Frequency Domain Data................................................................... 4-11
Harmonic Summary Table ............................................................... 4-12
Magnitude vs. Switch Operation...................................................... 4-13
IEEE 519 Current Limits ................................................................. 4-14
C H A P T E R 5 ............................................................................................ 5-1
Common Procedures.................................................................................... 5-1
Graphical Manipulations........................................................................ 5-3
Multiple Graphs in a Single Frame ................................................... 5-3
Multiple Graphs in the Same Window .............................................. 5-4
Base Quantities Example ..................................................................... 5-12
Harmonic (H pu) to Hertz (Hz) ....................................................... 5-12
Per-Unitizing..................................................................................... 5-14
TOP Calc Examples .............................................................................. 5-18
Spectrum to Waveform ..................................................................... 5-18
Waveform to Spectrum ..................................................................... 5-21
Line-Ground to Line-Line................................................................. 5-26
Energy Calculation ........................................................................... 5-28
New Graph Features............................................................................. 5-30
RX Locus Plots .................................................................................. 5-30
A P P E N D I X A ......................................................................................... A-1
TOP Data Filters .........................................................................................A-1
COMTRADE Objects ..........................................................................A-3
EMTP Objects .....................................................................................A-5
HarmFlo Objects .................................................................................A-7
SuperHarm Objects ............................................................................A-8
V-HARM Objects...............................................................................A-12
Dranetz Objects.................................................................................A-13
PQNode Objects ................................................................................A-15
Square D Objects ..............................................................................A-16
INTRODUCTION
Getting Started
This introduction serves as a starting point for those users who are not
familiar with TOP, The Output Processor (hereafter referred to as
TOP). The following sections provide an overview of the program
including the powerful main features which comprise TOP and how to
run them in coordination with other Windows Applications.
This chapter also describes in a step by step procedure, how to setup
TOP to run, including hardware and software requirements. For
those users ready to start using TOP immediately, the final section in
this introduction is a quick tour of the program highlighting the
necessities as well as the most common applications for TOP.
In This Chapter
What is TOP?
TOPs Program Structure
TOPs Data Capabilities
What Programs/Monitors
Work with TOP?
i-2
Getting Started
i-3
i-4
What is TOP?
TOP is an acronym for The Output Processor and is responsible for
the visualization of data from time and frequency domain solvers and
monitoring systems. The Microsoft Windows operating environment
was chosen for TOP due to its popularity, GUI, multitasking ability,
ease of use, and inherent capability to facilitate data sharing between
applications.
TOP supports many different data formats including:
Data Management
Data Display
Data Processing
Data Formatting
Data Sharing
Getting Started
i-5
i-6
Getting Started
i-7
The Set Per-Unit Base Quantities option allows the user to control
scaling for each stack object individually. This command may seem
redundant, given that TOPCalc allows division by a constant; however,
the effect is not the same because TOPCalc creates a new object while
base quantities acts directly upon the selected object. This feature is
useful for displaying measured and simulated data on the same axis.
Another TOP function available to the user is the units command.
This option is used when the user needs to assign a different set of
units to the displayed object. Although TOP automatically assigns
units to the X and Y variables of an object when it is created (load from
input file), there are instances when the user will need to change the
values. An example of this is energy in an EMTP PL4 file. Due the
structure of an EMTP output file, TOP assumes that the object is a
current and the user must change the Y axis display from Current to
When TOP loads a stack object it prepares information for a data
block. The contents of the data block varies depending on the object
and input file type. As an example, the data block for a simulated dc
drive harmonic spectrum would include the following information:
Freq:
Fund:
THD:
RMSh:
RMS:
ASUM:
TIF:
60
293.9
35.2
103.5
311.6
455.1
353.1
(fundamental freq)
(fundamental value)
(harmonic distortion)
(harmonic rms)
(total rms)
(arithmetic sum)
(telephone influence)
TOP also provides the user with the flexibility to control the display
colors, X and Y axis zooming (keyboard or mouse controlled), tick
marks and grid lines, and axis labels.
i-8
Introduction
This chapter contains an overview of the program. A quick tour is
included for users who want to get started with TOP right away.
Using TOP
This chapter contains information pertaining to the usage and
configuration of the program.
Stack Management
This chapter discusses how to open simulation and measurement
program output files, and how to retrieve quantities of interest from
them. It also covers how to per unitize quantities, and how to create
new quantities with TOPCalc. All TOP users, beginning or advanced,
need to understand stack management operations - read this
Getting Started
i-9
chapter in detail. A detailed section on the data filters available is
included here.
Common Procedures
This chapter outlines in a step by step procedure common applications
performed in TOP. This includes applications in TOP Calc as well as
using the New Graph feature.
i - 10
Running SETUP
The following steps should be followed to install TOP:
1. Place the TOP setup disk #1 in one of your machine's floppy drives
(the following steps assume A drive).
2. Start Windows, if not already running, and open the Windows
Program Manager File Menu.
3. Select Run, then type A:\SETUP. When prompted, select the
Continue button to begin the installation.
4. The Setup program prompts you to specify the drive and directory
in which to install TOP. The default is C:\ETKPROG\TOP. Select
OK to continue the installation.
5. When prompted, replace Setup disk #1 with disk #2.
6. This version of TOP installs all filters when the program is first
installed. There is no need to install any additional files.
7. The Setup program will create a new program group
Tools) containing the TOP icon.
(Simulation
Getting Started
i - 11
i - 12
Operation
Menu Commands
Open a menu
menu
bar
Or
Press the key for the
underlined letter in the
item name.
For
example, press C for
Copy.
A Typical
Dialog Box
L is t
Box
R a d io
B u tto n s
Text
Boxes
B u tto n s
Getting Started
i - 13
Operation
F ramed Button
Press Tab/Shift+Tab to
select (button becomes
framed), then press
Enter.
Or
Press the key for the
underlined letter in the
button name, if any.
Press Tab/Shift+Tab
to move to the list.
Or
Press the key for the
underlined letter in
the check box name.
Press spacebar
select/unselect.
to
Press Tab/Shift+Tab
to move to the group.
Press Tab/Shift+Tab
to move to the group.
Use keys to move
to the check box.
i - 14
Operation
Click box.
Type/edit data.
Press Tab/Shift+Tab
to move to group
containing text box.
Use keys to move
to text box.
Type/edit data.
Or
Press the key for the
underlined letter in the
text box name.
Click text box to enter
data or click to open
list box.
Use a combination
text/drop-down list box
Press Tab/Shift+Tab
to move to text box.
Type/edit data.
Or
Press Alt+/Alt+ to
move to item in list.
Press spacebar to
select/unselect.
SuperHarm Output
Move a window
Press Alt+Hyphen.
Use keys to
move window.
Press
Enter
to
confirm or Esc to
cancel.
Getting Started
i - 15
Operation
Maximize a window
Maximize button
Scroll
Bars
Scroll Up Button
Scroll Box ("Thumb")
Restore
Button
i - 16
Operation
Select Minimize.
Double-click
desired
icon. (To double click
an object means to
point to the object then
click the left button
twice
in
rapid
succession.)
Select Restore.
Click on an exposed
part of window. If no
part of window is
visible, use procedure
described for keyboard.
Minimize button
BUSB(Type 1)
* Although many windows can be displayed on the desktop, only one can receive commands - the
active window. The active window is recognized on the desktop by its highlighted title bar, and in
the Window menu by a check mark beside the widow title.
Organize windows on the desktop
Close a window
Control menu button
Double-click
menu button.
Control
Select Close.
Getting Started
i - 17
Quick Tour
The remainder of this introduction is a quick overview of the
fundamentals necessary to begin using TOP now. The following
features are briefly introduced.
Starting TOP
Opening an Output File
Placing Objects on the Stack
Using TOPCalc
Creating a Graph
Getting Help
Printing
Closing TOP
More advanced features and details for each of the above subjects can
be seen in the following chapters.
i - 18
Starting TOP
If the TOP icon is visible on the Program Manager desktop. (Arrangement varies; an
example of the desktop is shown below.)
Double-click the TOP icon. You can also start TOP from the programs that
support TOP directly (HarmFlo+ and the EMTP for Windows workstation). Start
the workstation by double-clicking its icon, then double-click the TOP icon in the
workstation window.
Getting Started
i - 19
Type the full path name for TOP.EXE. (It is not necessary to include the EXE
extension.) Unless you specified otherwise when installing the EMTP for
Windows or HarmFlo+ workstation, the path will be c:\etkprog\top\top.exe.
Use the List Files of Type list box to select IEEE COMTRADE CFG Files
Use the Drives and Directories list boxes to select the top\examples subdirectory
under the etkprog directory.
In the list box under the File Name text box, double-click fdr25kv.cfg. If you do
not have a mouse, select this file in the list box, or type the file name in the text
box; then select OK.
i - 20
Select OK.
Getting Started
i - 21
Select the Curve option in the upper right corner of the TOPCalc dialog box.
i - 22
Note: The new object is distinguished from the other objects in the list by the
DERIVED tag in its name
Rename the DERIVED solution to a unique name at the Name fields. (PhaseC)
Getting Started
i - 23
Creating a Graph
In this step, we will display a plot of our derived object.
Select the derived object, (1_A)(PhaseC) in the list box as well as the Phase A
(1_A) and Phase B(3_A) waveforms.
Select OK.
TOP opens a display window and creates the graph with all three phases overlaid.
i - 24
Getting Help
TOP supports the standard Windows help facility. There are two ways to get help.
If a menu or dialog box is open:
Press F1. This opens the help index to the section covering the open menu or
dialog box.
Otherwise:
Help, Index
Button
or
To exit the help system, use the procedure described below for closing TOP.
Press F1.
To exit the help system, use the procedure described below for closing TOP.
Printing
There are several ways of printing TOP displays. The method shown here is the
easiest - direct printing of a single display window.
Closing TOP
Press Alt+F4, or
Getting Started
i - 25
CHAPTER 1
Using TOP
This chapter describes the main features available in TOP and how to
run them under Windows, including how to tailor the display setups
for individual needs. Commonly utilized features such as printing,
creating graphical outputs and TOPs expanded Help System are
discussed in detail.
TOPs utilities are introduced in detail at the end of this chapter. This
consists of; Building an EMTP SOS file, Starting a Calculator,
Starting a Word Processor, Starting a Spreadsheet, and Viewing a
Text File.
In This Chapter
Starting the TOP Program
Setting the Display
Preferences
Creating Graphs and Tables
Printing with TOP
1-2
Using TOP
1-3
TOP
The TOP program is started by double clicking on the TOP icon or the
TOP.EXE program listed in the Windows File Manager program.
Figure 1.1 illustrates the most common method (icon) for starting
TOP.
1-4
Figure 1.4A
Electrotek Concepts, Inc.
Using TOP
1-5
The Preferences dialog box, illustrated in Figure 1.4B, will then
appear.
and the status line at the bottom of the TOP window provides
information pertaining to the state of the program. It is recommended
that the user always display the status lines.
1-6
The Ribbon
The ribbon
is a set
of buttons which appear under the TOP menu bar. These buttons
provide a shortcut method for accessing the most commonly used TOP
functions (you must have a mouse to use the ribbon). The following
table summarizes the functions of each of the ribbon buttons.
Table 1.1 - TOP's Ribbon Buttons
Function
Function
File, Open
Edit, Copy
Stack, Load
Stack, Discard
Stack, TOPCalc
Graph, Animate
Table, Select
Help, Index
Using TOP
1-7
4. Set or clear the Use Line Styles check box. This option defines
whether the legend block should distinguish between several plots
by color or different lines styles. See page 3-17 for a description.
5. Set or clear the Data Block Initially On check box. See page 3-15 for
a description of the data block.
6. Set or clear the Comment Block Initially On check box. Comment
blocks, also called annotations, are discussed on page 3-12 and 314.
7. Set or clear the Legend Initially On check box. Legend blocks are
discussed on page 3-16 and 3-18.
8. The ribbon provides quick access to your word processor and
spreadsheet programs. TOP assumes that:
File
Open
Electrotek Concepts, Inc.
1-8
Using TOP
1-9
Figure 1.6 - TOP's Dialog Box for loading IEEE COMTRADE data
objects
The Stack, Load... menu option button on the ribbon can also be used
to access data objects after they have been opened. This feature is
useful if additional items need to be added to the stack.
Load
Stack
Stack
Discard
Button
Electrotek Concepts, Inc.
1 - 10
Figure 1.7
TOP will not allow you to load a quantity of the same name onto the
stack. Therefore, it is necessary to rename the quantity or simply
discard the previous object before loading the new one.
Remember: Deleting an object will cause any window containing the
object to be closed. This may not be your intention if the window
contains other objects that are not being deleted, so be careful when
using this command.
Quick
Graph
Butto
n
Electrotek Concepts, Inc.
Using TOP
1 - 11
Once the Quick Graph... option is selected the following dialog box is
displayed:
Figure 1.8
2. Select one or more stack objects from the list box.
3. If you selected more than one object in step 3, select one of the
following radio buttons:
1 - 12
Select
Table
Once the Table, Select... option is selected the following dialog box is
displayed:
Using TOP
1 - 13
Figure 1.10
2. Select the Table Type from the drop-down list box. In this case the
Frequency Domain Data.
3. TOP lists the Stack Objects that are compatible with the table
type. Select one or more objects from the list box.
4. Select OK to create the table, or Cancel.
TOP immediately opens a display window and creates the following
table in Figure1.11:
1 - 14
Printing
This section explains the procedures for producing a hardcopy of
TOP's graphs and tables. Most of the commands discussed in this
chapter affect the active display window. Read pages I-11 to I-15 if
you are not familiar with this term or TOP's window management
commands.
Printer Set Up
This option allows you to select the target printer, and to change
printer settings such as paper size and orientation.
1. Open the File menu.
2. Select Printer Setup. The following dialog box is displayed:
Figure 1.12
3. Use the Printer radio buttons to accept or override the default
printer (set by Windows Control Panel). If you select the Specific
Printer button, use the drop-down list box to select the desired
printer.
4. Select page orientation with the Portrait and Landscape radio
buttons.
5. Select Paper Size from the drop-down list box.
available depend on the printer selected.
The choices
The choices
Using TOP
1 - 15
Page Layout
This command is used to specify the title and margins used for
printing the active window; no other windows are changed. Settings
remain in effect for all subsequent printings of that window. TOP
may adjust the margins specified in this command in order to
maintain the correct aspect ratio in the printed window.
1. Open the File menu.
2. Select Page Setup.
3. The default margins are shown below.
margins in decimal fractions of an inch.
Figure 1.13
Print
Active
Button
1 - 16
or
1. Open the File menu.
2. Select Print Active.
To print an inactive window, or several windows at once:
1. Open the File menu.
2. Select Print. The following dialog box is displayed:
Figure 1.14
3. Select one or more windows from the list box.
4. Use the All and None buttons to select/unselect all windows in the
list.
5. Select OK or Cancel.
At this point, Windows takes control of the print job, and will display a
dialog box asking for a page range to print, whether the output should
be sent to the printer or to a file, etc. Refer to your Windows
documentation for information on these options.
Using TOP
1 - 17
To accomplish this from the ribbon bar, the Help button, indicated
below, should be selected.
Help
Button
For those users not familiar with Help systems, the Help, Using
Help... menu option provides a thorough introduction.
1 - 18
Using TOP
1 - 19
Graphs:
Figure 1.15
3. Select the desired format using the Save File as Type list box.
4. The export file will be placed in the drive and directory shown on
the upper left corner of the dialog box. Use the Files/Directories
list box to change this path. To change the drive, double click the
appropriate letter (e.g. [-a-]). If you do not have mouse, select the
letter and then select OK. Follow the same procedure to change the
directory. (Selecting the entry [..] moves the current directory up
one level.)
5. The appropriate file extension appears in File Name text box.
Replace the asterisk (*) with a legal DOS file root name (eight
alphanumeric characters or less. Certain special characters, such
as $, %, &, and ! are allowed.)
6. Select OK to create the export file, or Cancel to Abort.
1 - 20
Using TOP
1 - 21
Figure 1.16
After selecting the appropriate .DAT file the SAVE AS dialog box will
appear asking for the name of the generated SOS file. The extension
for this file must be SOS.
Figure 1.17
Electrotek Concepts, Inc.
1 - 22
Select
Word
Both of these methods use the path specified in the Edit, Preferences...
dialog box to find the word processor of the users choice. (See Figure
1.4)
Starting a Spreadsheet
Starting a spreadsheet from TOP is similar to starting a word
processor. There are two ways of accomplishing this.
1. Open the File menu.
2. Select Utilities . . . Start Spreadsheet
or:
1. Select the Excel Button indicated below on the ribbon.
Select
Excel
Button
As discussed earlier, to specify the desired path for the spreadsheet of
the users choice simply select Edit, Preferences... from the TOP menu.
(See Figure 1.4)
Using TOP
1 - 23
Starting a Calculator
Another utility option available in TOP is to start a calculator from
the program. This can be achieved by simply selecting the button
indicated below on the ribbon.
Start
Calculat
Button
Upon activating this, the Windows Calculator program is started.
Figure 1.18
3. In the List Files of Type dropbox, the View ASCII File option lists
all the files including text files.
4. Upon selection of the text file click the OK radio button or press
enter on the keyboard. (To get out of the dialog box with no
selection simply click Cancel)
TOP will then bring up the file to be viewed.
1 - 24
CHAPTER 2
Stack Management
This chapter describes the process for opening simulation and
measurement program output files, and how to retrieve quantities of
interest from them by appropriate stack management. It also provides
an introduction into the usage of the tools available. For users familiar
with TOP, this chapter includes valuable features about the expanded
TOP data filters.
In This Chapter
What is the Stack?
Stack Object Identifiers
Modifying Stack Objects
Using TOPCalc
2-2
Stack Management
2-3
Measuring
Equipment
V -HARM,
HARMFLO
for W indows
SuperHarm
TOPCalc
i ( t )dt
Others:
COMTRADE
A scii CSV
E M T P /A T P
Graphs
Tables
Stack
2-4
Load
Per unitize
Objects
Objects
on Stack
Create New
Objects with
Open an
Top Calc
Output
File
Create
Graphs/Tables
Discard
Objects
Print/Export
Graphs/Tables
Figure 2.2
Name1
Name2
Qualifier1 Qualifier2
Origin
Type
Stack Management
2-5
SCAN -
SPEC -
STAT -
TRND -
WAVE -
Histogram.
HIST
PROB -
SCAN -
Frequency scan.
SPEC -
Harmonic spectrum.
TRND -
WAVE -
2-6
Figure 2.3
3. Select one or more objects to per unitize on a common base.
4. Select the scale to per unitize from the list box: X Axis or Y Axis.
5. Enter a Base Value. If desired, you can adjust this value by
selecting the sqrt(2) or sqrt(2)/sqrt(3) radio buttons. For example,
the objects selected in Figure 2.3 are line-to-neutral voltages on a
480 V RMS system. To per unitize these voltages on peak
line-to-neutral voltage, the base value should be:
Vbase =
480
3
= 3919184
.
You can enter this value, or you can enter 480 and select the
sqrt(2)/sqrt(3) radio button.
6. Set the Per Unitize check box to per unitize the selected objects, or
clear the check box to undo the per unitization..
7. Select Update to update the selected objects.
8. Repeat steps 3-7 as often as desired. Select Exit when done.
Units Option
TOP automatically assigns units to the X and Y variables of an object
when it is created. However, TOP must assume units if the object
comes from an output file that doesn't identify them. Use this option
to enter the correct units if the assumed units are wrong. This option
also provides a way to specify a more aesthetically pleasing unit replacing volts with kilovolts. for example.
1. Open the Stack menu.
Stack Management
2-7
Figure 2-4
3. Select one or more objects from the list box.
4. Select the unit to change - X Axis, Y Axis Magnitude, or Y Axis Angle.
5. TOP highlights the current Unit Name for the selected unit in the
list box. Select a different name, if desired.
6. If desired, select a Prefix to apply to the unit. For example, if the
unit is Volts, selecting the kilo radio button replace V labels with
kV. TOP scales voltage magnitudes appropriately.
7. Select the Update button to implement the changes made in steps 5
and 6. This causes all windows containing the selected objects to be
updated.
8. Repeat steps 3 - 7 as often as desired, then select Exit to erase the
dialog box.
Using TOPCalc
This facility provides a means for creating new stack objects by
specifying mathematical operations to be performed on existing
objects. Objects derived through TopCalc are treated no differently
than raw objects loaded from output files. They can, for example, be
used as arguments in subsequent TopCalc operations.
2-8
Stack Management
TOP Calc
Operation
Add
Subtract
Multiply
Divide
Negate
Invert
FFT
DFT
IDFT
Power
Energy
I2T
X-Y Combine
Square
Square Root
Abs Value
V,I dB Ratio
Pwr dB Ratio
Integrate
Cum Prob
Prob Dist
Filter
Time Shift
2-9
Table 2.1 TOPCalc Operations
Single
Dual
Acceptable Raw Objects
WAV
SPEC
TRND SCAN STAT
Arg.
Arg.
E
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
2-10
The Procedure
1. Select the TOPCalc button on the ribbon:
TOP
Calc
or:
a. Open the Stack menu.
b. Select TOPCalc.
The following dialog box appears:
Figure 2.5
2. Select Stack Argument #1 from the list box.
3. Select the Operation from the list box.
4. If appropriate select the Options button to set parameters for this
operation. Values that you enter will remain in effect until you exit
TOP Calc. It should be noted that only six TOPCalc functions
allows the ability to set parameters; FFT, DFT, IFT, Prob Dist, Filter
and Time Shift.
Stack Management
2-11
Select
These are
Negate(X )
Abs Value( X )
The functions below are compatible with only arguments of the type
WAVE.
2
Square ( X )
Square Root ( X )
I Squared T
These are functions of time and therefore can be applied only to WAVE
objects.
Filter
This function allows the addition of a filter in series to the argument.
The compatible argument for this function is of the type WAVE. Figure
2.6 illustrates the dialog box prompted by the Options button for this
operation.
2-12
Figure 2.6
Filter Type allows the selection of the filter desired. F1: and F2:
indicate the beginning and ending 3 dB frequencies. The Sections:
input box allows the user to enter the number of filter sections desired
in series (N sections translates to 2N poles). The default for this is 3.
The digital filter functions used produce Butterworth-type filters, i.e.,
filters with smooth, ripple-free power gain characteristics. The filters
implemented in TOP are taken from Digital Signal Analysis by
Samuel D. Stearnd, Chapter 12 and Appendix C (Hayden Book
Company, 1975, ISBN 0-8104-5828-4). Each filter is actually executed
twice - once in normal forward time order, and then a second time in
reverse time order. This results in an overall transfer function with
zero phase shift. The reader is referred to Chapter 9 of the above
referenced book for details on the Linear Phase Shift Theorem.
Time Shift
This function simply allows the shifting of a parameter based on time.
The only compatible argument type for this operation is WAVE. The
dialog box in Figure 2.7 is prompted by the Options radio button upon
selection. This allows the user to input the time the waveform should
be shifted by.
Figure 2.7
Stack Management
2-13
Fourier Transforms
The FFT (Fast Fourier Transform) and DFT (Discrete Fourier
Transform) operations require a single argument, which must be a
WAVE. The new object is of type SPEC. The IDFT operation (inverse
discrete Fourier transform) requires a single argument, which must be
a SPEC. The new object is of type WAVE. FFT, DFT and IDFT have
variable parameters. This will be discussed for each operation in the
following sections. Refer to Chapter 5 for step by step examples on
applying these functions.
FFT
The FFT function prompts the dialog box in Figure 2.8 when Options
is selected from TOPCalc. Each of the selections available in this box
will be discussed below.
Figure 2.8
2-14
300
200
Current (A)
100
0
60.0 120.0 180.0 240.0 300.0 360.0 420.0 480.0 540.0 600.0 660.0 720.0 780.0 840.0 900.0
Frequency (Hz)
Figure 2.9
As shown in Figure 2.8, TOP assumes that the FFT is to be taken over
one 60 Hz cycle starting at 0.0 seconds. You will need to override these
values if the fundamental frequency is not 60 Hz, or if the waveform is
not in steady state at time zero.
Figure 2.10
Figure 2.10 shows a case where this is necessary. This is an EMTP
simulation of the current supplied by a PWM adjustable speed drive to
a three-phase induction motor at 45 Hz. There is no stored energy in
the circuit at the start of the simulation, producing a large initial
current surge. In this case, the FFT should be taken over one 45 Hz
cycle as far forward in time as possible, to allow the transient current
to decay.
If you can't specify the fundamental frequency precisely (e.g.,
measurements of an adjustable speed drive), then the FFT window will
not capture an integer number of fundamental frequency cycles, and
the end of the window will contain a truncated cycle. Increasing the
size of the window reduces error due to this end effect. The number
Stack Management
2-15
Rectangular
Hanning
Welsh
Bartlett
10
Current (A)
0
100
200
300
400
500
Time (mS)
Figure 2.11
To use this option, specify the Fundamental Frequency and the
Harmonic number to trend (an integer). The trend is produced by
computing an FFT every Step seconds over Number of Cycles from
Starting Time. For example, if the fundamental frequency is 60 Hz
and the time step is 0.0016667 seconds, 10 FFT computations are
required per cycle. Thus, TOP may take several minutes to produce a
sliding FFT object. Smoother trend plots can be obtained by applying a
weighting function, as discussed above.
You can also trend the RMS value, Peak value, Crest Factor, or Form
Factor using the sliding FFT. This is done by specifying one of the
Electrotek Concepts, Inc.
2-16
Figure 2.12
Similar to the FFT function, you can select one of four weighting
functions with the Window radio buttons:
Rectangular
Hanning
Welsh
Bartlett
The other options available in this parameters dialog box are similar to
those discussed in the previous section for FFT. The primary difference
between the FFT and the DFT is that the DFT is slower yet you can
operate on any number of points by specifying the frequencies you
want as outputs.
IDFT
Stack Management
2-17
Figure 2.13
2-18
Statistical Functions
There are two Statistical Functions available, Cum Prob and Prob Dist
operations. These functions can be applied only to STAT objects. It
should be noted that before applying any of these statistical operations
the object needs to be per-unitized to an appropriate base quantity.
Cum Prob
This function takes a statistics case stack item and creates a
cumulative probability curve and puts in on the stack. Cum Prob
(cumulative probability) produces an object of type PROB.
Prob Dist
This function takes a statistics case stack item as its argument and
creates a probability distribution histogram curve and puts in on the
stack. Prob Dist (probability distribution) produces an object of type
HIST. Figure 2.14 is the dialog box prompted by selecting the Prob
Dist operation in TOPCalc and then the Options button.
Figure 2.14
Stack Management
2-19
Arg # 2
20 Log
Arg #1
Arg # 2
10 Log
Pwr dB ratio:
Arg #1
These are only compatible with arguments of the type WAVE and
SPEC. The new object is the same as the initial object type.
X-Y Combine
This operation plots the Y values of the first argument against the Y
values of the second argument. (Argument #2 values become the X
values for the new object.) The argument can only be of the type
WAVE.
CHAPTER 3
In This Chapter
Background
Using New Graph
Frame Management
Formatting TOP Graphs
3-2
3-3
Background
We have mentioned that Quick Graph is the easiest method to create a
plot in Chapter 1, while the more complicated New Graph option offers
more flexibility in creating different kinds of plots. So, what do you
give up by using Quick Graph?
Quick Graph plots must be magnitude verses baseline. Before
defining what this means, we must explain how TOP stores an object.
To the program, any object is simply a set of ordered pairs of some
complex quantity verses a baseline quantity. The baseline quantity is
percent for HIST and PROB objects, frequency for SCAN and SPEC
objects, and time for TRND and WAVE objects.
The complex quantity in each ordered pair can be anything - voltage,
current, power, impedance, EMTP TACS quantities, etc. The quantity
may not actually be complex; TOP just assumes that it is. For
example, an EMTP voltage waveform is a real valued function of time.
However, TOP stores it as a phasor function of time, with the
imaginary values set to zero.
Now, suppose you wish to plot a SuperHarm impedance scan. Quick
Graph will plot magnitude verses baseline - in this case, |Z| vs.
frequency f. If you wish to plot anything else - f vs. |Z|, phase angle
vs. f, Im(Z) vs. Re (Z) (i.e., R-X locus), etc. - you must use New Graph.
Any object, with the exception of STAT can be plotted. This object
contains magnitudes of any number of voltages, currents, etc., and are
suitable only for tables. (HIST and PROB objects, which are derived
from STAT objects, can be graphed.)
3-4
Figure 3.1
3. Select an object from the stack list box.
4. Select the X Axis and Y Axis variables for the plot. The choices are:
Baseline
Magnitude
Phase (Angle)
Real
Imaginary
3-5
Frame Management
TOP allows the viewing of graphs in several ways tailored specifically
by the user. This is all manipulated by proper management. Figure
3.2 illustrates the capability of plotting one object per window.
Plotting
One Object
Per Window
Figure 3.2
TOP also allows you to place any number of objects in the same
window. The curves can be superimposed on the same axes, as shown
in Figure 3.3, or they can be plotted on individual axes, as illustrated
in Figure 3.4.
Plots with individual axes are called frames. Graph options
generally affect only the active frame, which is displayed with
a square in each corner. (Note the lower right frame in Figure
3.4). Click anywhere inside a frame with the mouse to make it
the active frame.
Superimposing
Several Objects
on One Set of
Axes
Figure 3.3
In order to superimpose more than one object on the same set of axes,
the objects must be of the same type. As shown in Figure 3.4, this
restriction doesn't apply to multi-frame windows.
3-6
Using One
Object per
Frame
A c tiv e
F ram e
Handles
Figure 3.4
Plots can also be plotted in a Multi Page window. As shown in Figure
3.5, this option allows multiple graphs to be scrolled through with the
scroll bar. This option can be selected from the Quick Graph dialog
box.
Arrows to
scroll up or
down.
Scrolling
Through Plots
with Multi
Page Window
Option
Figure 3.5
Grid - used to show or hide grid lines and axis tick marks.
3-7
Legend - used to clarify more than one plot on the same graph by
creating a legend.
Graph Scaling
You will use this option most often to set the minimum and maximum
values of the X and Y axes. Changing these parameters allows you to
zoom in to cover a smaller area of the plot in greater detail, zoom out to
cover a larger area in less detail, or move different regions of the plot
into the window. (Zooming in can also be done with the mouse. See
page 3-10.)
Major unit
Spacing of numerical labels
and major gridl ines (if any)
M in o r u n it
Spacing of tick marks (if any)
and minor grid lines (if any)
Figure 3.6
3-8
Figure 3.7
3-9
2. Enter the Minimum and Maximum value for each axis in the
appropriate text boxes.
3. Enter numerical label and major grid line spacing in the Major
Units text boxes.
4. Enter tick mark and minor grid line spacing in the Minor Units text
boxes.
To allow TOP to automatically calculate
the default value for any of the above
parameters, set the Auto check box,
located to the right of the appropriate text
box.
Auto
Check
5. Set the appropriate Symmetry check box to force the minimum and
maximum values to be equal and opposite. To use this feature,
either the axis minimum Auto check box, axis maximum Auto
check box or both, must be set. If both check boxes are cleared,
then TOP is not allowed to select either the axis minimum or
maximum value, and therefore cannot force symmetry.
6. Set the appropriate Force Zero check box to force zero to be located
somewhere along the axis. Forcing zero, like forcing symmetry,
requires that either the axis minimum Auto check box, axis
maximum Auto check box, or both, be set.
7. To apply logarithmic scaling to an axis, set the appropriate Log
check box. Clear the check box to restore linear scaling.
8. Set the Polar Scales check box to overlay the plot with a polar grid.
The X and Y axes are still displayed, and all axis options remain
with respect to the these axes.
9. Select OK or Cancel.
The Graph, Scale... feature has two more options aside from Change.
These are; Previous and Auto. These features can be prompted on the
TOP menu as well as on the ribbon bar.
Previous sets the plot to the scaling from the previous set graph.
Auto allows TOP to set the scales automatically.
Electrotek Concepts, Inc.
3-10
480A(Type 1)
1000
800
600
400
200
0
Voltage (V)
-200
-400
CAPMAG>
-600
480A(Type 1)
800
-800
600
-1000
0
20
40
60
80
100
400
Time (mS)
200
Voltage (V)
-200
-400
-600
10.0
20.0
30.0
40.0
50.0
Time (mS)
Figure 3.8
Grid Options
The Grid dialog box is used to show or hide grid lines and axis tick
marks. As shown in Figure 3.9, tick marks and grid lines are
classified as major or minor, depending on whether they are drawn at
or between numerical labels on the axis. See page 3-8 for information
on controlling grid and axis tick mark spacing.
3-11
Figure 3.9
3-12
Figure 3.10
2. Set or clear the appropriate check boxes to show/hide grid lines and
axis tick marks.
3. Specify the desired tick mark style - Outside the axis, Inside the
axis, or Cross the axis - by selecting the appropriate radio button.
4. Select OK or Cancel.
Label Options
The dialog box shown in Figure 3.12 allows you to specify titles for the
graph, and the X and Y axes.
D o u b le c lick the G raph,
X a x is, or Y a x is title to
a c c e s s the L a b e l dialog box
Figure 3.11
1. Double click the graph title or either axis title,
3-13
or:
a. Open the Graph menu.
b. Select Label.
The following dialog box appears:
Figure 3.12
2. Enter titles in the appropriate text boxes.
3. Select OK or Cancel.
Graph Annotation
This option allows you to place an annotation of up to five lines on the
graph. As with the data block, the annotation may or may not be
displayed when the graph is created, depending on the Edit
Preferences settings. If the annotation is created automatically, TOP
uses whatever label is supplied in the output file for the object. For
example, the default annotation for a SuperHarm object is copied from
the TITLE directive. On the other hand, there is no equivalent to
TITLE in EMTP; therefore there is no default annotation for an EMTP
object.
When created, the annotation is initially displayed in the upper left
corner of the graph, but can be dragged to a different location with the
mouse.
To Edit, Hide, or Show an Annotation
1. Open the Graph menu.
2. Select Annotate. The following dialog box appears:
3-14
Figure 3.13
3. Enter text for Line 1 through Line 5.
4. Set or clear the Visible check box.
5. Select OK or Cancel.
3-15
Data Block
The data block lists all summary quantities computed for the first
object in the graph.
D o u b le click anywhere inside
the data block to access
the D a t a B l o c k dialog box
Min:0.56708
Max:8.61555
Figure 3.14
To Show or Hide the Data Block:
TOP may or may not display the data block when a graph is created
(See the Edit Preferences option, page 1-4.) However, you can show or
hide the block at any time.
1. If the data block is displayed, double click anywhere inside the
block, or:
a. Open the Graph menu.
b. Select Data Block.
This dialog box appears:
Figure 3.15
2. Set or clear the Visible check box.
3. Select OK or Cancel.
3-16
Graph Legend
This option allows the placing of a legend for up to five plots on the
same graph. The legend may or may not be displayed when the graph
is created, depending on the Edit Preferences settings. Figure 3.16
illustrates the Edit Preferences dialog box indicating the default
selections.
Figure 3.16
The default settings in the General Options: list sets the Legend
Initially On feature checked and the Use Line Styles off. The Use Line
Styles option defines whether the legend should define the plots by
color or line styles. If this feature is not checked (the default setting)
then each individual plot on the same graph is plotted and defined by
line color. For hard copy purposes this feature should be checked.
If the legend is created automatically, TOP uses whatever label is
supplied in the output file for the object. When created, the legend is
initially displayed in the lower left corner of the graph, but can be
dragged to a different location with the mouse. Figure 3.17 illustrates
the legend option with the Use Line Styles feature on.
Electrotek Concepts, Inc
3-17
Figure 3.17
To edit, or hide the legend the following can be done:
1. If the legend block is displayed, double click anywhere inside the
block, or:
a. Open the Graph menu.
b. Select Legend.
The following dialog box is prompted:
3-18
Graphical Animation
At times it is preferable to view several plots on the same graph. To
allow ease in readability the Graphical Animation feature can be
utilized. This toggles between each plot on the same graph. To set
this feature;
1. Select Graph on the TOP menu
2. Select Animate.
or;
1. Select the Graph, Animate... button on the ribbon bar.
Graph,
Annimate
Button
CHAPTER 4
In This Chapter
What Types of Tables are
Available
Using Tables
Creating a Table
4-2
4-3
Table 4.1 indicates the Tables available in TOP along with the
objects supported and the quantities obtained.
Table 4.1 - Tables Supported In TOP
Objects
Summary Table
Summary Quantities
Supported
Curve Minimum
and Maximum
WAVE
SPEC
SCAN
PROB
HIST
Waveform
Summary
WAVE
Time
Domain
Data Points
WAVE
PROB
HIST
Time, Value
Frequency
Points
SPEC
SCAN
Harmonic
Summary Data
SPEC
Magnitude
vs.
Switch Operation
STAT
Switch,TimeClosed1,
TimeClosed2, TimeClosed3
IEEE 519
Current Limits
SPEC
Data
4-4
Using Tables
The tables discussed in the previous section can be easy
manipulated. These tables, which list curve data points, are
useful for exporting raw data to other applications. For
example, suppose you want to manipulate a waveform plot in
some way that can't be done in TOP. One solution is to use a
spreadsheet program to produce the graph. The spreadsheet
will require a table of waveform data points, which can be
transferred from TOP via the clipboard.
This can be easily performed by following the procedure below:
1. Create desired table.
2. Open Edit, Copy. . . from the TOP menu bar.
3. Select the spreadsheet or word processor desired on the
ribbon bar.
4. Once the desired application is opened, select Edit, Paste
from the applications tool bar. This imports the table from
TOP to the selected application.
For more information on copying and pasting objects from the
clipboard, see page 1-17 in Chapter 1.
Another method of manipulating the data obtained in creating
tables is to save the table in a file. This can be done by simply
using File, Save As .
Editing Tables
Figure 4.1 illustrates one of the tables created in TOP. Note
that the table has column and row identifiers similiar to
spreadsheets. Column and row resizing can be done directly in
TOP. This is accomplished in the following procedure:
1. Set the cursor of the mouse directly between the two columns
or rows to be resized.
2. Click and hold the left button on the mouse.
3. Drag to obtain the desired size and then release.
4-5
Set cursor here
for column resizing.
Scroll Bar
to view
entire table.
4-6
Creating a Table
Select Table
Quantity
Abs
Definition
XAbs = Max XMax , XMin
ASum = Xpeakf
ASum
Arithmetic Sum
Avg
XAvg =
Average Value
CF
CF =
FF =
1T
X( t ) dt
T0
Max X( t ) 1cycle
X RMSfund
Crest Factor
FF
XRMS
=
X Avg
Form Factor
Freq
Fund
1T
X( t ) dt
T0
XRMSfund
Fundamental Magnitude
IT
IT Product
bg
bg
f
X Max = Max X
X Min = Min X
z
z
1T
X( t ) 2dt
T0
f min
Fundamental Frequency
Max
Min
f f max, SCAN
t min t t max, TRND
1 cycle,
WAVE
min
4-7
Table 4.3
Quantity
Definition
X
RMS
2
RMS f
, SPECT
X RMS =
z
T
1
X( t ) 2dt , WAVE
T0
RMSh
X RMS h =
f
THD
THD =
>
2
RMS f
fund
X RMS h
X RMS fund
XWg
b
W from table
2
TIF
TIF =
X RMS
(f = 60 h)
0.5
17
5,100
31
7,820
50
9,670
30
18
5,400
33
8,330
53
8,740
225
19
5,630
35
8,830
55
8,090
400
21
6,050
36
9,080
59
6,730
650
23
6,370
37
9,330
61
6,130
1,320
24
6,650
39
9,840
65
4,400
11
2,260
25
6,680
41
10,340
67
3,700
12
2,760
27
6,970
43
10,600
71
2,750
13
3,360
29
7,320
47
10,210
73
2,190
15
4,350
30
7,570
49
9,820
83.3
840
4-8
minimum Value
maximum Value
maximum Absolute
Value
average Value
The compatible objects are WAVE, PROB and HIST. Figure 4.2
illustrates selection of this table in the dialog box prompted by
Table, Select.
Figure 4.2
Figure 4.3 illustrates the created table.
Figure 4.3
4-9
Waveform Summary
The Waveform Summary table is accessible for any object in a
raw object form of WAVE. Chapter 2 provides a list of what types
of data files this includes. The obtained values for this table are:
Min
Max
Abs
Max
Avg
RMS
CF
FF
minimum Value
maximum Value
maximum Absolute
Value
average Value
root Mean Square
Value
crest Factor
form Factor
Figure 4.4
4 - 10
Value
Nam
e
Time
Figure 4.5
The obtained quantities are described as:
Time
Value
time in seconds
magnitude at corresponding time
4 - 11
Figure 4.6
4 - 12
fundamental frequency
magnitude at fundamental frequency
% of total harmonic distortion
% of root mean square value
% arithmetic sum
root mean square value of harmonic content
root mean square value
arithmetic sum
telephone interference factor (normalized with
voltage)
current telephone interference factor (normalized with
current)
magnitude content in each odd harmonic.
4 - 13
Figure 4.8
Figure 4.9 illustrates this table as created in TOP. The values
given in this table give the magnitudes at the switches in a file at
the time of closing.
Figure 4.9
4 - 14
Figure 4.10
Unlike the previous tables discussed, the IEEE 519 Current
Limits Table requires user inputs for cells B1 to B3. Cell B1 is
the Point of Common Coupling kV, PCC kV. In the above
example, this was 12.5kV. Cell B2 is the PCC Short Circuit
MVA, this was chosen as 200 MVA. Finally, cell B3 is the Avg.
Max Demand kVA. For the above situation this was 500 kVA.
Upon input of these critical values depicting the system, the
Summary and Detail Tables are completed as necessary. In this
example the currents calculated are within IEEE 519 limits.
TOP will remember the last user inputs into the table, even if the
program is shut down and restarted. Therefore, it is necessary to
remember to update these parameters accordingly.
4 - 15
CHAPTER 5
Common Procedures
This chapter gives a detailed explanation on how to accomplish specific
procedures in TOP. For both new and familiar users, this chapter
provides a step by step process for common operations incorporating
the features discussed in the previous chapters.
In This Chapter
Graphical Manipulations
Base Quantities
5-2
Common Procedures
5-3
Graphical Manipulations
Multiple Graphs in a Single Frame
TOP allows the viewing of multiple stack objects in several different
ways. It gives the user the opportunity to view quantities for specific
applications. This is demonstrated in the following process.
Given the three phase voltage waveforms from a PASS object file the
waveforms can be graphed with all three phases overlaid.
1. Select Quick Graph . . . to obtain the dialog box below.
Figure 5.1
2. Select the three phases to be plotted and the Normal option.
3. Click OK.
Figure 5.2 below is then obtained with all three phases overlaid.
5-4
Figure 5.2
Figure 5.3
Common Procedures
5-5
Double Click
at either
axis to rescale.
Figure 5.4
It can be seen in the above figure that the spectrums graphed in Quick
Graph need to be re-scaled to accurately see the harmonic content.
Two methods can be utilized to prompt the Graph Scale dialog box in
Figure 5.2 to scale the spectrums so that the highest harmonic fills the
horizontal axis.
1. Double click at either axis of the spectrum.
Or;
1. Select the spectrum by clicking once anywhere in the frame.
2. Select Graph, Scale...
5-6
Figure 5.5
Using the above dialog box each spectrum can be re-scaled to the
desired settings for clarity. After setting the appropriate scales the
new figure is illustrated below.
Figure 5.6
It should be noted that the frames are graphed in the order depicted in
the stack. In the above example we were able to obtain the desired
graphical representation without any further manipulations. The
following example will illustrate a situation where this is not so by
graphing the voltage waveforms on the left and the corresponding
spectrums on the right.
Common Procedures
5-7
Figure 5.7
4. Select OK or Cancel to abort. If OK was selected then the following
figure is produced.
Figure 5.8
5-8
Figure 5.9
For this procedure, this option will be used to adjust the quantities to
obtain the desired format. This will be accomplished by deleting the
previous quantity and adding the desired one.
1. Select the existing item from the Current Items list and then select
the Delete radio button.
2. From the Curve Stack select the new item and then click the Add
radio button.
3. Select the Ok button or the Cancel button to abort.
Upon the completion of this as well as the re-scaling of the harmonic
spectrum, the figure below is then obtained.
Common Procedures
5-9
Figure 5.10
This may seem like a round about method to accomplish this. Another
method would be to manipulate the stack originally to depict the
desired format for display.
To illustrate this we will use the same example as above.
The waveforms for the previous example were obtained by doing an
IDFT on the simulated spectrums in TOPCalc. When TOPCalc
produces the DERIVED waveform it adds it to the stack in an
alphabetical manner using the first field of the first stack item as the
initial start. Before performing the IDFT operation on the selected
item, it should be renamed to fit in the desired position in the stack
list.
Figure 5.11 illustrates the TOPCalc dialog box indicating all the
renamed fields for the waveforms. Note that the first field for the
waveforms are the same as the first field for the initial spectrum,
120_A. The second field for the derived waveforms remained blank,
The third field was changed to the original name of the item. This
naming convention was utilized strictly for obtaining the desired stack
position for graphical purposes.
5 - 10
Figure 5.11
After exiting the TOPCalc dialog box, Graph, Quick Graph was
selected to plot the quantities. Figure 5.12 indicates the dialog box.
Once again, the Auto Create Frames option was selected with 2 across
and 3 down.
Figure 5.12
The resulting graph is in Figure 5.13.
Common Procedures
5 - 11
Figure 5.13
5 - 12
Figure 5.14
The X-Axis units are in frequency per unit (60Hz harmonic). To
change this to frequency in Hertz the following procedure should be
performed.
1. Select from the TOP menu bar, Stack, Base Quantities . . .
Common Procedures
5 - 13
Need to
change base
value to 1
from 60.
60
Figure 5.15
3. The desired stack item, 44kvbus(SCAN1) should be selected from
the Curve Stack list.
4. The Per Unitize Box should be checked and the axis desired should
be selected. In this case the X-Axis units are being changed.
5. The Base Value is currently shown as the value of 60. To change to
frequency in Hertz the Per Unitize check box should be turned off.
6. Upon completion of the desired activities the Update radio button
or the Exit button should be selected. If the Update button was
selected, the graph below is then obtained, with the X-Axis units in
frequency (Hz).
5 - 14
Figure 5.16
NOTE:
1. Select from the TOP menu bar Graph, Label. The following dialog
box appears. After creating all the desired labels, select any one of
the three radio buttons.
Figure 5.17
Per-Unitizing
The following procedure will illustrate how to per-unitize and plot two
voltage transients of differing voltage magnitudes on a single graph.
Given the capacitor switching transient from the IEEE COMTRADE
data file, the resulting waveforms are 480A(480V) and SRCA(34.5kV).
To view these waveforms, QuickGraph can be utilized. The figure
below illustrates the dialog box with both of the desired quantities
selected as well as the Auto Create Frames option.
Electrotek Concepts, Inc.
Common Procedures
5 - 15
Figure 5.18
The resulting waveforms can be seen below. To view these waveforms
on the same graph against each other they would need to be perunitized. The procedure to accomplish this is outlined below.
Figure 5.19
1. Select Stack, Base Quantities . . . to obtain the dialog box. Click
the first quantity to be per-unitized, 480A.
2. Select the Per Unitize option and then the desired axis to be
changed. In this case, the Y-Axis Mag.
5 - 16
Figure 5.20
3. Enter a Base Value. For this example the objects selected are lineneutral voltages on a RMS system. To per unitize these voltages on
peak line-neutral voltage, the base value should be:
Vbase =
480
3
= 3919184
.
or,
Enter the voltage 480 and the sqrt(2)/sqrt(3) radio button, as done
in the previous figure.
4. Select the Update button to update the selected objects.
5. Repeat steps 1-4 for the next stack object, SRCA.
Note: However, in step 3 enter the voltage 34500 and the
sqrt(2)/sqrt(3) radio button. This is shown in Figure 5.11.
Common Procedures
5 - 17
Figure 5.21
To plot both the waveforms on the same graph select Graph,
QuickGraph . . . and then the stack objects, 480A and SRCA. This
time, the Normal option can be selected. The result is Figure 5.22.
Figure 5.22
5 - 18
Spectrum to Waveform
Waveform to Spectrum
Line-Ground to Line-Line Calculation
Energy Calculation
Spectrum to Waveform
By utilizing the TOPCalc feature, one can easily calculate and display
the corresponding waveform given a harmonic spectrum. This will be
seen in the following example.
The current harmonic spectrum produced by SuperHarm for a switch
mode power supply can be seen below in Figure 5.23.
Figure 5.23
The following procedure outlines the process for obtaining the
corresponding waveform.
1. Select Stack, TOPCalc . . . (see chapter 2, page 2-8 ) Upon selection
the dialog box seen below is prompted.
Common Procedures
5 - 19
In this case a
single
argument will
be utilized.
Figure 5.24
2. Select the desired stack argument, SMPS1.
3. Select the IDFT operation. To obtain a waveform from a spectrum
this calculation needs to be performed.
4. The Do radio button should be clicked after the appropriate
operation is selected.
5. Use the Quick Graph option to display the waveform. (Figure 5.25)
Figure 5.25
The above figure was calculated on the default selection, Sin Series.
To see the corresponding waveform for the cosine series the following
procedure should be performed.
Steps 1 - 3 should be followed as indicated above.
5 - 20
4. Select the Options radio button. Figure 5.26 illustrates the dialog
box obtained upon selection.
Figure 5.26
5. Select the Cosine Series.
6. Use the Quick Graph Option to obtain the waveform in Figure 5.27.
Figure 5.27
As illustrated in this example, the default selection, Sin Series will not
always correctly display the generated spectrum. It may become
necessary to attempt both options and then view the derived
waveforms for verification.
Common Procedures
5 - 21
Waveform to Spectrum
Example 1 - Oscillating Frequency Determination
A common procedure of determining the oscillating frequency for a
switching transient will be illustrated.
Given a single phase capacitor switching transient waveform from an
IEEE COMTRADE file the waveform in Figure 5.28 is seen. To
determine the oscillating frequency the following should be performed.
Figure 5.28
1. Select Stack, TOP Calc . . . and the quantity of interest, 1_A 480A.
To go from a waveform to a spectrum a FFT or DFT needs to
performed. In this case a Fast Fourier Transform (FFT) operation
will be applied.
2. Select FFT from the Operations list box.
3. Select the Options radio button.
The Fourier Transform
Parameters dialog box in Figure 5.29 appears.
4. Retain the default settings indicated in Figure 5.29 for FFT Type
and Window. Select the Starting Time in the FFT Parameters
section to be that at which the capacitor switching oscillating
transient commences.
As seen in Figure 5.28. this was at
approximately 15ms. To obtain a better frequency resolution the
Number of Cycles need to be set to 5.
5. Select the OK radio button or Cancel to erase all settings.
5 - 22
Figure 5.29
TOP creates a file with the same name as the stack object except this
time it changes the Origin field to DERIVED and the Type field to
SPEC.
7. After all calculations have been performed select the Exit button.
Figure 5.14 illustrates the spectrum obtained with Quick Graph. To
accurately see where the peak harmonic is the area indicated below is
zoomed with the mouse.
Figure 5.30
Common Procedures
5 - 23
It can be seen in Figure 5.30 that there are two primary resonances for
this switching transient. These peaks lie close to the 9th harmonic
(540Hz) and the 12th harmonic (720Hz).
To return from the zoomed spectrum to the previous spectrum simply
select Graph, Scale. . . Previous from the TOP menu or the icon in the
ribbon bar.
Figure 5.31
5 - 24
Figure 5.33
As seen in Example 1, to obtain the harmonic spectrum for this
waveform a Fast Fourier Transform needs to be performed.
1. Select Stack, TOPCalc... From the dialog box below, select the
phase A voltage waveform.
Figure 5.34
Common Procedures
5 - 25
Figure 5.35
TOP automatically calculates in the data block the Total Harmonic
Distortion for spectrums. This is seen to be 2.3%.
5 - 26
Line-Ground to Line-Line
This example will illustrate the common procedure involved in the
calculation of the phase A to phase B line-line voltage.
Figure 5.35 is a steady state voltage waveform for phase A and phase
B overlaid in Quick Graph from an IEEE COMTRADE data file.
Figure 5.35
1. Select Stack, TOP Calc . . . to obtain the dialog box in Figure 5.36.
It is
necessary
to select
this if both
the
arguments
are curves.
Figure 5.36
Common Procedures
5 - 27
Figure 5.37
5 - 28
Energy Calculation
Given a voltage and current waveform where the current is the current
in a surge arrester, the accumulated energy can be determined
utilizing TOPCalc. The procedure is described below:
1. After loading the desired quantities on the stack, Figure 5.38
indicates the TOP Calc dialog box.
Figure 5.38
2. In this example Argument #1 was selected to be the voltage and
Argument #2 the current in the arrester. It should be noted that it
could have been selected the other way as well.
3. Select the Energy function from the Operations: list box.
4. The third field in the Name: identifier is typed as Energy. This is
done strictly for labeling purposes and is not necessary.
5. Select the Do button to perform the operation and save it under the
specified name at the bottom of the dialog box.
We can now view the derived waveform. Select Graph, Quick Graph to
obtain the dialog box in Figure 5.39. The calculated object can be seen
in the Stack Objects list with the expected DERIVED field name as
well as the user assigned name of Energy.
Common Procedures
5 - 29
Figure 5.39
The energy seen in the arrester during the transient can be seen below
in Figure 5.40.
Figure 5.40
5 - 30
Figure 5.41
2. Select the stack object.
3. Select the Use Polar Grid option
4. Set the X Axis and Y Axis to the desired quantities. In this
situation the X Axis is set to Real, and the Y Axis is set to
Imaginary.
5. Click OK or Cancel, to abort the graph.
Common Procedures
5 - 31
Figure 5.42
Note: Resonance occurs where the locus crosses the R axis. A crossing
that is concave to the left generally indicates a parallel
resonance (high impedance). A crossing that is concave to the
right indicates a series resonance.
Power systems usually have looping characteristics indicating a
mixture of series and parallel resonance phenomena.
5 - 32
APPENDIX A
A-2
A-3
COMTRADE1 Objects
This data filter automatically comes with the TOP program.
The COMTRADE data object consists of three files; HDR, CFG
and DAT. The *.HDR file (header file) is intended to be printed
and read by the user. The *.CFG (configuration file) is needed
to properly interpret the transient data, *.DAT file. Finally, the
*.DAT file (data file) contains the value of each sample of each
input channel. Upon loading an IEEE COMTRADE data object,
only the *.CFG file needs to be opened. The *.HDR and *.DAT
can only be viewed or printed in TOP as an ASCII file.
1. Select one or more objects in each list box. The All and None
buttons under each list box allow you to select or unselect all
objects in the list box at once.
A-4
The All and None buttons under a list box indicates that
multiple selections are allowed. List boxes without these
buttons usually permit only one item to be selected.
2. Select the OK button to load the selected objects, or Cancel to
quit the operation.
If the COMTRADE data files are produced by anything other
than TOP then the following name configuration is assigned.
Name1
Name2
Qualifier1
Circuit ID or name
Qualifier2
Units Specified
If the data files were exported using TOP (see page 1-17) than
the COMTRADE data filter tries to restore the original TOP
stack name.
A-5
EMTP Objects
TOP allows EMTP objects with the extensions SOS, PL4 and
OUT to be opened. Upon opening the EMTP OUT file, TOP
brings up the text output file. There is no dialog box associated
with this. The dialog box used for SOS and PL4 files are shown
below: TOP uses slightly different dialog boxes for each of these
files.
A-6
Name2
(BUS2)
Qualifier1
(TYPE 8)
Qualifier2
Origin
(SYS)
Name1
Name2
Name of to node
Qualifier1
Qualifier2
Type
(WAVE)
A-7
HarmFlo2 Objects
TOP allows the viewing and solving of HarmFlo objects with
the extensions of HFW, HFS, HFZ and HFO. These ASCII text
files are used to obtain harmonic load flow solutions. Although
not much graphical interactive capability is featured with the
results, this provides an excellent source for comparisons with
other solved values. Upon the opening of HarmFlo object files,
TOP brings up the text file with the solution, therefore, there is
no dialog box.
A-8
SuperHarm Objects
Source Groups
SuperHarm provides an option that allows you to specify a
source group - a set of one or more harmonic sources that should
always be applied to the system together. When source groups
are used, SuperHarm calculates a solution for the system with
each group applied in turn.
In TOP, when you load a SuperHarm object, you also select one
or more source groups for that object. TOP adds the solution for
each of the selected groups to obtain the total solution for the
object.
As an example of source groups,
suppose that SuperHarm is used to
model a system of four adjustable
speed drives. The process is such that
the A and B drives within a group
must operate together, but the two
groups may operate individually or
simultaneously.
The Procedure
NONLINEARLOAD
Models
1a
CONVERTER
Models
Group 1
1b
Process
2a
Group 2
2b
A-9
Name2
Qualifier1
Qualifier2
(NODE1)
(GROUP1)
( BASE )
(NODE1)
(GROUP2)
( BASE )
Group N
G = Group 1
A - 10
Name2
(NODE1)
Qualifier1
Qualifier2
(SUM###) ( BASE )
Group N
2
G
G = Group 1
(NODE1
)
Name2
Qualifier1 Qualifier2
(RSS###) ( BASE )
A - 11
The default button, Use Calculated, tells TOP to use
fundamental values from the SuperHarm output file. If this
button is selected, the magnitude, phase angle, and
frequency text boxes should be left blank.
A - 12
V-HARM Objects
The procedure for loading V-Harm objects is similar to that for
loading SuperHarm objects. There are two differences:
The V-Harm Stack Load dialog box has a check box called
Harmonic Mode Solution.
This check box is required
because TOP can't distinguish between V-Harm frequency
scans and spectra. Unless the check box is set, TOP assumes
that the objects being loaded are frequency scans.
A - 13
Dranetz Objects
Before opening a Dranetz file in TOP, it is necessary to run the
ASCII 65X.EXE converter. After running this, the file must be
saved with a .DRZ extension. If this is not done TOP will not
open the file.
In TOP, when you load a Dranetz object with the .DRZ
extension, the number of snapshot events are first counted. The
following dialog box appears after all the events are counted.
Figure 2.16
Currently TOP will only allow WAVE, IMPULSES and RMS
Trends to be loaded on the stack for a Dranetz object file. The
loading procedure is the same as noted before. The name
assigned to this type of object file is explained in the example
below.
Given an object file called DRANZ.DRZ with an impulse
snapshot taken on channel B on July 16, 1993 at 2:58:22 pm the
following name is assigned:
Name1
(34_B)
Name1
Name2
Qualifier1 Qualifier2
Origin
(IMPULSE) (07/16/93) (14:58:22) (DERIVED)
Type
(WAVE)
A - 14
A - 15
PQNode Objects
There is no dialog box for PQNode CSV files, as they contain
only one object. When a CSV file is opened, TOP assigns a
name to the object and then loads the object on the stack
automatically. Loading a Cold Load Pickup or RMS disturbance
will create two objects - a WAVE and a TRND.As an example, a
PQNode plot file called WAVE1.CSV contains the waveforms of
all phase voltages and currents for October 1, 1993 at 4:22:39 for
node 1590. TOP would label the current for phase A as:
Name1
(1590)
Name2
(IA_WF)
Qualifier1
(10/01/93)
Qualifier2
(04:22:39)
Origin
(WAVE1)
Type
(WAVE)
IA - Phase A Current
WF - Waveform
Name1
Name2
A - 16
Square D Objects
Copy the file dadisp.tfl into the same directory as the TOP
program.
After clicking on the TOP icon, select File Open from the menu
bar. Make sure you select Square D DADISP from the list of file
types or the file will not be read properly.
The Square D filter automatically loads the files to the stack.
Once the file is opened you are ready to graph the files using
Quick Graph.
VASAG>B_AMPS-AMPS(10-20-93)(12:49:38)
600
400
200
Max: 459.615
Min: -441.819
CM Avg:
Type:168.57
1505
Abs: 459.615
RMS: 196.794
CF : 2.33551
FF : 1.16743
Current (A)
-200
-400
-600
VASAG>B_AMPS-AMPS(10-20-93)(12:49:38)
VASAG>C_AMPS-AMPS(10-20-93)(12:49:38)
0
50
100
Time (mS)
150
200