Considering the study of optimal location of distributed units to improve network reliability under network operation conditions and the focus on using the genetic algorithm method for locating distributed generation units in the distribution system, there is no comprehensive and relevant research in this field. In this research, to improve network reliability, location with variable numbers and sizes of distributed generation resources is performed. In the proposed method, multi-objective optimization using weight coefficients to combine two objective functions as the overall objective function is used.