In the 2020s, in line with international trends, a rapidly increasing photovoltaic penetration is expected in Hungary. These decentralized electricity sources are typically connected to the low and medium voltage distribution network, affecting their operation. The spread of different output power connection demands the development of the network infrastructure. The development directions and opportunities can be examined with software simulation, so the formulation of reference networks is required. In order to get valid reference networks, clustering of real feeders can be a solution. When the clusters and the values of the variables that describe the clusters are defined, the networks can be implemented in simulation software. In this paper, the clustering process of Hungarian distribution networks, the determination of the optimal cluster number, and the reference networks are all presented, on which the effects of the growing photovoltaic penetration in the Hungarian medium voltage distribution network system can be simulated.