SystemYChanged
(read only)
This property returns Flag that indicates if elements of the System Y have been changed by recent activity.
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 load multiplier 1.1
DSSSolution.LoadMult = 1.1;
% Set max control iterations to 100
DSSSolution.LoadMult = 100;
% Set max solution iterations to 20
DSSSolution.MaxIterations = 20;
% Set simulation step size (sec)
DSSSolution.StepSize = 1;
% solves the circuit including
DSSSolution.SolveSnap();
% check if the SystemY has changed
if DSSSolution.SystemYChanged,
disp('The Y bus matrix has changed');
end;