How to make a user defined result box?

Category:
Scripting
Summary

This example shows how to insert a customised result box in the single line diagram

Answer

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 named "DPL_Example" is included in the folder Settings->Formats->DPL.

Linking the result box object to a specific DPL script is done by 1) right-click on the result box object and select "Edit Format", 2) Click the Input mode button and select "format editor", see section "Editing Result Boxes" in User Manual, 3) Enter the name of the desired script in the field "DPL Script", in this case "DPL_Example", see attached screenshot.

The DPL script identifies all the line elements ('ElmLne') in the system and summarises their losses.  The result box format is defined using the DIgSILENT Output Language and the script.

Back