Energy efficiency of electrical systems