Qi Lu, Chenxu Wei, Zirong Guo, Xiangang Cao, Chao Zhang, Guanghui Zhou
To achieve “carbon peak and carbon neutrality” in manufacturing, this paper tackles high energy consumption in flexible job shop production by developing a low-carbon scheduling optimization model with time-of-use electricity pricing, incorporating a photovoltaic microgrid. The model minimizes makespan, carbon emissions, and costs, considering photovoltaic power uncertainty, energy storage dynamics, and time-of-use pricing. To address coupled scheduling and energy management challenges, a three-stage bilevel collaborative optimization framework is proposed, enhancing the Multi-Objective Particle Swarm Optimization (MOPSO) algorithm to develop a Collaborative MOPSO (CMOPSO). The improved algorithm features a four-layer encoding mechanism with energy factors, chaotic mapping for better global search, and adaptive mutation for population diversity. Validation using the Brandimarte benchmark demonstrates the algorithm’s robustness. Specifically, comparative experiments reveal that the proposed strategy significantly outperforms the traditional scheduling mode. While maintaining a similar makespan, the proposed method reduces production costs by 44.3% and carbon emissions by 29%. Simulations confirm that the method effectively shifts tasks to low-price periods and leverages photovoltaic energy during peak hours, supporting the manufacturing industry’s green transition.