Smart Grid Simulation Model