Control and optimization of distributed generation systems. (2015)