(read/write)


This property get/set the active CapControl for using Vmin and Vmax to override the control Mode.


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;

% Compile a model        

DSSText.Command = 'Compile C:\myPath\myModel.dss';

DSSCapCtrls = DSSCircuit.CapControls;

% Sets the first CapControl as the active Obj

DSSCapCtrls.First;

% Checks if the controller uses volt override, if not, enables it (just for this example)

if not(DSSCapCtrls.UseVoltOverride),

                    DSSCapCtrls.UseVoltOverride = true;

end;