Distribution System Optimization With Integrated Distributed Generation