the impedance being inserted both while closing and while opening the switch