Alternating-current circuits