Most of the transmission line model cannot guarantee passivity. Aiming at transmission line macromodels based on the characteristic method, a fast passivity compensation algorithm is proposed.compared with residue perturbation strategy, this method based on residue eigenvalue perturbation reduces the number of free variables, which greatly reduces the CPU time and memory requirements and can make the model meet any termination requirement. In additional, the analytical solution of the optimization problem is derived, which further accelerates the simulation speed. Finally, several simulation e...