This paper studies a new method for reconfiguration of the distribution network that considers access to energy storage devices. Initially, a new distribution network reconfiguration model is being created that takes into account access to energy storage devices. This model takes as an objective function the minimum of network losses and takes into account the current power and voltage constraints induced by energy storage devices. In reconfiguration schemes, the dual power flow directions are also deliberated. To solve the proposed model, the Binary Particle Swarm Optimization (BPSO) is implemented to get the optimal reconfiguration scheme. Finally, to check the correctness and efficacy of the proposed process, two distribution networks with admission to energy storage systems are being checked (Initial topology of 12-bus system - Optimal topology without considering energy storage - Optimal topology considering energy storage), Then proposed more suitable method for solving the proposed reconfiguration models in this manuscript.