An Energy Cost Optimization Model for Electricity Trading in Community Microgrids | IEEE Conference Publication | IEEE Xplore