Your search returned 44 items.
The attached example contains an additional result box which shows the sum of losses of all the lines in the system. To prepare such a result box, a DPL script is included in folder…
The simulation results are not always on a fixed time base due to interruptions happening during the simulation. The attached project contains a script which uses first the Comtrade export to get a…
A DPL script can execute a huge number of calculations in a loop. This can be used to analyse sensitivity to element or type parameters on load flow, short circuit or other calculation. This iterative…
Tags
To add a constant value to a plot you will have to define a new object of the class VisXvalue inside of the plot object and to fill all needed parameters. For example via: Xline =…
Tags
To be able to create a plot from values that are saved inside a vector object (VisVec) you first need to define and fill a result file (ElmRes) with values from a vector of interest. The easiest way…
Tags
To plot the values of a variable used in a DPL script, you must first save the values of the variable in a result file (ElmRes). For this, define result parameters on the "Result" page of your script…
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,…
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…
Table Reports (ComTablereport) can be used to display all variables and result parameters in an user-defined table. The attached project contains a simple Table Report which is: - Executing a Load…
Tags