(write only)


This method sets the active bus by name. After setting the active bus, the user can access the bus features and values through the ActiveBus interface.


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;

% Set 'myBus' as the active bus

DSSCircuit.SetActiveBus('myBus')