Energy management and renewable energy integration in smart grid system | Synapse