Chapter 40. Distributed Generation