Optimal battery charge and discharge control scheme under solar power inflow | IEEE Conference Publication | IEEE Xplore