Professional Documents
Culture Documents
Tutorial: Adding Powerworld To Your Cae Start Menu
Tutorial: Adding Powerworld To Your Cae Start Menu
PowerWorld is a great and powerful utility for solving power flows. As you learned in the last few lectures,
solving a power system is a little different from circuit analysis. Instead of being given voltages at certain
nodes or impedances, you are often given load and generator powers. This makes solving the circuit difficult to
do by hand, but easy using a tool like PowerWorld. Most utilities use PowerWorld or similar programs for
solving their systems, such as PSS/E.
Fixing the Help Path so that you can get access the programs help file:
1. (This is only a problem with the CAE computers.) Click Help from the top and select Set Help File.
Enter: G:\WIN32\PowerWorld_10\Pwrworld.hlp
Opening an Example
One of the most useful ways to learn a program is to explore the example files that come with it.
1. Click File -> Open Case. On CAE computers, Navigate to G:\WIN32\PowerWorld_10\ and open a file.
If you installed PowerWorld on your own computer, you will find example files in the PowerWorld
installation folder (probably C:\Program Files\PowerWorld).
Running a Simulation
If you opened one of the example files, you can be pretty sure it will run correctly out-of-the-box.
When we build Problem 5.16 in PowerWorld, it will look like this. (Note the extra busses: every piece of
equipment needs a bus separating it, thus there are implied busses between the transformers and the
transmission line.)
4. The default base is 100. In problem 5.15, you probably assumed a 30 MVA base after the generator
rating. Change this base to 30 MVA.
5. Click OK.
or click Insert -> Bus. Click where you want the bus to go.
6. Insert a bus. Click
7. Set the bus parameters (Figure 2 next page). The parameter window should appear automatically; else
right-click on the bus and select Bus Information Dialog.
8. Insert four more buses to build the system shown below. Note: We will need a bus between every piece
of equipment in our system. Thus, there is an implied bus between each transformer and the line.
9. For each bus you insert, set the bus voltage by right-clicking, selecting Bus Information Dialog and
enter the nominal voltage. Bus 1 and Bus 4 are 13.8 kV; Bus 2 and 3 are 138 kV. See Figure 2 on the
next page for help. Also in this dialog, you can set the bus orientation.
Figure 2: Setting the voltage and name for Bus 1. Right-click the bus and select Bus Information Dialog to get this display.
You dont need to enter a generator impedance since Problem 5.14 is only concerned with terminal
behavior. Also while in this window, you should be able to set the generator alignment
(up/down/left/right) the same way you set the alignment for the bus.
11. Insert transformers: Click or Insert -> Transformer. Transformers work much line transmission
lines in that you have to connect them from one bus to another. Click once on the first bus, and click
each time you want to bend the connection line. Finally, double-click on the second bus.
12. A dialog box appears (shown next page, Fig. 3). Enter the transformer impedance in PER-UNIT. Dont
use the nameplate values given in the book problem 5.15, but rather the new per-unit impedances on
your system base. I used 30 MVA as my system power base, thus transformer T1 has a leakage Xs =
0.137 PU, and transformer T2 has a leakage Xs = 0.24 PU.
Fig. 3. Transformer parameters. Right-click on the transformer and select Line Information Dialog.
13. Move the Pie circle off the transformer, or else it will look weird.
18. Insert a load. Click or click Insert -> Load. Now, click on Bus 4 where you want the load to go.
19. Enter in the load data you calculated in homework problem 5.16. Load is S = 12-j7.437 MVA.
20. Your system is almost done! Next, we need to set a slack bus. In order to solve a power flow,
PowerWorld needs to know where the slack bus is. The slack bus sets the voltage angle reference
(usually 0) and tells PowerWorld where generation is allowed to change so that power is balanced.
(Having a slack bus is necessary for solving a power flow, because you wont know the resistive losses
in the lines until the power flow is solved and the system states are determined. Thus, you cannot
completely balance power ahead of time.) To set the slack bus: Right-click on Bus 1, select Bus
Information Dialog, and check System Slack Bus. Note that if you do not set a slack bus, PowerWorld
will automatically choose one for you.
21. (In case youre interested) PowerWorld has two limitations with regard to the slack bus: (1) Although it
is technically feasible to use one slack bus for a reference angle and another slack bus with an attached
generator for balancing system power, PowerWorld requires the reference angle and the slack generator
to both be associated with the same bus. (2) PowerWorld also does not allow the slack generator to use
its reactive power output to regulate another bus voltage; the slack generator can only regulate the slack
bus voltage. Other non-slack generators on your system, however, can regulate the bus voltage at
another bus besides their own.
22. Problem 5.16 specifies the load voltage. Normally, if we had several generators in our system, we could
set one of them to regulate the voltage at bus Four and thus regulate the load voltage. Unfortunately, we
only have one generator, which is attached to the slack bus, and the slack bus generator MUST regulate
the slack bus voltage. It cannot regulate another bus voltage. This is a minor limitation in PowerWorld.
23. In order to check our work in homework Problem 5.15, we will need to specify the regulated voltage of
the slack bus (the generator bus) for the reason explained in the previous two steps. Looking at our
homework problem 5.15, we found the terminal voltage of the generator to be Vg = 0.863 PU. (Realize
that 0.863 PU is an unnaturally low voltage; most real systems operate well within 10.1 PU.) Rightclick on the generator, select Generator Information Dialog, and direct the generator to regulate Bus 1
voltage to 0.863. Check Available for AVR to enable voltage regulation.
24. Seeing the outputs: We will need to create displays so that we can observe our system while it is
running. Right-click on each bus, and select Add New Fields around Bus.
25. I recommend placing Voltage and Voltage Angle identifiers at each bus. Click on the position where
you want the label to go (Pos1 through Pos8), and then select the type of field. Now, you will be
26. Your system should now be finished! Time to run! Click Run Mode in the toolbar.
27. Use the VCR controls to run and animate your simulation.
. You should see some small
green power flow arrows slowly make their way from the generator to the load (below).
28. If you encounter a Blackout! then PowerWorld was not able to solve your system. This usually means
that you have accidentally designed an infeasible system. Please read the Troubleshooting at the end of
this tutorial to get your system back up and running.
29. Notice the resulting system voltages and angles. Bus 1 shows 0 degrees, as expected, and all of the
voltages are close to 1 PU nominal. The angles dont vary widely across the system, which is typical for
a system operating under normal conditions. Large angle differences are usually only seen between two
distant points in a system (Northeast compared with South Central on the Eastern Interconnection), or
when the system is heavily stressed.
30. Verification: Looking back at the homework problem, the load voltage was 13.2 kV / 13.8 base = 0.956,
which exactly matches the load voltage found by PowerWorld. Also, I found the line sending-end
voltage to be Vs = 0.884 PU and the source power to be S = 12.21 j3.57 MVA, which agrees very well
with PowerWorld.
31. Adjusting Power Live: PowerWorld allows you to adjust many system parameters while the system is
running. One parameter that is easily set for live adjusting is power. Right-click on the power label for
the generator, and you get a dialog box (shown on next page).
Enter a non-zero value for Delta per mouse Click, and now an up/down control will appear with the
generator power label. (
). If you enter a Delta of 0.1, each arrow click will increment the
power by 0.1. However, to see these increments, you should change Digits to Right of Decimal to see
greater precision than whole megawatts.
32. Want bigger equipment labels? Click on the label, and then click Format -> Font.
Troubleshooting
BLACKOUT!!!
When blackouts happen (and they will), you will need to reinitialize PowerWorld before running
another simulation. Even if you fix the problem causing the blackout, but you do not reinitialize
PowerWorld, your system will still fail to run. This is because PowerWorld has stepped too far into an
infeasible region of the system, and the power flow solver is unable to correct itself.
To Reinitialize Power World after a Blackout
You will need to reinitialize before rerunning a simulation after a blackout. (Note that there is no point
in rerunning your simulation unless you change something in your system, or else the blackout will just
happen again.) All you need to do is reset all the state variables to a Flat Start. Make sure you are in
Run Mode. Click Simulation -> Reset to Flat Start. This will reset all bus voltages to 1 0 PU
nominal.