Sensing-Driven Energy Purchasing in Smart Grid Cyber-Physical System | Synapse