(read/write)


This property get/set the max voltage level at the MonitoredObj for switching ON the capacitor. It requires to set UseVoltOVerride = true.


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;

% gets the min voltage set in volts

myVmin = DSSCapCtrls.Vmin*DSSCapCtrls.PTRatio;