This property sets/gets an integer representing the winding containing the actual taps, if different than the WINDING property. Defaults to the same winding as specified by the "Winding" property.


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

DSSRegCtrls = DSSCircuit.RegControls;

% Activates the first RegControl of the list

i = DSSRegCtrls.First;

% Gets the tap winding at the controlled transformer for the active RegControl

myTapWdg = DSSRegCtrls.TapWinding;