Coordinating workload balancing and power switching in renewable energy powered data center