Your search returned 53 items.
The attached project contains a DPL script located in the Scripts library. The script performs the following tasks: - Execute the "Calculation of Initial Conditions" and "Run Simulation" commands. -…
The attached example demonstrates the use of stochastic switching in PowerFactory, including a description on how to use it. The study case contains a DPL script "Stochastic Switching" which…
This DPL script will get all asynchronous machine types (TypAsmo) which are considered by PowerFactory to be relevant for the calculation. The names of types, where the calculation fails, are reported…
The attached script should be copied to the Scripts library of your project. Usage: - Select one or more lines in a diagram or in the Network Model Manager. - Right click, select "Execute Script" and…
It is possible to find the connected busbar as well as other related attributes of the cubicle by using ":" operator in combination with the attributes name. For example" e:cBusBar = (Connected…
The attached project includes the DPL script "CalcMat" in the study case. The script demonstrates how to read and manipulate matrix data. After resizing the matrix "out" the value of every row and…
Tags
You can redirect the output window to a file. The attached project contains a script within the scripts folder of it's library called 'WriteResults'. This script redirects the output window, writes…
Tags
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…
The attached project contains a small DPL example, where a controller will be created for asynchronous machines (ElmAsm). The DPL script is located inside the Scripts library. 1. Optionally it will…
If you are printing your data to the output window the tab will be removed and replaced by 2 blanks. To keep the tab (t) you can print directly to a file (e.g. csv) Here is a small piece of sample…