Simulation tools for analysis of distribution systems with distributed resources. Present and future trends