Converged
(read/write)
This property sets/gets a Flag to indicate whether the circuit solution converged.
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';
DSSSolution = DSSCircuit.Solution;
% set the control iterations to 1000
DSSSolution.ControlIterations = 1000;
% Solve the model
DSSSolution.Solve();
% Check if the latest solution converged
if DSSSolution.Converged,
disp('Solution converged');
else
disp('Solution did not converge');
end;