Energy Prediction Based MAC Layer Optimization for Harvesting Enabled WSNs in Smart Cities | IEEE Conference Publication | IEEE Xplore