Optimal microgrid design is pivotal in planning active distribution networks (ADNs) with intermittent renewable energy sources (RESs) and battery energy storage systems (BESSs). This paper introduces an innovative approach to clustering existing ADN systems, incorporating RESs and BESSs into a set of microgrids (MGs) termed a multi-microgrid (MMG). The approach accommodates diverse load patterns, considering the dynamic nature of residential, commercial, and industrial loads. The proposed methodology employs an innovative k-means algorithm that utilizes end node characteristics based on the graph partitioning method and the Silhouette technique, transforming the existing system into an MMG framework. Furthermore, an iterative pareto-fuzzy (IPF) method is suggested to determine optimal RES and BESS sizes, considering reliability, total cost, and the unutilized surplus power function. The framework integrates total line losses into the generation adequacy assessment of energy management strategy (EMS) for each MG within the MMG system. The design and performance analysis of the proposed multi-objective optimization algorithm is tested on the IEEE 33-bus distribution system. The implementation of the independent operation index (IOI) and round-trip efficiency (RTE) metrics demonstrates the effectiveness of the proposed approach in constructing an MMG, with achieved values exceeding 90 percent for IOI and 77 percent for RTE.