Optimal cost-based model for sizing grid-connected PV and battery energy system | IEEE Conference Publication | IEEE Xplore