(read/write)


This boolean property sets/gets the connection of the active winding. If (true) then the winding is connected in delta. If (false), it is connected in Wye (false).


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

DSSXfmr = DSSCircuit.Transformers;

% Activates the first transformer on the list

i = DSSXfmr.First;

% Checks each winding for their connection type

for j = 1:2,

    DSSXfmr.Wdg = j;

    if DSSXfmr.IsDelta,

        connType = 'delta';

    else

        connType = 'Wye';     

    end;

    disp(['Winding ', num2str(j),' is ', connType, ' connected']);

end;