Your search returned 11 items.
For Python, a PowerFactory DPL script (ComDPL) is an object as any other Com* objects (e.g. ComLdf- LoadFlow or ComShc-ShortCircuit,…). You just have to define a variable that represents the ComDpl…
In the dialog of branch elements such as lines (class ElmLne) the connected terminals are displayed in red color. The same information is displayed in Data Manager as columns "Terminal i",…
Data can be applied from one scenario is another via script using the ApplySelective() method. For example: Scenario.ApplySelective(1, folder) "Scenario" is the IntScenario object that contains…
The attached project contains an example of an Addon. The Addon is located in the study case and consists of subscripts (in this case DPL scripts - ComDPL, but could also be python scripts) and…
For this task of importing and exporting of projects, you can use CompfdImport and CompfdExport command objects. Python example of importing a PowerFactory pfd project direct under user location:…
Depending on the Scripting language that you are using there are two different approaches: 1) Python: Here you just have to prepare a Python list of values and assign it to a parameter of interest.…
To automate the execution of a specific DPL or Python script, a command button (VisButton) may be created in the single-line diagram. To add a Command Button to a single-line diagram in your project,…
Attached to this FAQ a project with a simple script can be found. Script reads external csv file and creates in total 121 relay device automatically according to the content of the csv. csv file is…
In PowerFactory 2021 a new plot framework was introduced. The old classes for pages (SetVipage) and plots (VisPlot, Vis..) were retired and new, more advanced, classes are now avaiable and the new…
Input fields (in GUI mode) provides the possibility to get user input during the execution of a DPL script. This can be part of a user communication while the script is running and can be used to…