Xneut
(read/write)
This property sets/gets the Neutral reactance of wye (star)-connected winding in actual ohms. May be + or -. See the help for the Rneut property. If Rneut=-1, the neutral is assumed to be open (floating) unless it is connected to a node by the Bus definition.
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;
% gets the name of the XfmrCode for the active transformer (if any)
myXfmrCode = DSSXfmr.XfmrCode;
% gets the % reactance 1-2 for the active transformer
myXHL = DSSXfmr.xhl;
% gets the % reactance 1-3 for the active transformer
myXHT = DSSXfmr.xht;
% gets the % reactance 2-3 for the active transformer
myXLT = DSSXfmr.xlt;
% gets the neutral reactance for the active transformer
myXNeut = DSSXfmr.Xneut;