Energy Management System for a Grid-Connected Microgrid with Photovoltaic and Battery Energy Storage System | IEEE Conference Publication | IEEE Xplore