Research Article

Operation Optimization of Integrated Energy System considering Power-to-Gas Technology and Carbon Trading

Algorithm 1

Main procedure of PSO.
Algorithm main procedure of PSO
Step 1: input load curve in the typical day, equipment operating parameters, and cost parameters
Step 2: randomly initialize swarm population of particles
Step 3: calculate the fitting function of each particle
Step 4: update the velocity and position of particle
Step 5: obtain individual fitness values and optimization parameters
Step 6: iteration = iteration + 1
Step 7: determine whether the iteration satisfies the maximum number of iterations, and output the best optimization result if it is satisfied; otherwise, return to step 2