Your search returned 44 items.
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 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…
The attached document contains a step by step guide for the usage of the script "Wind Speed Sweep" in other projects.…
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:…
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 attached script allows the direct plotting of selected signals or states from the graphical block definition. Usage is simple: Import the script (best to the projects script folder), mark the…
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.…
The contingency calculation supports also the recording of additional user defined variables. But there is no direct way to display a summary (such as min/max) of these values over all contingencies.…
Tags
The attached pfd-files contain a dpl script. The script should be stored inside a subfolder of the current user or inside a project, which is not intended to export. The selection of the path and…
A running PowerFactory instance can be terminated via DPL by using the ComExit command. Example: object cmd;cmd = GetFromStudyCase('ComExit'); cmd.Execute();…
Tags