LineCode#
( General )
EPRI’s OpenDSS Documentation for this component: https://opendss.epri.com/LineCode1.html
# 
Name 
Type 
Default 
Units 
Description 

1 

integer 
3 
Number of phases in the line this line code data represents. Setting this property reinitializes the line code. Impedance matrix is reset for default symmetrical component. 

2 

real 
Ω/[length_unit] 
Positivesequence Resistance. Setting any of R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line definition. See also Rmatrix. 

3 

real 
Ω/[length_unit] 
Positivesequence Reactance. Setting any of R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line definition. See also Xmatrix 

4 

real 
Ω/[length_unit] 
Zerosequence Resistance. Setting any of R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line definition. 

5 

real 
Ω/[length_unit] 
Zerosequence Reactance. Setting any of R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line definition. 

6 

real 
nF/[length_unit] 
Positivesequence capacitance. Setting any of R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line definition. See also Cmatrix and B1. 

7 

real 
nF/[length_unit] 
Zerosequence capacitance. Setting any of R1, R0, X1, X0, C1, C0 forces the program to use the symmetrical component line definition. See also B0. 

8 

string 
none 
One of (ohms per …). Assumes units agree with length units given in Line object. 

9 

array of reals 
Ω/[length_unit] 
Resistance matrix, lower triangle. Order of the matrix is the number of phases. May be used to specify the impedance of any line configuration. For balanced line models, you may use the standard symmetrical component data definition instead. 

10 

array of reals 
Ω/[length_unit] 
Reactance matrix, lower triangle. Order of the matrix is the number of phases. May be used to specify the impedance of any line configuration. For balanced line models, you may use the standard symmetrical component data definition instead. 

11 

array of reals 
nF/[length_unit] 
Nodal Capacitance matrix, lower triangle. Order of the matrix is the number of phases. May be used to specify the shunt capacitance of any line configuration. For balanced line models, you may use the standard symmetrical component data definition instead. 

12 

real 
Hz 
Frequency at which impedances are specified. 

13 

real 
400.0 
Normal ampere limit on line. This is the socalled Planning Limit. It may also be the value above which load will have to be dropped in a contingency. Usually about 75%  80% of the emergency (onehour) rating. 

14 

real 
600.0 
Emergency ampere limit on line (usually onehour rating). 

15 

real 
0.1 
Number of faults per unit length per year. 

16 

real 
20.0 
Percentage of the faults that become permanent. 

17 

real 
0.0 
Hours to repair. 

18 

boolean 
False 
Perform Kron reduction on the impedance matrix after it is formed, reducing order by 1. Eliminates the conductor designated by the “Neutral=” property. Do this after the R, X, and C matrices are defined. Ignored for symmetrical components. May be issued more than once to eliminate more than one conductor by resetting the Neutral property after the previous invoking of this property. Generally, you do not want to do a Kron reduction on the matrix if you intend to solve at a frequency other than the base frequency and exploit the Rg and Xg values. 

19 

real 
0.018 
Ω/[length_unit] 
Carson earth return resistance per unit length used to compute impedance values at base frequency. For making better frequency adjustments. Default is 0.01805 = 60 Hz value in ohms per kft (matches default line impedances). This value is required for harmonic solutions if you wish to adjust the earth return impedances for frequency. If not, set both Rg and Xg = 0. 
20 

real 
0.155 
Ω/[length_unit] 
Carson earth return reactance per unit length used to compute impedance values at base frequency. For making better frequency adjustments. Default value is 0.155081 = 60 Hz value in ohms per kft (matches default line impedances). This value is required for harmonic solutions if you wish to adjust the earth return impedances for frequency. If not, set both Rg and Xg = 0. 
21 

real 
100.0 
Ωm 
Earth resistivity used to compute earth correction factor. 
22 

integer 
3 
Designates which conductor is the “neutral” conductor that will be eliminated by Kron reduction. Default is the last conductor (nphases value). After Kron reduction is set to 0. Subsequent issuing of Kron=Yes will not do anything until this property is set to a legal value. Applies only to LineCodes defined by R, X, and C matrix. 

23 

real 
μS/[length_unit] 
Alternate way to specify C1. 

24 

real 
μS/[length_unit] 
Alternate way to specify C0. 

25 

integer 
Defines the number of ratings to be defined for the wire, to be used only when defining seasonal ratings using the “Ratings” property. 

26 

array of reals 
[400.0] 
An array of ratings to be used when the seasonal ratings flag is True. It can be used to insert 

27 

string 
oh 
Code designating the type of line. 

28 

string 
Make like another object, e.g.: 
Sample links#
These are the top 20 sample files with occurrences of this DSS object.
# of occurrences 
Link 

1607 

1607 

172 

172 

69 

69 

41 

29 

29 

29 

29 

29 

29 

29 

29 

29 

29 

29 

29 

29 
Links are provided to the dssextensions/electricdsssrc repository since there are some edits and fixes. Otherwise, these files should be available on the official OpenDSS SVN or in the OpenDSS application folder if your have a local installation.