Optimal power cost management using stored energy in data centers | Synapse