(read only)


This property returns a complex losses in all transformers designated to substations.


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;

% Returns the substation losses (P, Q)

mySubLosses = DSSCircuit.SubstationLosses;