Cost-aware real-time power management of grid-tied microgrids based on battery life regulation | IEEE Conference Publication | IEEE Xplore