A fuzzy logic controller for energy management in a PV — battery based microgrid system | IEEE Conference Publication | IEEE Xplore