Calculate and update daily, monthly and period energy consumption every 15 minutes