State-of-the-Art Techniques and Challenges Ahead for Distributed Generation Planning and Optimization