(read only)

This property returns the total power, watts and vars delivered to the circuit. The negative magnitudes (-) indicate that the power is coming out of the substations.


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

% Returns the total power (P,Q) delivered to the circuit

myTotalPower = DSSCircuit.TotalPower;