This interface can be used to gain access to the features of the Power Delivery Elements (PDE) included in OpenDSS. With the PDElements interface it is possible to navigate through combined PDE classes (Line, transformer, etc.) without having to use a specific interface for the class. This interface is embedded within the ActiveCircuit interface, requiring the definition of this interface before getting access the to PDElements interface.


Example


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp("Unable to start openDSS");

                    return

end;

DSSCircuit = DSSObject.ActiveCircuit;

DSSPDElements = DSSCircuit.PDElements;