Simulation Tools for Analysis and Design of Distribution Networks with Distributed Energy Resources