Numerical simulation of power transmission lines