DoLoopBreak
(method)
This method breaks (disables) all the loops found in the active circuit. Disables one of the Line objects at the head of a loop to force the circuit to be radial.
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';
DSSReduceCkt = DSSCircuit.ReduceCkt;
DSSPDE = DSSObject.PDElements;
% Activates the first PDE on the list
i = DSSPDE.First;
% breaks loops first
DSSReduceCkt.DoLoopBreak();
% reduce using the default algorithm
DSSReduceCkt.DoDefault();