Smart grid optimization considering decentralized power distribution and demand side management | Synapse