Informatics Solutions for Data Processing of Electricity Consumption Optimization in Smart Grids