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


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp("Unable to start openDSS");



DSSCircuit = DSSObject.ActiveCircuit;

DSSCapCtrls = DSSCircuit.CapControls;