Capacitors and thermal relays