The problem of optimal economic involvement of power plants in traditional systems boils down to satisfying consumption in the system by producing electricity from available power plants while minimizing the costs of their operation. When forming the plan of operation of the power plants, it is necessary to take into account the limitations of the production units that affect the possibility of placing energy at a regulated moment in time. In addition to covering consumption in the system, it is also necessary to take into account losses in the transmission of electricity to end consumers. In this paper, the theoretical basis for the calculation of the optimal engagement of power plants will be given, and a computer program will be developed that will enable the calculation of the optimal engagement of power plants in a system of realistic dimensions. Using specific examples, the developed computer program will be implemented and its characteristics will be described.