resistive losses