Tutorial en
Tutorial en
SILENT
PowerFactory
I N T E G R AT E D P O W E R S Y S T E M A N A LY S I S S O F T W A R E
DIgSILENT
PowerFactory 15
Tutorial
DIgSILENT PowerFactory
Version 15
Tutorial
Online Edition
DIgSILENT GmbH
Gomaringen, Germany
May 2015
Publisher:
DIgSILENT GmbH
Heinrich-Hertz-Strae 9
72810 Gomaringen / Germany
Tel.: +49 (0) 7072-9168-0
Fax: +49 (0) 7072-9168-88
Contents
A Introduction to the Tutorial
A.1
A.1.1
A.2
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3
A.4
Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.4.1
A.4.2
General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B Program Overview
B.1
B.2
C.1
Starting PowerFactory
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2
C.3
C.4
D.2
15
D.1.2
D.1.3
CONTENTS
D.2.2
D.2.3
D.2.4
D.3
D.4
D.5
D.4.1
D.4.2
37
E.1
E.2
E.3
E.4
E.5
Performing Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
51
F.1
F.2
F.3
Performing Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
61
H.1
H.2
H.3
H.4
75
I.1
I.2
ii
67
CONTENTS
I.2.2
Defining Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
I.3
I.4
I.4.2
I.4.3
I.4.4
I.5
Index
87
iii
CONTENTS
iv
Chapter A
A.1
At the beginning of each exercise, the Tutorial Manager displays a background single line diagram of
the network that the user will need to implement in order to complete the exercise. At the end of each
exercise the solution achieved may be compared to a sample solution by initialising the next exercise
using the Tutorial Manager.
Each exercise is implemented as a separate project which can be executed using the Tutorial Manager.
The exercises do not necessarily need to be executed in sequence and can be skipped without the user
having to enter any data required by the preceding exercises.
Note: The PowerFactory Tutorial philosophy is to guide the user through the features of the software.
The data for a small but complete power system design will be entered.
Step by step instructions to perform each of the tutorial tasks are provided throughout this document.
To start with the tutorial itself, go to Chapter C (Creating the Tutorial Project).
A.1.1
A.2
Troubleshooting
As mentioned above the Tutorial Manager installs the data required at the beginning of each exercise.
This includes a background pattern, which shows where to drop the elements in the single line diagram.
Typical questions that arise whilst working with the Tutorial are:
The background pattern is not visible in the single line diagram. How can it be made visible
again?
To make the pattern visible again:
Click on the Layers icon ( ). The Graphics Layers dialog appears. The Background layer
is shown in the right pane (Invisible).
Move the background layer into the left pane: left click the Background layer and press the
button. This moves the background to the list of visible layers.
Close the Graphics Layers dialog.
I want to continue the tutorial, but it is not active. How do I activate it so I can continue
where I left off?
If you interrupted the Tutorial to work on another project, or to close the PowerFactory program,
you may reactivate the Tutorial by selecting it in the File menu. That menu keeps a list of the last
5 active projects. The Tutorial should be one of the choices.
It is also possible to activate the Tutorial project by means of the Data Manager. Press the
icon, look for the project in the database tree (left side of the window), right click on it and select
Activate. It is recommended that you make yourself familiar with the Data Manager by doing
exercise 3, before using it to start the tutorial. A short description about how to activate an existing
tutorial project within the Data Manager is given in Chapter E: The Data Manager.
If you cannot find the tutorial project either in the file menu nor with the Data Manager, you will
have to start at the beginning on the tutorial exercise where you left the tutorial, by selecting Start
Exercise X in the Tutorial Manager.
A.3
Mouse and keyboard handling actions are abbreviated, and a shorthand is also used to describe
actions that the user should take. To assist the user these shorthand descriptions are specifically
formatted to stand out, as follows:
Key As in Press the left mouse key". A key is either one of the mouse keys or a key on the keyboard.
Mouse keys are sometimes called buttons, as in the mouse button.
Button As in Press the OK button". The word button" is used for screen areas which perform some
action when clicked using the mouse. In other words, a virtual button.
2
A.4. CONTACT
Icons Icons are usually described by the popup name that appears when the cursor is hovered over
the icon. For example, press the User Settings icon to open the User Settings dialog. Icons are
icon to open the user settings dialog.
also shown as seen on screen, as in press the
Right/Left clicking As in Right click the browser". This means pointing the cursor at the object
described (the browser) and pressing the right/left mouse key.
Double Clicking As in Double click the button". This means pointing the cursor at the object described
and pressing the left mouse key twice within about half a second (the time interval is as set in the
Windows operating system).
Ctrl-B (key combination example) means that the user should press the combination of keys described.
For example, Press Ctrl-B to toggle between balanced/unbalanced case", means that the user
should press and hold down the first keyboard key (the Control key on the keyboard in this
example) and then press the second key (B) as well.
Menu sequences When a user needs to select a command through cascaded menu options the
sequence is shown by arrows that indicate what option to choose next, starting from the original
menu button. For example, setting the drawing format can be done by pressing the Options
button to access the options menu, then by choosing Graphic" from the list offered, and finally
Drawing Format. . . " from the last list. This series of actions is all simply described by Options
Graphic Drawing Format. . .
" and Single quotation marks are used to indicate that the description is one that can be found
within the program and is one that is not user definable. For example, the balloon help description
Calculate Load Flow that you see when you hover your cursor over the Load Flow icon.
Double quotation marks are used to indicate data that a user has entered or should enter. Double
quotation marks are also used to indicate a process or series of objects that have no discernible
name, but which need to be described. For example, the drawing tools panel", which is found on
the right hand side of the drawing canvas.
> and [1 [2] [3], etc.] These show a sequence of events that should be performed. Where they are
numbered they will be associated with a graphic in which the numbers appear.
left-clicking, right-clicking, clicking, double-clicking, etc. Wherever the instruction clicking or doubleclicking appears it should be taken to mean clicking and double-clicking using the left mouse
button. When the right mouse button is to be used it will be explicitly stated.
A.4
Contact
For further information about the company DIgSILENT , our products and services please visit our web
site, or contact us at:
DIgSILENT GmbH
Heinrich-Hertz-Str. 9
72810 Gomaringen / Germany
www.digsilent.de
A.4.1
DIgSILENT experts offer direct assistance to PowerFactory users with valid maintenance agreements
via telephone or online via support queries raised on the customer portal.
To register for the on-line portal, select Help Register. . . or go to directly to the registration page (link
below). Log-in details will be provided by email shortly thereafter.
DIgSILENT PowerFactory 15, Tutorial
Technical Support
A.4.2
General Information
For general information about DIgSILENT or your PowerFactory license, please contact us via:
Phone: +49-(0)7072-9168-0
Fax: +49-(0)7072-9168-88
E-mail: [email protected]
Chapter B
Program Overview
The calculation program PowerFactory , as written by DIgSILENT , is a computer aided engineering
tool for the analysis of transmission, distribution, and industrial electrical power systems. It has been
designed as an advanced integrated and interactive software package dedicated to electrical power
system and control analysis in order to achieve the main objectives of planning and operation optimisation.
DIgSILENT " is an acronym for DIgital SImuLation of Electrical NeTworks". DIgSILENT Version 7 was
the worlds first power system analysis software with an integrated graphical single-line interface. That
interactive single-line diagram included drawing functions, editing capabilities and all relevant static and
dynamic calculation features.
PowerFactory was designed and developed by qualified engineers and programmers with many years of
experience in both electrical power system analysis and programming fields. The accuracy and validity
of results obtained with PowerFactory has been confirmed in a large number of implementations, by
organisations involved in planning and operation of power systems throughout the world.
To address users power system analysis requirements, PowerFactory was designed as an integrated
engineering tool to provide a comprehensive suite of power system analysis functions within a single
executable program. Key features include:
1. PowerFactory core functions: definition, modification and organisation of cases; core numerical
routines; output and documentation functions.
2. Integrated interactive single line diagram and data case handling.
3. Power system element and base case database.
4. Integrated calculation functions (e.g. line and machine parameter calculation based on geometrical or nameplate information).
5. Power system network configuration with interactive or on-line SCADA access.
6. Generic interface for computer-based mapping systems.
Use of a single database, with the required data for all equipment within a power system (e.g. line
data, generator data, protection data, harmonic data, controller data), means that PowerFactory can
easily execute all power simulation functions within a single program environment - functions such as
load-flow, short-circuit calculation, harmonic analysis, protection coordination, stability calculation, and
modal analysis.
B.1
The PowerFactory database has been proven to be very stable. Nevertheless, as is true for all electronic
databases, it can be corrupted by external or internal causes. External causes are such as power
failures resulting in a sudden system shutdown, hard disk crashes, computer viruses or inadvertent
deletion of files. To prevent any loss of data, please follow these instructions:
Backup the database directory of all DIgSILENT PowerFactory installations on a regular basis. A
daily automatic backup is recommended. To export the workspace, select Tools Workspace
Export Workspace. . . . The package will be saved as a .zip format.
Save all projects on a regular basis by right-clicking on the project in the database tree and
selecting the Export option. This will prompt you for a filename and location.
Note: By exporting a project, only the information in the project and all its subfolders will be stored.
If the exported objects use information (e.g. power system types like line or transformer
types) that is saved somewhere else, then this information will not be stored. Please ensure
that the power system types and all other referenced information is exported as well. We
recommended limiting the use of non-project objects" to one or two non-project libraries;
these should also be exported on a regular basis.
Exported projects may be imported into a database tree by pressing the
icon on the Data
Managers toolbar. You will be prompted for the exported filename (*.pfd or *.dz).
Please make sure that you make backup copies of all the exported data, as well as of the
PowerFactory database on a regular basis.
However, should you find yourself in the unhappy position of having a corrupted database and no
backup files please contact us for assistance; all may not be lost!
B.2
DIgSILENT PowerFactory has originally been designed as a complete package for the high-end user.
Consequently, there are no special lightweight or cut-down versions. However, this does not mean
that non high end users will find themselves perplexed when using PowerFactory. The program is
also friendly to the basic user. Users who are learning about power systems are able to easily and
quickly perform load-flows and short-circuit calculations, without needing to immediately master the
mathematical intricacies of the calculations. The PowerFactory Tutorial allows the user to learn primarily
about modelling and analysing electrical power systems. Basic knowledge in working with a PC is
presumed.
The program is shipped with all of the engines and algorithms that are required for high-end use. The
functionality that has been bought by a user is configured in a matrix, where the licensed calculation
functions, together with the maximum number of busses, are listed as coordinates. In addition, there
are options available which will allow the configuration and fine-tuning of the software according to the
users needs, for some of the functions.
In this manner, not every PowerFactory license contains all functionality described in this manual, but
only those actually required, thereby reducing the complexity at the outset. As requirements dictate,
further functionality can be added to the license. The user thus does not have to learn a whole new
interface for new functions, but merely uses new commands within the same environment. In addition,
the original network data is used and only extra data, as may be required by the new calculation function,
needs to be added.
Chapter C
C.1
Starting PowerFactory
When starting PowerFactory a user account will be created automatically. The user name of the Windows account will be used per default.
The Tutorial Manager stores the tutorial projects directly in the User folder (the User folder has the user
name entered into the Logon dialog window). The User folder will be the folder created for you by the
administrator, or by yourself. The active User folder is marked by a small blue screen icon inside the
Data Manager (the Data Manager will be explained in Chapter E (The Data Manager). See Figure C.1.1
for an example with the user named Tutorial User".
C.2
The dialog shown in Figure C.2.2 will pop up. This dialog, as most others in this Tutorial, is shown
as it should look after it has been edited.
C.3
Although the created project may be used as it is, the name of the new study case is normally changed
to something more original than Study Case".
Select the Edit Project Data Study Case. . . option on the main menu.
The edit dialog of the study case is depicted in Figure C.3.1
11
12
C.4
The PowerFactory program does not have a Save" button for projects. All changes made to the system
database are immediately stored in the database on disk. This means that you may end the program
at any time without having to save your work first (There is an option to save Operation Scenarios
manually. The concept of Operation Scenarios is described in the User Manual, they are not part of the
Tutorial yet).
The software will not reactivate the last active project at start-up. However, the last few active projects
are kept in the main File menu. Reactivating a recently active project is a matter of left clicking one of
DIgSILENT PowerFactory 15, Tutorial
Technical Support
13
14
Chapter D
15
The Tutorial Manager has installed some additional features and has reopened the single line diagram.
A single line diagram, in grey, is now visible in the background. This is just a pattern to show where to
place the actual power system components.
D.1
The PowerFactory program allows the creation of new power system designs by creating all components
and manually connecting them to define the topology. The most convenient method of achieving this
is to use the interactive single line diagrams. All component information is also accessible via a textual
database environment called Data Manager
The single line diagrams are used to create new power system components and to insert them into
the topological network. In this way, the power system database and its single line diagram are built
together in one step.
For example, editing the created power system components to set the voltage level or other electrical
parameters, may also be done from the single line diagram. This is achieved by double clicking the
graphical symbols. This will open the corresponding data dialog of the power system component. The
following sections will illustrate this in more detail.
D.1.1
There are a lot of predefined busbar system arrangements in PowerFactory , for example single busbar
systems, single busbar systems with a tie circuit breaker, double busbar systems, double busbar
systems with a tie breaker and bypass busbar, and so on. All these systems consist of terminals,
circuit breakers and disconnectors.
Note: In PowerFactory Version 15 nodes are always represented by Busbars (ElmTerm). A Busbars
(ElmTerm) may be part of a substation, e.g. in a single or double busbar system. A new substation
is created for each new busbar system by default. If you use simple Busbars instead of Busbar
Systems to represent nodes, no substation element will be created.
By clicking with the right mouse button on a Busbar System and selecting Show detailed Graphic
of Substation a new single line diagram with the detailed topology of the substation will be opened.
You can edit this graphic, if you want to change the topology of the substation. You can even add
new simple Busbars to a substation.
When other power system elements, such as lines, transformers or loads (known generically as
branch and edge elements) are connected to a node, PowerFactory automatically inserts circuit
breaker models in order to open/close this connection. Cubicles with these circuit breakers may
be visualised as the panels in a switchboard, or bays in a high voltage yard. Using simple Busbars,
all necessary circuit breakers will be created automatically when an element is connected to the
16
Note: When the insert mode is activated and the symbol for e.g. the Busbar is attached to the mouse
arrow, you can switch to the edit mode by pressing the Esc key or simply by pressing the right
mouse button once.
The Terminal (Busbar) of the substation may be moved and resized to fit the background pattern:
Select the busbar (terminal) by left clicking it. This will mark the busbar by a thick red line with
two small squares. If you have double clicked the terminal accidentally, its edit dialog will pop up.
Close that dialog with the Cancel button.
Move the terminal by left clicking on the red line and dragging the terminal. Releasing the mouse
sets the new location.
Resizing is done by left clicking one of the small squares and dragging it to the left or right, see
Figure D.1.1.
The cursor can also be used to show a balloon help text when held still at the name of the busbar or at
any other text in the single line diagram. This is much more convenient than having to zoom in and out
in order to read something.
17
).
Draw a square around the three terminals by left clicking the first corner, holding the mouse key
down, and dragging the mouse to the other corner. The selection square will be zoomed when
the mouse key is released.
The zoomed in area of the graphic can be moved by using the Hand Tool:
Press the Hand Tool icon (
Click inside the drawing plane and keep the mouse button pressed.
Move the mouse to move the zoomed in area.
Release the mouse button.
Press the Hand Tool icon (
The Hand Tool mode is available only, if you have zoomed in on the graphic. The previous zoomed area
can be restored by pressing the Zoom Back icon ( ). The whole area is shown when the Zoom All
button ( ) is pressed.
D.1.2
To draw the first transformer, left click the upper terminal at the position suggested by the background pattern.
The detailed graphic of the upper substation is opened automatically. Connect the transformer
to one bay by clicking on one of the marked breaker terminals as illustrated in Figure D.1.2 The
result should look like Figure D.1.3
The transformer is now connected graphically to the terminal at that position.
Left click the middle terminal to make the second connection.
The detailed graphic of the middle substation is opened automatically. Connect the transformer to
any bay by clicking on one of the breaker terminals as before.
Note: There is a difference between simple terminals (without substations) and the predefined more
complex busbar systems with substations, which represent substations in detail: If you connect
an element to a busbar system, the detailed graphic of the substation (busbar system) is opened.
You have to connect the element (in this case the transformer) to one of the marked terminals (the
big squares which are at the end of the predefined breaker panels).
18
Figure D.1.2: Connecting the transformer to the single busbar system (in detailed substation graphic)
19
Figure D.1.4: Three substations with single busbar systems and two transformers
D.1.3
Single-port elements are power system elements which are connected to one terminal only: generators,
motors, loads, external grids, etc.
The tutorial grid has two asynchronous machines:
Press the Asynchronous Machine icon
Connect the first machine to the lower terminal by left clicking it on the position as shown by the
background pattern.
The detailed graphic of the substation pops up. Connect the machine to one breaker panel by
clicking on one of the marked breaker terminals.
Connect the second machine to the middle terminal.
Left clicking a terminal places the single-port symbol with a straight connection. Non-straight connections may be made by first left clicking the drawing area to place the symbol, then to draw a non-straight
connection and finally left clicking the terminal to make the connection.
To finish off the tutorial grid, the external grid should be placed:
Press the External Grid icon
21
This concludes the creation of the power system elements and the topology. Please check that all
symbols are positioned correctly. Use Move, Resize and/or Flip at busbar to correct the single line
diagram.
The elements have not been edited yet, and are all using default parameters. Entering the parameters
is the next step.
The background pattern isnt needed anymore. To hide it, the graphical layer on which it is drawn should
be disabled. For every group of graphic symbols, such a layer exists. To hide the background:
Click on the Layers icon ( ). The Graphic Layers dialog appears. The Background" layer is
shown in the left pane (Visible).
Hide the background by moving it to the right pane: left click the Background layer and press the
button. This moves the background to the list of invisible layers.
Close the layer dialog with the OK button. The single line diagram will now look more sharp.
22
D.2
The PowerFactory program offers several methods for editing the electrical parameters of power system
elements, from simple edit dialogs to flexible spreadsheet-like environments where more than one
element is visible at the same time.
The most simple and direct method, however, is to double click the elements in the single line diagram,
which opens their edit dialog.
To avoid unintended changes to the single line diagram, press the Freeze Mode button (
the diagram.
) to freeze
Most power system elements have assigned Type objects. A large quantity of transformers in a network
for instance, may all be of the same type and share common electrical parameters. These parameters
can be defined in a transformer Type object. Each common transformer can therefore reference that
type.
Normally, this would mean that a library of user defined types has to be created prior to defining power
system elements. However, for this tutorial all needed types have been predefined and are ready to
use.
D.2.1
23
24
The dialog window of the substation appears (Figure D.2.3). Change the name of the substation
to Station 1".
Enter S1" for the Short Name.
Close the substation dialog by pressing OK.
Press OK to close the dialog window of the terminal.
A confirmation dialogue will appear asking if the voltage of all the internal elements of the substation should also be changed. Select Yes.
25
The middle substation with its terminal is edited in the same way:
Double click the middle terminal.
Name = D1_11a".
Select the type: use
26
D.2.2
All element edit dialogs are equipped with a Jump to.. button. Pressing this button either jumps directly
to the connected element, if there is only one such an element, or shows a list of connected elements
from which one may be selected.
To practice this:
Double click the External Grid element to open its dialog.
Press the Jump to. . . button. The dialog of the terminal D1_Swab" appears now.
Press the Jump to. . . button again. A list of connected elements appears. Select the transformer.
The edit dialog of the transformer appears.
Press the Cancel button in any edit dialog to exit without changes.
D.2.3
27
D.2.4
To edit the external grid open the edit dialog and set:
Basic Data:
Name = Transmission Grid"
The external grid element has no type. All electrical data is stored in the element itself.
Load Flow data:
Bus Type = SL" (slack)
Angle = 0.0 deg
Voltage Setpoint = 1.0 p.u
VDE/IEC Short-Circuit:
Max. Short Circuit Power Sk" = 10000 MVA
R/X ratio = 0.1
Press OK .
To edit the 11 kV induction machine:
Open its dialog.
Name = ASM1a"
Type = Project Type ASM 11kV 5MVA
Load Flow page Active Power = 4 MW
Press OK.
To edit the 3.3 kV induction machine:
Open its dialog.
Name = ASM1b"
Type = Project Type ASM 3.3kV 2MVA
Load Flow page: Active Power = 1 MW
Press OK.
This concludes the power system definition of the first exercise. A calculation may now be carried out.
D.3
A Load Flow Calculation may be started from the main menu (Calculation Load flow Load flow. . . ),
or by clicking on the Calculate Load Flow icon ( ) on the main toolbar. This will bring the Load Flow
Calculation command dialog to the front, similar to the depiction in Figure D.3.1.
This command dialog offers several options for the Load Flow Calculations.
28
A Load Flow Calculation is now started. If the tutorial power system was entered correctly, the following
message should appear in the output window:
DIgSI/info
of 1
DIgSI/info
DIgSI/info
DIgSI/info
1
DIgSI/info
DIgSI/info
DIgSI/info
If an error was found, an error message like the following could appear:
DIgSI/err - Part 1T1_33/11a.ElmTr2:
DIgSI/err - missing type !
DIgSILENT PowerFactory 15, Tutorial
Technical Support
29
In this case (the transformer has no type set), the Load Flow Calculation is not executed.
To resolve the error, one should first find the element for which the error was reported. With the
interactive PowerFactory output window, this is easy: just double click the line with the elements name
in the output window. This will automatically open the elements edit dialog. Correct the error and try
the load flow again.
The message of the successful Load Flow Calculation shows that the load flow solving algorithm has
found one area (separated area) in the whole system and chosen the external grid element as reference
element (its the only possible reference element in this example).
The single line diagram shows the results of the loadflow in the result boxes, as is depicted in Figure D.3.2.
In this figure, the balloon text help which appears if the cursor is held still over a result box is also shown.
Especially when a larger part of a power system is viewed, the result boxes may become hard to read.
The balloon help may then be used to view the results more easily.
D.4
The parameters visible in the result boxes are not fixed and may be freely edited. PowerFactory offers
highly flexible result box definition tools with which many possible result box formats may be defined.
In this tutorial, only the most direct way of changing a result box definition is used. For some users, this
method may be sufficient for their needs. Other users may want to read the parts about editing result
box definitions in the User Manual after they finish the tutorial.
30
D.4.1
A PowerFactory a result box is actually a tiny calculation report. In principle, there is no difference
between a complex multi page load flow report and the small result box of a power line. Both reports are
generated by so-called result forms, which use the DIgSILENT output language to define the contents
of the report.
The following example of a part of a result form will help to illustrate this topic. Normally the user doesnt
have to edit a result form manually since there are easy to use dialogs for editing available. These are
presented in chapter D.4.2. The following example has been taken from a large load flow report format,
which included macros, loops and many other reporting commands. The example shows a piece from
the heading of the report, where totals are reported for the generation and motor load active and reactive
power.
Generation Motor |$HE
Load |$HE
[# ]/ [# ]/ |$HE,[c:Pgen,[c:Pmot
[# ] [# ] |$HE,[c:Qgen,[c:Qmot
It is Important to understand that such report forms may also be written to define the result box of a
power line. Since short-circuit calculations and Load Flow Calculations will produce two differing sets of
results, two small report forms should be created. For instance, one could report the initial short circuit
current and apparent power, and the other could report the active power, the reactive power and the
power factor.
It is therefore clear that it must be possible to create and select a result box format for each available
calculation function. Furthermore it should be observed that the results for branch elements differ
from those of node elements. The flexibility of the PowerFactory result box formats extends these
basic requirements by offering the definition of results boxes for different projects, for a single edge
element or for all edge elements at once, for a single particular element or for element classes (lines
vs. transformers, for instance), etc. This flexibility leads to a large variety of result box formats. The
functions provide clear arrangements of results and help management of all the formats:
The PowerFactory program is shipped with a complete range of default result box formats, which
are stored in a read-only folder.
New, user defined formats are stored in a user defined folder, and will be based on the default
formats.
A very flexible Form Manager is used to assign result formats to all elements or to all edge and
node elements, as long as they have not been assigned their own format before. It is therefore
possible to use special dedicated formats in some cases, without losing the ability to change the
overall format without much effort.
The result box format of all edge or node elements may be chosen in the main menu from a small,
possibly user defined selection.
In the following section, the result box format of the external network element will be changed.
Note: By default, in result boxes, the power flowing into branch elements has positive sign, while that
flowing out of them has negative sign. For consuming edge elements (loads) the same convention
is followed. In the case of producing elements (external networks and generators) power flowing
out of the element nodes is positive while that flowing in is negative.
31
D.4.2
The result boxes of the top transformer shows P, Q and I. For example, it may be necessary to change
this to P, Q, I and loading. To change the result box definition:
Freeze the single line diagram (
).
Right click a result box of the transformer. This pops up a small menu.
Holding the mouse still at one of the Edit Format for. . . options (Format for Edge Elements or Format
for 2-Winding-Transformers) will show a second menu. You can select another result box format from
this list. The menu shows with a small checkmark ( ) which format is being used. Currently the Format
for Edge Elements Branch flow is used.
Selecting the option Edit format for. . . will open the currently used form definition dialog.
Select the option Edit Format for Edge Elements. The format dialog window appears (see Figure D.4.1).
Press the Input Mode button and select User Selection, if this is not selected yet. Press OK .
The frame shows three boxes which show the currently selected variables. By clicking on one of the
variables (e.g. the current) a new window will be opened and additional variables can be selected or
the existing variable can be disabled.
Double click on the third line (drop down list which shows m:I:_LOCALBUS) and have a look at
the new window. The variable I:_LOCALBUS is enabled, all others are disabled.
Enable the cosphi:_LOCALBUS to add the power factor to the variable selection.
All variables which are checked will be added to the result list.
Press the OK button.
32
Observe the change in the result box for the transformer. It now shows the power factor, too. Try
the balloon help, it has changed too.
Observe that all result boxes for the transformers have changed.
Select the option Edit Format for Edge Elements again. Try setting the decimal places of the
individual results to 3 or 4, or adding the unit by using the Show Unit.
If the result box becomes too small to display everything:
Un-freeze the diagram (
).
Right click the result box and select the Adapt width option.
It isnt often necessary to add units or descriptions to the result box formats because these are also
given in the single line legend, and are shown in the balloon help. The legend in the lower left corner of
the single line diagram is automatically updated when the result box formats are changed.
The legend is shown or hidden by pressing the Show Legend Block icon
D.5
A short-circuit calculation may be started from the main menu (Calculation Short-Circuit ShortCircuit. . . ), by clicking on the Calculate Short-Circuit icon ( ) on the main toolbar, or directly from the
single line diagram:
DIgSILENT PowerFactory 15, Tutorial
Technical Support
33
Figure D.5.1: Starting a short-circuit calculation from the single line diagram
34
A short-circuit calculation is started for a short-circuit at the selected busbar only. The results show the
currents in the whole network, except for the load element, which is neglected.
The output window should show the following message:
DIgSI/info in separated
DIgSI/info DIgSI/info -
35
36
Chapter E
37
E.1
Users familiar with the Windows Explorer" may want to skip this section. The database tree window
shows a hierarchical tree with Folder objects. If such a folder contains other objects, it has a small plus
sign ( ). This sign may be left clicked to open the folder. The database browser in the right side panel
will show the contents of the open folder.
An open folder will show its status by a small minus sign ( ). Left clicking this sign will close the folder.
In Figure E.0.1, the folders Tutorial User", Tutorial" (project), Library", Network Model" etc. are open,
the folders Equipment Type Library", Operational Library" and so on are closed. The Part 1" folder is
selected in the tree, and its contents are thus shown in the browser on the right.
Left click all minus signs until the database tree only shows the basic Database folder.
Left click the plus signs until the folder Database TutorialUser Tutorial Exercise 3 Network
ModelNetwork Data Part 1 is open. The User folder is your working folder; the one with the
small blue icon (monitor screen). It may have another name than User.
Double clicking a folder may also be used to expand and collapse folders.
Left clicking a folder in the database tree will show its contents in the database browser:
Left click the folder Part1". The browser now shows all objects created in the second exercise of
the tutorial.
The objects displayed in the browser may be sorted to the column field by left clicking the column heads:
Left click the column head Name". The objects are sorted to name.
38
E.2
Open the Data Manager and have a look into your User folder (Database User ). In addition to the
projects of the previous exercises of the tutorial, the Tutorial Manager has installed and activated a new
project called Tutorial Exercise 3". An activated project is indicated by bold printed letters inside the
Data Manager. We are working with this project now. If you want to go back to any preceding exercise,
you can activate the corresponding project by right clicking on the project folder and selecting Activate
from the context-sensitive menu.
The Data Manager may be used to edit the power system components:
Select the folder Database TutorialUser Tutorial Exercise 3 Network ModelNetwork Data
Part 1 (select it in the tree).
In the browser, double click the small icon for a transformer (
dialog as was opened from the single line diagram.
E.3
The system will now be expanded by adding a distribution cable with loads, to the middle terminal.
Start by drawing the extra substation right of the 11 kV terminal:
39
):
40
Your single line diagram (without background guides) should now look like Figure E.3.1.
41
) on the single line diagram icon bar. This opens the Graphic Layers
The Background layer is in the Visible pane. Left click it to select it and press the
move it to the Invisible pane. Double clicking the Background layer does the same.
button to
E.4
Because a type and a length for the branched-off line has already been set, it is only necessary to edit
the names of the newly created lines:
Double click the upper line:
Name = L_Swb_Tub"
DIgSILENT PowerFactory 15, Tutorial
Technical Support
43
Figure E.4.1: Data Manager window with the new lines and terminals (after editing them)
The browser shows now amongst other parameters, the names and types of the elements, as in
Figure E.4.1. The types of the three new terminals (Terminal", Terminal(1)", and Terminal(2)") are
not set yet. This shall be changed now:
Double click one of the terminal icons (
terminal edit dialog.
44
45
47
Balanced/Unbalanced = Balanced
Active Power = 4.0 MW
Power Factor = 0.9
Voltage = 1.0 p.u.
Note: When the Active Power and/or the Power Factor are not visible, you can select P, cos(phi) as
Input Mode for the current load. It is also possible to edit the default input mode for all loads by
button and then selecting Active Power and cos(phi) . All loads are assumed
pressing the
to be inductive (standard).
Balanced/Unbalanced = Balanced
Active Power = 1.0 MW
Power Factor = 0.9
Voltage = 1.0 p.u.
Bottom load:
Basic Data:
* Name = Goma"
Load Flow:
*
*
*
*
Balanced/Unbalanced = Balanced
Active Power = 1 MW
Power Factor = 0.9
Voltage = 1.0 p.u.
Balanced/Unbalanced = Balanced
Active Power = 3 MW
Power Factor = 0.9
Voltage = 1.0 p.u.
E.5
Performing Calculations
48
On the Load Flow page, select 3. Others ensuring Results and Voltages / Loading are selected
from the drop down lists.
Click on the Colour Settings button and the Project Colour Settings dialog will open (Figure E.5.1).
Select the Voltages / Loading page
Change the Loading Range for Max. Loading of Edge Element to:
90 %
95 %
100 %
The dialog window should look like Figure E.5.1 now. Close the dialog with OK.
It is now possible to see that the upper transformer and cable L_Swb_Tub" are overloaded (marked
red). The voltage in the whole grid is relatively low (blue terminals). If your network graphic is not
DIgSILENT PowerFactory 15, Tutorial
Technical Support
49
button.
).
50
Chapter F
51
F.1
The single line diagram shows a pattern of four double busbars with some loads and generators
attached to them. These elements shall be created as part of this exercise.
Zoom in on the background pattern and create the double busbar systems:
Un-freeze the single line diagram (necessary only if the freeze mode is active).
Select the Double Busbar System (DBS) from the drawing toolbox (
).
Place the left, middle and right double busbar systems as shown in the background pattern and
enlarge and/or move them to cover the background pattern.
Create the loads at the four busbars, according to the background pattern:
Select the load from the drawing toolbox.
Place it on the respective busbar system.
The detailed graphic of the substation (busbar system) is opened. Connect the load to one
of the marked terminals (the big squares which are at the end of the breaker configurations).
The load at the upper DBS has to be placed above the DBS: press the Ctrl key when placing it or
use the Flip at Busbar option.
52
53
icon).
F.2
First, name the four stations, which contain the double busbar systems:
Double click on one terminal of the upper double busbar system in the graphic Part 2". The dialog
window of the terminal will open.
Press the Edit button (
open.
) beneath the substation entry. The dialog window of the substation will
). This
).
) from one terminal with the name B110_. . . " and edit the
55
).
Name the loads at the top, left and right busbar systems. Double click to edit each of them.
Top load: Name = Ld_1"
Left load: Name = Ld_2"
Right load: Name = Ld_4"
The loads at the middle busbar system have a different power demand. Double click to edit each of
them.
Edit the left load:
Name = Ld_3a"
Active Power = 40 MW
Power Factor = 0.95
Edit the right load:
Name = Ld_3b"
Active Power = 40 MW
Power Factor = 0.95
Edit the centre load:
Name = Ld_Swab"
Active Power = 20 MW
Power Factor = 0.90
Finally, edit the generators one by one:
Top generator:
Basic Data:
DIgSILENT PowerFactory 15, Tutorial
Technical Support
57
Left generator:
Basic Data:
* Name = SM_2"
* Type = Project Type > Types Mach. Syn. > SGEN150M/110kV
Load Flow:
*
*
*
*
Right generator:
Basic Data:
* Name = SM_4"
* Type = Project Type > Types Mach. Syn. > SGEN150M/110kV
Load Flow:
*
*
*
*
Note: If the Active Power and/or the Power Factor fields are not visible in the Load Flow page, select
P,cos(phi) in the Dispatch Input Mode option.
F.3
Performing Calculations
Perform a load flow with the option Consider Reactive Power Limits enabled (see Figure F.3.1).
Correct the system in case of errors.
58
Figure F.3.1: Consider Reactive Power Limits in the Load Flow Calculation
The secondary controller function for the power system (frequency control => equilibrium between
power demand and power production) is performed by the top generator alone. The other two generators are fixed to a certain PQ setpoint (active and reactive power). Due to these control settings, the
upper generator is heavily overloaded. However, it is not possible to simply set all generators to the
SL" (slack) mode, because this would create three reference busbars which would all have a voltage
angle of 0.0 degrees.
The solution is to select one reference busbar, for which the voltage angle will be 0.0 degrees, and to
create a frequency controller object which will regulate the power output of the generators.
Edit all three generators:
Reference Machine = disabled
Local Controller = Const. V
Active Power = 100.0 MW
Voltage = 1.0 p.u.
This gives all generators a PV" characteristic.
Define the power frequency controller:
Select the upper terminal B110_1a" of Station 1" and the three generators (by clicking on
them while holding the Ctrl key pressed).
Right click the selection and choose the Define Power-Frequency Controller option. The
edit dialog of a power frequency controller will appear.
59
The power-frequency controller already has the Bus Bar of Frequency Measurement" field set. The
selected generators are in the machine list.
Enable the option According to Nom. Power.
In the Basic Data page, set the name of the controller:
Name = Secondary Control"
Close the controller dialog with OK.
The new element Secondary Control" has been created in the database.
It is also possible to add generators to an existing frequency controller. This is done from the single line
diagram:
Multi select the generators, right click the selection.
Select the Add to Power-Frequency Controller. A list of existing frequency controllers is shown
from which the one must be selected for addition to the generators.
The frequency controller dialog appears. The generators are now added to the machine list unless
they are already contained in it.
Close the frequency controller dialog.
The load flow will be different now:
Open the load flow command.
At the Active Power Control page, enable According to secondary control.
Perform a load flow. Observe the changes: all generators are now producing equal real power.
The power contribution is not fixed but can be changed in the frequency controller by setting it to
Individual active power and editing the percentages in the list.
The frequency controller can be reached by opening the dialog of a participating generator. The
controller object is mentioned on the Load Flow page as External Secondary Controller. The button
beside it can be clicked to jump to the controller.
This concludes the fourth exercise of the tutorial.
60
Chapter G
G.1
For the connection and analysis of the two subsystems, it should be possible to switch from one single
line diagram to the other quickly and to perform calculations for the combination of the two grids. Until
now, only one subsystem (Part 1" or Part 2") was active at the same time. However, it is possible to
activate as many grids, and add as many single line diagrams to the graphics board as are needed.
For now, the created grids Part 1" and Part 2" and their corresponding single line diagrams will be
activated.
A grid folder is activated by adding it to an active study case. The study case keeps a reference to all
active grids. Therefore, the combination of the active grids will be the basis for all performed calculations.
The study case will automatically deactivate all its grids when it is deactivated itself, and will reactivate
them again when it is activated, using the grid references. You thus first have to activate the study case
by selecting it in the study case list in the main menu.
The following describes how grids can be added to a study case from the Project Overview:
Observe the Project Overview. The Tutorial project should now look like depicted in Figure G.1.1.
With the Study Case active (red coloured icons) and both grids inactive (grey coloured icons).
DIgSILENT PowerFactory 15, Tutorial
Technical Support
61
The graphics board that will appear shows both single line diagrams. It is possible to interchange
between them by pressing the tabs on the bottom of the graphics board.
When a study case is deactivated, it will automatically close its graphics board. When it is activated
again, the graphics board will be shown again too.
Thus, there are two active grids and two single line diagrams. The background pattern of the transmission system shows some alterations that are to be made. First, check to see that both grids have been
activated:
Perform a Load Flow Calculation (
G.2
The distribution grid (Part 1") is fed by an external grid element, at 33 kV. The transmission grid has a
load element in the middle which represents the distribution grid, as depicted in Figure G.2.1 by the red
arrow.
62
Figure G.2.1: Transmission grid single line diagram (Part 2). Middle load representing the distribution
load
63
Try again.
A second graphical representation of the busbar D1_Swab" has now been created in the single line
diagram Part 2".
Now connect the busbars by means of a transformer:
Select the 2 winding transformer from the toolbox and draw a new transformer between double
busbar system and the copied busbar
Edit the transformer:
Name = T1_Swab"
Type = Project Type TR2 60;110/33
This concludes the topological changes for this exercise of the tutorial.
Hide the background pattern.
Freeze both diagrams.
The transformer now connects the two sub systems:
64
65
66
Chapter H
H.1
The top generator (SM_1") in the transmission system (Part 2") is to be replaced by a more detailed
model of a power plant. The desired plant model should already be visible in the background pattern.
In order to delete the generator do the following:
Left click the generator and press the delete button (
).
67
from
Connect the three short terminals to the single busbar with three two-winding transformers (
).
Connect a synchronous generator to each of the left two terminals. Use the Flip at Busbar utility
(in the right mouse menu) if they are drawn downwards.
Connect an asynchronous motor ( ) and a load to the right terminal (plant supply). Hold down
the Ctrl key while connecting the elements in order to place them upwards.
These defined elements form the new power plant model.
This concludes the topological changes. Now please do the following:
Hide the background by clicking on the Layers icon (
).
H.2
).
Multi-edit the two new lines (make sure that the editor browser is in the Detail Mode, refer to
Chapter F.2 (Editing the Elements) to have:
Name = L_pp1a" and L_pp1b"
Type = Project Type >OHL 110kV
Length = 2 km
Edit the single busbar:
Name = PP110_1"
Type = Project Type > Bar 110kV
Nom. Voltage = 110 kV
Substation:
* Name = Station Power Plant 1
* Short Name = PP1
Edit the three terminals:
Name = Trm_G1" (left generator )
Name = Trm_G2" (right generator)
Name = Trm_EB" (plant supply)
68
69
).
For each of the two new generators an active power of 50 MW was defined. The two generators do not
participate in the secondary control. This will now be changed:
Multi select the generators, right click them and select Add To Power-Frequency Controller. . . .
Select the Power-Frequency Controller that is shown in the browser. This adds the generators to
the list of controlled machines of the secondary control.
Select Individual Active Power from the Control Mode field (In the Load Flow page of the PowerFrequency Controller). Edit the Active Power Percentages in the list for the existing generators to
have 33% and the added generators (SM_2" and SM_4") to have 17%.
Perform a Load Flow Calculation to check the results.
Any differences to the previous Load Flow Calculation?
H.3
The system now includes four generators and a big asynchronous motor, which is to be analysed for its
motor starting capability.
To perform a motor start simulation:
Right click the asynchronous motor PP1_ASM1" and select Calculate Motor Starting
Set a simulation time of 5 seconds.
The Motor Start Simulation is a predefined sequence of commands and events for the simulation of the
dynamic behaviour of the motor during starting. The following tasks are performed automatically:
The asynchronous machine is disconnected.
A new load flow is calculated.
The initial conditions for all dynamic elements are calculated.
A new graphic board with several predefined output curves is created.
A transient simulation is started and a Switch Event to switch on the machine during simulation
is executed.
The simulation is run for 5 seconds. During the simulation, the result plots are updated continuously.
70
From the plots it is seen that after about 3.2 seconds, the motor reaches its nominal speed. In steady
state the active power demand is approximately 2.16 MW and the reactive power demand approximately
0.99 MVAr. This is also shown in the single line diagram. The result is somewhat surprising, because a
mechanical load for the machine was not defined. The 2.16 MW cannot be accounted for as losses. So
what is the power used for?
The answer is found in the motor dialog.
Double click the asynchronous motor to open its dialog.
At the RMS simulation page, it shows parameters for a default mechanical load:
Proportional factor = 1.0 p.u.
Exponent = 2.0 (=mdmex)
(=mdmlp)
These two parameters belong to the model of the motor driven machine. This built-in model is fairly
simple and determined by the following equation, which gives the relationship between torque (xmdm)
and speed.
= | () |
(H.1)
With the exponent being 2, the power demand is a cubic function of speed.
Of course, this may not be the motor driven machine model that is required. It will be replaced in the
next chapter.
H.4
In this section the motor driven machine model is going to be changed. In this context important
PowerFactory objects called Composite Models will be introduced.
DIgSILENT PowerFactory 15, Tutorial
Technical Support
71
After pressing OK in the mdm dialog, the composite model dialog will pop up.
Edit the composite model Basic Data page:
Name = Plant_PP1_ASM1"
Frame = Select > . . . TutorialLibraryEquipment type libraryComposite FramesComposite
Frame ASM
72
For the purposes of this exercise, it is not necessary to consider composite models in any more detail.
To see the implications of the new mdm,
Repeat the motor start analysis.
It now takes almost 1.4 seconds more for the machine to reach the nominal speed.
This concludes this exercise of the tutorial.
73
74
Chapter I
I.1
The activated Grid contains four generators, which are still lacking some additional models, such as
prime mover (turbine) models, governors / primary controllers, and voltage controllers. A realistic
transient analysis is of course not possible with such uncontrolled generators. In this exercise, you
will add controllers to the two generators in the power plant and analyse the behaviour of the system
when a short circuit appears and the faulted transmission line is subsequently separated. In order to
model the controlled generators, composite models for the synchronous machines and their controllers
must be defined. The project composite frame for a synchronous machine is depicted in Figure I.1.1.
Although this Frame has several slots, only the slot for the synchronous machine (Sym Slot), the slot
for the voltage controller (Avr Slot), and the slot for governor and turbine (Gov Slot) will be used. The
model of governor and turbine (gov) contains the primary controller (pco) and the prime mover unit
(pmu).
75
To start with, the generator PP1_G1" is given a voltage controller and a governor including turbine
model:
Display the single line diagram for the transmission system (Part 2").
Right click at the generator PP1_G1" and select Define Automatic Voltage Regulator (avr).
A data browser window with the message Please select Block Definition pops up. There you
have to define the type of the new controller.
Click at the button Global Types.
In the data browser select the avr_IEEET1 from the global library as the type. It can be found
under the path:
Database Library Standard Models
Edit the voltage controller according to:
Name= VCO_PP1_G1"
Parameters:
76
0.02
100
0.05
1
0.2
0.0025
1
4
1.5
6
2.5
-8
8
s
p.u.
s
p.u.
s
p.u.
s
p.u.
p.u.
p.u.
p.u.
p.u.
p.u.
Press OK.
The edit dialog for the new synchronous machine composite model pops up.
Edit the Basic Data page according to the following information:
Name = Plant_PP1_G1"
In the Slot Definition table check that PP1_G1" and VCO_PP1_G1" have been added to the
Sym Slot and Avr Slot respectively.
Press OK.
Right click the generator PP1_G1" again and select Define Governor and Turbine (gov).
Use the governor and turbine (gov) gov_HYGOV as the type. It can be found in the global library
under Database Library Standard Models. Edit the controller according to:
Name = pcu_PP1_G1"
Parameters:
* Tw = 0,1 s (the rest of the parameters remain with the default value).
Press OK.
Check that pcu_PP1_G1" has been added to the Gov Slot in the Slot Definition table of Plant_PP1_G1" and press OK.
Following the same procedure, define controllers for PP1_G2":
Right click generator PP1_G2" and select Define Automatic Voltage Regulator (avr).
Use the same avr_IEEET1 as the type.
Edit the voltage controller according to:
Name = VCO_PP1_G2"
Parameters
77
0.01
150
0.025
1.5
0.4
0.001
0.1
4
1.5
6
2.5
-7
7
s
p.u.
s
p.u.
s
p.u.
s
p.u.
p.u.
p.u.
p.u.
p.u.
p.u.
Press OK.
The edit dialog for the new synchronous machine composite model pops up.
Edit the Basic Data page according to the following information:
Name = Plant_PP1_G2"
In the Slot Definition table check that PP1_G2" and VCO_PP1_G2" have been added to the
sym slot and vco slot respectively.
Press OK.
Right click the generator PP1_G2" again and select Define Governor and Turbine (gov).
Select the same governor and turbine model (gov) gov_HYGOV and use the same parameters
as for generator G1. Name it: pcu_PP1_G2"
Make sure that pcu_PP1_G2" has been added to the Gov Slot in the Slot Definition table of
Plant_PP1_G2", then press OK.
This last step has finished the power plant model definition. Now the transient analysis can be performed.
I.2
Now the behaviour of the controlled generators will be tested by simulating a single phase short circuit
on one of the lines which connect the power plant with the transmission system. The single phase line
fault results in the opening and reclosing of the faulted phase. Since this does not clear the fault, all
three phases are then opened.
In order to define a short circuit at the line L_pp1a", and the resulting switching sequence, it is
necessary to define the short-circuit and the switching events that will ultimately isolate the line.
Events, as any other element within PowerFactory , are objects of different classes (depending on the
event) that can be accessed and edited through the Database Manager. The easiest way for defining
events for a simulation is to set up the initial conditions and then create events by right clicking objects.
Please note that no protection devices are used in this example.
78
I.2.1
Prior to the transient analysis, the internal operation statuses (state variables and internal variables) of
connected machines, controllers and other transient models that affect the time-domain simulation must
be computed based on a Load Flow Calculation.
The Calculate Initial Conditions command ( ) allows the determination of the transient simulation settings and calculates the initial conditions (initialises the simulation). An unbalanced stability simulation
using RMS values will be run, which is normally used to analyse the behaviour of the control systems.
To set initial conditions:
icon on the main toolbar and selecting RM Activate the Stability" toolbar by clicking on the
S/EMT Simulation (normally this toolbar is activated by standard).
Click on the
I.2.2
Defining Events
79
The Short-Circuit at Line option in the line object must be set to prepare the calculation for a line with
a short circuit event. This inserts an additional internal calculation node at the fault location in the line.
icon is required.
When this option is changed, a re-initialisation of the simulation by clicking on the
Switching Events:
After clicking again on the
Right-click the top switch at line L_pp1a" and select Switch off, or double-click it. This will create
and show a new switch event (EvtSwitch).
Set the following data in the Basic Data page:
Execution Time = 0.2 s
Action = Open
All Phases = disabled
Phase b and c = disabled
Phase a = enabled
Repeat the same procedure for the bottom switch. Make sure that the correct switch is selected!
If the line is clicked by accident rather than the bottom switch, an event for the top switch will
automatically pop up.
Right click the top switch again, and select Switch off.
Set the following data in the Basic Data page:
Execution Time = 0.3 s
Action = Close
All Phases = disabled
Phase b and c = disabled
Phase a = enabled
Repeat the same procedure for the bottom switch.
For a third time, right click the top switch, select Switch off and set:
Execution Time = 0.4 s
Action = Open
All Phases = enabled
Repeat the same procedure for the bottom switch.
To check the list of the defined events do the following:
Click on the
80
).
I.3
In order to produce graphs from the transient simulation, it is necessary to define which variables are
to be stored by the simulation. The PowerFactory software has thousands of possible variables which
could all be stored and analysed. However, storing them all would take too much time, would produce
megabytes of data and would make it very difficult to select a variable and display its value in a graph.
The solution is to select a number of variables prior to the simulation. This is done by creating so-called
Variable Sets for each power system element that is of interest. The Tutorial Manager has already
defined some of these sets (for the generator PP1_G1", for the terminals Trm_G1" and Trm_G2" and
for the line L_pp1a"). In this part of the tutorial a variable set will be defined for the generator PP1_G2".
In the Tutorial project, the Variable Sets are stored in the study case (Case1") under the folder
Results". Variable Sets are PowerFactory objects of the class IntMon. To create the PP1_G2" variable
set:
Freeze the single line diagram.
Right click generator PP1_G2" and select Define Results for RMS/EMT Simulation. This will
show a Results" folder, where the previously created variable sets are stored.
Notice that whenever a variable set for an element within the power system is defined (as in the previous
step) a new, empty variable set for that element is created in the Results" folder.
Double click the icon of the PP1_G2" variable set in the Results" folder to edit it. A Variable Set"
object dialog, as the one depicted in Figure I.3.1, will pop up.
Select the RMS-simulation page.
In the Filter for" field select Currents, Voltages and Powers" from the Variable Set" menu.
Select bus1:A" from the Bus Name" menu.
Select the variable:
I:bus1:A kA Phase Current, Magnitude
Click on the variable or press the
81
I.4
During a simulation, all variables defined in the variables sets are written to a result file (see section I.3).
The result file is used to define graphs and other kinds of virtual instruments (VIs). A virtual instrument
is a tool for displaying calculated results. The most common use of a VI is to look at the results of a
time-domain simulation, like an EMT or RMS simulation, by defining one or more plotted curves. These
curves show the variables changing with time.
In this part of the Tutorial some of the features of virtual instruments will be introduced in particular their
use for visualising the results of transient analysis. Further information on this powerful tool can be
found in the User Manual.
Before performing a transient simulation and generating graphics of the calculated results, it is important
to distinguish between the concepts of virtual instruments, virtual instrument panel and plots:
The Virtual Instrument Panel is a page in the active graphics board, where different plots or
graphs (virtual instruments) are stored and displayed. The basic information about the included
virtual instruments is stored here.
The Virtual Instruments display the results of one or more variables or parameters in various
ways (Plots, Bar Diagrams, Vector Diagrams, etc.). Every VI can be set up for the individual
needs of the variable which is to be displayed. The virtual instruments are shown on the VI panel.
Plots are one of the many different ways in which a VI displays the information about the variables
it has. Plots show all sorts of time-domain variables depending on other variables. Plots can be
used in different ways (subplots, subplots with two y axis, X-Y plots and FFT plots). In this part of
the Tutorial plots are used as subplots.
82
I.4.1
) and stopping (
Press Execute
The simulation is now started. The output window will show messages about the events that are
processed, when they are processed. The predefined graphs (in the Generators" Virtual Instrument
Panel) will start to show results.
All plots can be scaled automatically in the x- respectively y-direction to the best view by clicking on the
and . Furthermore for a better analysis of certain time period or a closer look at the graphs,
icons
the x- and y-axis can easily be zoomed in using the Zoom x-Axis icon ( ) and the Zoom y-Axis icon
( ).
I.4.2
The Tutorial Manager has already defined the Virtual Instrument Panel called Generators". It contains
two plots, displaying the speed and the turbine power of the generator PP1_G1. Now you are going to
create the same plots for the generator PP1_G2:
Open (if not already open) the Virtual Instrument Panel Generators" and click on the Append
new VIs" ( ) icon.
In the dialog that pops up, select the Subplot (Visplot)" object.
Set the desired number of new subplots (in this case 2).
Click on the
icon).
icon to arrange the plots by pairs (if you prefer a vertical arrangement use the
Double click on the first empty (or bottom-left) subplot to open its edit dialog and define the
variables to display.
In the Curves" field (bottom of the edit dialog), double click on the empty Element field to select an
element. A data browser, showing the elements with defined variable sets, pops up (Figure I.4.1).
Double click on the PP1_G2 icon to select it.
83
If you want to change the plot colour, double click on the Colour" field. You can also edit the line
style and line width.
Press the Ok button on the edit dialog, to visualise the newly defined subplot. If required, use the
icon to get a better view.
Following the same procedure, display the turbine power (s:pt") of PP1_G2 in the remaining
empty subplot.
Run a transient simulation with an execution time of 70 s. Adjust the view of your plots with
and . Steady state was reached? Increase your simulation time.
I.4.3
It is possible to change and add new variables to a plot. To illustrate this functionality, the active and
the reactive power of generator PP1_G2" will be displayed in the bottom-right (or last) plot of the virtual
instrument panel:
Double click on the subplot of the virtual instrument panel that displays the turbine power of PP1_G2".
Double click on the Variable" field of the defined curve and select s:P1" from the displayed
variables list.
Right click on the curve number and select Append Rows" from the context sensitive menu
(Figure I.4.3). A new row in the Curves" field is generated, there you can define a second variable
to display in your subplot.
84
Following the instructions given in section I.4.2 define the new curve to display the reactive power
of generator PP1_G2" (s:Q1"). Your subplot should look now like Figure I.4.4 (for the first 10
seconds).
Modify the existing plots to show the following variables, which are important for analysing the behaviour
of a power plant during a short-circuit. Note that you can also select several variables at once. For each
of the selected variable will be a row added.
Speed speed of generator G1 and G2.
Active and reactive power P1 and Q1 of generator G1 and G2.
Rotor angle phi of generator G1 and G2.
Turbine power pt of generator G1 and G2.
Excitation voltage ve of generator G1 and G2.
DIgSILENT PowerFactory 15, Tutorial
Technical Support
85
I.4.4
In this section a new virtual instrument panel will be created to display the short circuit currents and
voltages at the generators terminals and at the line L_pp1a". The Tutorial Manager already defined
variable sets for these elements. To create a new virtual instruments page (panel):
Press the Insert New Graphic" button ( ) on the Graphics Board toolbar and select Virtual
Instrument Panel. Or click on the tool bar at Create Simulation Plot" ( ).
In the new empty page create 4 subplots following the procedure indicated in I.4.2 (
).
In the first subplot display the phase currents of generator PP1_G1" (m:I:bus1:A", m:I:bus1:B",
m:I:bus1:C").
In the second subplot display the per unit line to line voltages at the terminal Trm_G1" (m:ul:A",
m:ul:B", m:ul:C").
In the third subplot display the per unit line to ground voltages at Trm_G1" (m:u:A", m:u:B",
m:u:C").
In the last subplot display the per unit short circuit currents at line L_pp1a" (m:i:bussch:A",
m:i:bussch:B", m:i:bussch:C").
I.5
Index
Backups, 6
Branch Elements
Creating, 18
Editing, 23
Branch Object, 45
Branched-Off Lines
Adding, 39
Editing Elements, 43
Browser Window
Data Manager, 37
Busbars
Connecting, 18
Creating, 16
Editing, 23
Colour Representation of Graphic, 49
Composite Frame
Asynchronous Machine, 71
Synchronous Machine, 75
Composite Models
Introduction, 71
Contact, 3
Conventions used in the Manual, 2
Data Manager
Browser Window, 37
Detail Mode, 57
Edit relevant objects for calculation, 55
Introduction, 37
Multi-Editing, 44
Tree Window, 37
Using, 39
Database Manager
Basics, 38
Elements
Creating Single-Port Elements, 21
Editing Single-Port Elements, 28
Editing Two-Port Elements, 27
Jumping to Other Elements, 27
Events
Defining, 79
Editing, 80
Exercise 1, 7
Exercise 2, 15
Exercise 3, 37
Exercise 4, 51
Exercise 5, 61
DIgSILENT PowerFactory 15, Tutorial
Technical Support
Exercise 6, 67
Exercise 7, 75
Export
dz files, 6
pfd files, 6
Flip and Rotate Objects, 21
Frequency Controller, 59
Generators
Controlled, 75
Graphic
Colour Representation, 49
Disconect Elements, 69
Flip and Rotate, 21
GraphicLayers, 22
Multiple Graphical Representations, 64
Paste Graphic Only, 64
Rotate Object, 69
Import
dz files, 6
pfd files, 6
Introduction, 1
Load Flow Calculation
Performing, 28
Secondary Control, 60
Motor Driven Machina (MDM)
Creating and editing, 71
Motor Driven Machine (MDM)
Basics, 71
Motor Start Simulation
Performing, 70
Plots
Adding a new Graph, 83
Creating, 82
Power Plant
Editing, 68
Modelling, 67
Power System
Components Creation, 15
Connecting Two Grids, 62
PowerFactory
Closing and Restarting, 13
Project
Creating, 8
87
INDEX
Relevant Objects for Calculation, 55
Result Boxes
Format and Edit, 30, 31
Result Variables, 81
Defining, 81
Rotate Object, 69
Saving Data, 13
Short-Circuit Calculation
Performing, 33
Study Case
Adding a Grid, 61
Renaming, 11
Substations
Terminals and Cubicles, 17
Support, 3
Terminals
Creating, 16
Transient Simulation
Events, 79
Initialisation, 79
Result Plots, 83
Setting Up, 78
Variable Sets, 81
Tutorial
Creating the Project, 7
Tutorial Manager, 1
Variable Sets, 81
Virtual Instruments
Adding a new Graphic, 83
Basics, 83
88
DIgSILENT
Company Profile
DIgSILENT PowerFactory
DIgSILENT Consulting
120 countries.
DIgSILENT GmbH
72810 Gomaringen
Heinrich-Hertz-Strae 9
Germany
www.digsilent.de