With the large-scale integration of photovoltaic, wind and other new energy power generation, the peak and frequency regulation pressure of thermal power plants has increased. Because the traditional thermal power plant energy storage configuration method only considers the operation of one side of the thermal power plant, the economic benefits have not been maximized. This paper proposes a thermal power plant energy storage configuration method in the distribution network scenario with the highest economy as the goal. First, through power flow calculation, determine the branch power flow and node voltage, and use the Fmincon function planning algorithm to find the optimal energy storage configuration node and capacity. Finally, the IEEE-33 node power distribution system is used as an example for simulation analysis. The results of the example prove that it is more economical to configure thermal power plant energy storage in the distribution network scenario than a single-side configuration, and it can more effectively reduce system operating costs.