Optimal battery pricing and energy management for microgrids | IEEE Conference Publication | IEEE Xplore