(read/write)


This property sets/gets the Transformer Core Type: 0=shell;1 = 1-phase; 3= 3-leg; 5= 5-leg.


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;

% activate the first transformer on the list

i = DSSXfmr.First;

% get the core type of the active transformer

myCoreType = DSSXfmr.CoreType;