Energy emulator system (Smart Grid) for the analysis of energy consumption by consumers