UpdateStorage
(method)
This method forces update to all storage classes. Typically done after a solution. Done automatically in intrinsic solution modes.
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;
% Solves the circuit in snap mode (meters and monitors don't sample automatically)
DSSText.Command = 'Solve mode=snap';
% Forces update to all storage classes
DSSCircuit.UpdateStorage();