This interface can be used to gain access to the features and properties of all the capacitors deployed across the model. Because it is embedded within the ActiveCircuit interface, requires the definition of this interface before getting access the to Capacitors interface.


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

DSSCapacitors = DSSCircuit.Capacitors;