Thank you Mbert. It was stupid of me to add the capacitance as if it was in series with the R and L. Also, I did a programming mistake; the above code repetitively multiplies R10, L10, C10 with Distance. I unintentionally end up with a geometric progression.
I am using the "Three-Phase PI Section Line" Matlab-Simulink block from Simpowersystems blockset for modelling an electric power system transmission line.
I had obtained the data from a research paper regarding the transmission line specifications (provided as sequence values).
Since I am...