This read/write property returns/sets if the capacitor is Delta or wye connected for distributing and switching the total bank kVAR.


% Create DSS object

DSSObject = actxserver('OpenDSSEngine.DSS')

if ~DSSObject.Start(0),

                    disp('Unable to start openDSS');



DSSText = DSSObject.Text;

DSSCircuit = DSSObject.ActiveCircuit;

% Compile a model        

DSSText.Command = 'Compile C:\myPath\myModel.dss';

DSSCapacitors = DSSCircuit.Capacitors;

% activates the first capacitor of the list

i = DSSCapacitors.First;

% Checks if it's delta connected

myCapDelta = DSSCapacitors.IsDelta;