Energy management and optimization in microgrid system based on green energy. (1st May 2015)