An Accurate time-domain model of transmission lines with frequency dependent parameters