test diode swapping model at transient analysis