This paper discussed some algorithms for waveform parameters of transient recovery voltage
and calculated the TRV parameters from test with the software coded by the authors to compare with the parameters obtained by an experienced engineer using graphic method.The result shows that the algorithms are feasible.