Anda di halaman 1dari 4

DIgSILENT Programming Language (DPL)

DPL (DIgSILENT Programming Language) is a powerful tool, which is integrated into the stan-
dard PowerFactory application. It is commonly used to automate the execution of time-consuming
simulations, but its application extends far beyond that. It may be used to process results, or to
implement a routine that applies sequential changes to the network and calls PowerFactory s
analysis functions in each step.
This seminar provides a compact and efcient introduction to the fundamental aspects of pro-
gramming using DPL. The course includes basic concepts, syntax, accessing and modication
of objects from within the code, automation of a series of calculations and presentation of the
results etc. Participants will be provided with numerous examples of DPL scripts, which they
may use for ideas, or adapt to suit their particular requirements.
The number of participants is limited to 10. Each participant will have access to a workstation
which will be used for the completion of exercises. Each participant should be familiar with
the general handling of the PowerFactory software, acquired through our load ow and short
circuit seminar, a PowerFactory basic training course or through relevant experience in the use
of PowerFactory. Programming experience is not a prerequisite, but would be benecial.
1
DIgSILENT Programming Language (DPL)
First Day
9:00 Introduction
Welcome
Presentation
9:15 DIgSILENT Programming Language
General Handling
Syntax
9:45 Exercise 2: Basic DPL syntax
Input / Output Variables
Program Flow Controls
Loops
10:30 Coffee Break
11:00 Objects, Sets and DPL Selection
Accessing Objects with DPL
Set Methods
Managing Scripts
DPL Selection and Methods
11:30 Exercise 3: Object access
Object Methods and Functions
Set Methods
12:30 Lunch Break
13:30 Exercise 4: Command Execution
Scripted Execution of the Load Flow
Accessing Result Variables
Reporting Results
2
15:00 Coffee Break
13:30 Exercise 5: Load Flow Report
Using Subscripts
Reporting Results
17:00 End of rst day
3
Second Day
9:00 Recapitulation of rst Day
9:15 Result File Functions
Result File Handling
General Remarks about Result Files
9:45 Exercise 6: Short Circuit Sweep
Writing / Reading a Result File
10:30 Coffee Break
11:00 Exercise 7: Virtual Instrument
Creating a Virtual Instrument
11:45 Exercise 8: Matrix
Filling/Reading a Matrix
12:30 Lunch Break
13:30 External Data Files
Writing Files
Reading Files
13:45 Exercise 9: File Access with DPL
Writing an external Data File
Reading an external Data File
15:00 Coffee Break
15:30 Continue Exercise 9
17:00 End of seminar
4

Anda mungkin juga menyukai