How can I see the actual value of a parameter using DPL script?

Category:
Scripting
Summary

When a characteristic is applied on an element or a load is scaled, how can I see the actual value used for calculation?

Answer

Normally, when you access a variable in PowerFactory, the result of the DPL query is the value as entered in the element dialogue, e.g. oLoad:plini (the active power of a load). To access the actual value, is necessary to add the specifier ":act", example:

dPNom = oLoad:plini;        !Returns nominal P of the load
dPAct  = oLoad:plini:act;   !Returns scaled P of the load

Back