Transients in reactors for power systems compensation