grid losses