Optimal sizing and energy management of a grid-connected microgrid using HOMER software | IEEE Conference Publication | IEEE Xplore