Data collection and analysis related to energy usage