(read only)


This property gets the next Power Conversion (PC) element to be the active element.


Example


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');

                    return

end;

DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

DSSElement = DSSCircuit.ActiveCktElement;

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

i = DSSCircuit.FirstPCElement;

myList = [];

% Creates a list with all the PCE names

while i > 0,

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

    i = DSSCircuit.NextPCElement;

end;