Copper losses in a transformer