Optimization of a microgrid with renewable energy and distributed generation: A case study | IEEE Conference Publication | IEEE Xplore