The article discusses issues related to the optimization of the operation of medium voltage networks, focusing on the optimization of network division points and the selection of the optimal network configuration aimed at reducing power and energy losses. The article provides a critical review of selected scientific works from recent years on the issue of network configuration optimization. The developed solution uses non-deterministic network models and statistical and probabilistic approaches. Optimization studies were carried out using heuristic optimization methods and proprietary algorithms for forecasting the load and power generated from renewable energy sources. The solution proposed in the article has many application possibilities. It can be used to optimize the location of network division points (reducing economic costs related to the modernization of network infrastructure) as well as to optimize the reconfiguration process in order to reduce power losses while maintaining voltage criteria.