8- LineCode
In this tutorial video we discuss a little bit about the Linecode object. This object contains impedance characteristics for lines and cables, which are essentially a series impedance matrix and a nodal capacitive admittance matrix. ############ OpenDSS Code ############## // -----------------------------------------------------------------------// // Name: Paulo Radatz and Celso Rocha // e-mail: [email protected] and [email protected] // -----------------------------------------------------------------------// // -----------------------------------------------------------------------// // -----------------------------Linecode-----------------// // -----------------------------------------------------------------------// Clear // -----------------------------------------------------------------------// // Circuit // -----------------------------------------------------------------------// New Circuit.Cir basekv=4.16 bus1=K // -----------------------------------------------------------------------// // Transformer // -----------------------------------------------------------------------// New Transformer.tr phases=3 windings=2 xhl=5 %loadloss=2 %noloadloss=0 %imag=0 ~ wdg=1 bus=K conn=delta kv=4.16 kva=5000 %noloadloss=0 ~ wdg=2 bus=L conn=wye kv=4.16 kva=5000 %noloadloss=0 // -----------------------------------------------------------------------// // LineCodes - Kron // -----------------------------------------------------------------------// New LineCode.Code_1 nphases=4 basefreq=60 units=km ~ Rmatrix=[0.19 |0.06 0.19 |0.06 0.06 0.19 |0.06 0.06 0.06 0.25] !ohm/km ~ Xmatrix=[0.86 |0.49 0.86 |0.44 0.49 0.86 |0.48 0.49 0.47 0.88] !ohm/km ~ Cmatrix=[9.34 |-2.21 9.93 |-0.99 -2.24 9.27 |-1.64 -1.83 -1.48 9.85] !nF/km ~ Neutral=4 Kron=y New LineCode.Code_2 nphases=2 basefreq=60 units=km ~ Rmatrix=[0.19 |0.06 0.25] !ohm/km ~ Xmatrix=[0.86 |0.49 0.88] !ohm/km ~ Cmatrix=[9.34 |-2.21 9.93] !nF/km ~ Neutral=2 Kron=y // -----------------------------------------------------------------------// // Lines // -----------------------------------------------------------------------// New Line.Line1 Phases=3 Bus1=L.1.2.3 Bus2=M.1.2.3 Length=0.3 units=km Linecode=Code_1 New Line.Line2 Phases=3 Bus1=M.1.2.3 Bus2=N.1.2.3 Length=0.2 units=km Linecode=Code_1 New Line.Line3 Phases=1 Bus1=M.1 Bus2=P.1.0 Length=0.1 units=km Linecode=Code_2 New Line.Line4 Phases=1 Bus1=N.2 Bus2=Q.2.0 Length=0.15 units=km Linecode=Code_2 // -----------------------------------------------------------------------// // Loads // -----------------------------------------------------------------------// New Load.Load1 phases=1 conn=wye bus1=P.1 kv=2.402 kw=160 kvar=110 New Load.Load2 phases=1 conn=wye bus1=Q.2 kv=2.402 kw=140 kvar=100 set voltagebases = [115 4.16] calcvoltagebases Solve ################# End ################## If you have any questions regarding the content of this video, feel free to post it either on the comments or on the official Forum. OpenDSS Download: https://sourceforge.net/projects/electricdss/ Forum/Discussion: https://sourceforge.net/p/electricdss/discussion/
Download
0 formatsNo download links available.