An electric generator coupled to a windmill produces an average electric power output of 15 kW. The power is used to charge a storage battery. Heat transfer from the battery to the surroundings occurs at a constant rate of 1.8 kW. Determine, for 8 h of operation