Smart control for battery energy storage system in a community grid | IEEE Conference Publication | IEEE Xplore