(read/write)


This property sets/gets an Integer array defining which energy meter registers to use for computing losses.


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';

DSSSettings = DSSCircuit.Settings;

% Gets the max voltage pu for emergency conditions

myEmergVmax = DSSSettings.EmergVmaxpu;

% Gets the min voltage pu for emergency conditions

myEmergVmin = DSSSettings.EmergVminpu;

% Gets the array for getting EM registers (Losses)

myEMIdx = DSSSettings.LossRegs;