This paper reports on the results of the implementation of a set of software tools for the comprehensive analysis and optimisation of distribution systems, developed jointly by Azienda Energetica Metropolitana (AEM) Torino S.p.A. and Dipartimento di Ingegneria Elettrica Industriale - Politecnico di Torino. The software tools cover several aspects of distribution system analysis, fault current calculation, reliability assessment, total operating cost evaluation, optimal reconfiguration, optimal planning and service restoration