(read only)

This property gets the next Power Delivery (PD) element to be the active element.


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

DSSElement = DSSCircuit.ActiveCktElement;

% Sets the first PCE on the list as the active element

i = DSSCircuit.FirstPDElement;

myList = [];

% Creates a list with all the PDE names

while i > 0,

    myList = [myList;{DSSElement.Name}];

    i = DSSCircuit.NextPDElement;