Anda di halaman 1dari 2


Please complete and sign registration and return either via fax Company:
+49 7072 916 888 or a scanned copy via electronic mail to: Department:
Upon submission of your registration you will receive an acknowl-
edgement of receipt and invoice. Final confirmation will be estab-
VAT No.:
Scripting in PowerFactory
lished after receipt of payment. Without this confirmation your (European Community)
registration is not valid. By our written confirmation your registration
becomes legally binding. First name:

CANCELLATIONS Last name: with Python

Up to 8 weeks before the course: at no cost
Up to 2 weeks before the course:
Less than 2 weeks before the course:
50% of the course fee
100% of the course fee
Street: S2018.0924.GO
DIgSILENT reserves the right to cancel a course due to insufficient partici- Zip Code:
pants up to 4 weeks before the beginning of the course. In the event that
an already confirmed course needs to be cancelled due to force majeure, City:
participants will be informed as soon as possible and course fees already
paid will be reimbursed. Further claims such as travel expenses or hotel
cancellation fees are excluded from this practice if the cancellation of the
course is not due to grossly negligent behaviour by DIgSILENT GmbH.
E-Mail address:
Detailed information about how to get to DIgSILENT will be sent
along with the confirmation. Participant‘s name:

Invoicing address:
Lunches are included in the course fees. If you have any special require- (if different)
ments (e.g. vegetarian), please let us know with your registration.

Our training material is protected by copyright. Duplication or transfer is Signature:
prohibited and requires the written consent of DIgSILENT GmbH.

ACCOMMODATION For how long have you been using PowerFactory regularly?
We recommend booking your accommodation in one of the hotels listed below:
• Hotel Alznauer Hof, Raiffeisenstr. 2, 72810 Gomaringen New user > 1 year > 2 years > 5 years
• Hotel Arcis, Bahnhofstr. 10, 72810 Gomaringen
• Hotel Nehrener Hof, Bahnhofstr. 57, 72147 Nehren By submitting the form you agree to the storage and use of your data to
• Hotel Domizil, Wöhrdstr. 5-9, 72072 Tübingen process your inquiry at DIgSILENT GmbH.


For DIgSILENT Users with valid guarantee or maintenance period reduced Euro 986.00 plus VAT (with valid licence or maintenance agreement)
course fees apply. Included in the course fees are training material, coffee Euro 1,120.00 plus VAT (without valid licence or maintenance agreement)
breaks and lunches. Euro 336.00 plus VAT (with valid student ID) 22 - 23
24 25 September 2017
Training facilities
facilities at

Python is a programming language, which can be used to control 11:00h Exercise: Object access with Python 12:30h Lunch break
PowerFactory. It is commonly used to automate the execution of Accessing all lines available in the network. Reading their
lengths and calculating the complete length. Distinguishing 13:30h Result Files
time-consuming simulations - however, its application extends far
whether a line is an overhead line or a cable. Presentation of Becoming acquainted with the Result File element (ElmRes) of
beyond that. Python may also be used to process results, or to imple-
loops and statements, lists and indexing in Python. PowerFactory. Writing/reading data to/from it.
ment a routine that applies sequential changes to a network and calls
PowerFactory’s analysis functions in each step. This seminar provides a 13:45h Exercise: Result Files
12:00h Execution of PowerFactory Commands with Python
compact and efficient introduction to the fundamental aspects of writ- Executing multiple short circuit calculations and saving the re-
Access and execution of any type of calculation objects avai-
ing scripts inside of PowerFactory by using Python. The course includes sults in a result file. Reading and reporting the previously writ-
lable in PowerFactory.
basic concepts, syntax, accessing and modification of objects from ten results.
within the code, automation of a series of calculations and presentation 12:30h Lunch break
of the results etc. Within the context of the training course numerous 14:45h Graphical Representation
scripts will be created, which are supposed to encourage own ideas or 13:30h Exercise: Execution of Calculation Commands Familiarisation with graphical representations in
which can be adapted to suit particular requirements. Automatic execution of load Flow calculations. Reading and PowerFactory. Automatic creation of plots.
reporting of calculation results in the output window.
15:00h Coffee break
WHO SHOULD ATTEND 14:30h Navigation through the PowerFactory Project
Navigation through the project contents and the data base. 15:30h Exercise: Graphical Representation
The course is intended for utility engineers, power system operators, pro-
Using results saved inside the result file. Automatic creation
ject developers, manufacturers, consultants and electrical engineers in 15:00h Coffee break of plots representing how short circuit current changes de-
general, interested in the scripting in PowerFactory. Participants should
pending on the short circuit position along a line.
be familiar with the basic handling of DIgSILENT PowerFactory. Experi- 15:30h Exercise: Navigation through the Project
ences with PowerFactory’s DPL, Python itself, as well as C++, C, Java or Automatic execution of load flow calculations for multiple Study 16:00h Exporting/Importing data to/from external files
other scripting languages is not needed but it is an advantage. Cases and Operation Scenarios. Comparison of results and their Export of calculation results to an external csv-file via script.
output into the output window. Working with “dictionaries” in Automated import of network data from an external csv-file
Python. into PowerFactory.
PROGRAMME 17:00h End of the first day 16:30h Advanced Python Topics and Discussion
Creation of a Graphical User Interface and export/import
data to/from Excel or Word.
17:00h End of the second day
09:00h Fundamentals 09:00h Report Results, Subroutines and Module
Familiarisation with the general handling of the Python Output of customised results in the output window. Introduction
Programming Language in PowerFactory , e.g.: Creation of subroutines and modules. Presentation of the built-in modules
of a Python script in PowerFactory and access to data by SYS and IMP.
using Python. Presentation of the PowerFactory module
09:30h Exercise: Report Results
and comparison between DPL and Python.
Access to project and load flow calculation. Reporting,
10:00h PowerFactory Object access with Python whether a load flow calculation has been executed successfully.
 Access to calculation relevant objects of different classes
10:30h Coffee break
inside of the PowerFactory database. Reading objects and
their attributes and making necessary changes of these 11:00h Exercise: Subroutines and Module
objects. Creating subroutines and importing them in the main script.
Creating readable reports and preparing them for the export.
10:30h Coffee break
Introduction of the lambda function and some advanced
DIgSILENT GmbH T +49 7072 9168-0
Python topics.
Heinrich-Hertz-Straße 9 F +49 7072 9168-88
72810 Gomaringen