In order to reduce the loss of energy in the process of conversion and utilization, and to improve the energy utilization effect and economic benefits of urban integrated energy system, a thermoelectricity optimization method of urban integrated energy system based on multi-objective double dynamic genetic algorithm is proposed. The method analyzes the operation characteristics of the urban integrated energy system through its operation model, constructs a multi-objective optimization model for the thermoelectricity of the urban integrated energy system, determines the optimization multi-objective function that minimizes the operation cost, minimizes the carbon emission, minimizes the technical dissatisfaction and the related constraints, and then solves the optimization model by using the dual dynamic genetic algorithm to output the results of the optimization of the thermoelectricity of the urban integrated energy system.The test results show that the algorithm has a crowding distance of 0.75 or above when solving, and the overall unit energy consumption cost reduction ratio is about 22.97 %. The state of charge results of the four energy storage power stations are all below 10 %, and the lowest convergence speed is only 7 seconds, effectively improving energy utilization efficiency.