How can I access a cubicle's busbar using DPL?

Category:
Scripting
Answer

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 Node)

e:obj_out = (Connected Branch)

e:cpRelays = (Relay)

e:cpCts = (Current Transformer)

e:cpCB = (Circuit-Breaker)

There are also dedicated DPL commands available to find connected elements such as object.GetConnectedElms(). These can be found in the PowerFactory usermanual.

Back