1. Introduction
As a pillar of the national economy, the manufacturing sector accounts for 70% of China’s industrial carbon emissions [
1] and ranks among the world’s highest in terms of energy consumption and carbon output [
2], thus facing multiple pressures from energy security and environmental protection perspectives, as well as international competition. With the intensification of global climate change and the introduction of “carbon neutrality” and “carbon peak” goals, the green and low-carbon transformation of manufacturing is not only a manifestation of social responsibility, but also an inevitable choice for enhancing core competitiveness. Traditional production scheduling prioritizes efficiency and cost, but against the backdrop of increasingly complex energy structures and pricing, it urgently requires integration of environmental considerations. Energy consumption is highly concentrated in production workshops. Optimized scheduling—through scientifically planning workpiece processing sequences, resource selection, and equipment start/stop times—can achieve significant energy savings without additional hardware investment. Research indicates that idle machine energy waste can account for over 40% of total energy consumption [
3]. Optimized scheduling reduces waiting times and minimizes equipment idling and start-ups, thereby effectively lowering energy consumption and carbon emissions [
4], making it a low-cost, high-efficiency approach to workshop energy conservation.
Although optimized scheduling has proven effective for energy conservation, traditional methods primarily rely on single-grid power supply models. They fail to fully leverage new opportunities presented by increasingly widespread photovoltaic microgrids and market-driven time-of-use electricity pricing. As a clean, renewable energy source, photovoltaic microgrids introduce new challenges to workshop scheduling due to the fluctuating and unpredictable nature of their power generation [
5]. Concurrently, time-of-use pricing provides enterprises with an economic incentive to reduce operational costs by adjusting production sequences through varying electricity rates across different time periods [
6].
To address these challenges, scholars worldwide have conducted extensive research on the Green Flexible Job Shop Scheduling Problem (GFJSP), renewable energy optimization, and time-of-use pricing.
For the Green Flexible Job Shop Scheduling Problem, researchers have developed a diverse range of optimization methods, spanning from exact algorithms to meta-heuristics. Zhao et al. [
7] provided a systematic synthesis of the applications of Iterated Greedy Algorithms within the domain of flow-shop scheduling. Their work not only establishes a standardized algorithmic framework and offers a rigorous comparative analysis of various destruction and construction strategies, but also presents an in-depth classification of complex scheduling scenarios, such as distributed and no-wait configurations. Furthermore, as green scheduling typically involves conflicting objectives and inherent uncertainties, specialized evolutionary approaches have emerged. Zhang et al. [
8] proposed a decomposition-based multi-objective evolutionary algorithm with clustering and hierarchical estimation (MOEA/D-CH) for fuzzy flexible job shop scheduling, leveraging clustering techniques to manage weight vectors and enhance population diversity. Building upon these advancements, Zhao et al. [
9] recently introduced a dynamic quadratic decomposition strategy. Unlike traditional linear aggregation, this nonlinear approach dynamically balances exploitation and exploration, demonstrating superior efficacy in addressing high-dimensional multi-objective optimization problems. Luan et al. [
10] proposed an augmented NSGA-II to optimize the completion time, machine load, total dragging time, and total energy consumption in GFJSP. Liu et al. [
11] specifically designed a machine restart strategy that balances energy consumption and lifespan, proving that a well-conceived restart mechanism can effectively harmonize low carbon emissions with long-term system reliability. Meng et al. [
12] constructed six novel MILP models to optimize the total energy consumption for the problem of considering machine switching machines. Wei et al. [
13] first constructed an energy estimation model to compute the energy consumption of the machine under different operating states for the problem of considering speed scaling strategy and then designed a multi-objective optimization model to minimize the completion time and total energy consumption. Luo et al. [
14] considered the machine failure problem and designed a knowledge-driven two-stage modelling algorithm to optimize the completion time and total energy consumption. Du et al. [
15] considered the preparation time and designed a weighted reinforcement learning-based approach to optimize the completion time and the total energy consumption, where the total energy consumption was further modeled by taking into account the machine’s setup. Lv et al. [
16] proposed a rescheduling algorithm to optimize the completion time and total energy consumption in the framework of a heuristic algorithm for dynamic events in the production process. However, existing studies still have some limitations regarding green scheduling modeling. While many scholars have considered resource constraints, dynamic events, machine starts and stops, and other production influences on the basis of the green flexible job shop scheduling problem, most of the literature still considers energy consumption and carbon emissions to be a single green indicator and does not consider the diversification of the energy supply structure. Especially in the current context of rapid development of renewable energy, traditional green scheduling research is mainly based on a single-grid power supply model, ignoring the impact of distributed renewable energy, energy storage systems, and other emerging energy technologies on scheduling strategies. Thus, the adaptability of research results to practical applications can be improved.
However, optimizing production scheduling in isolation is no longer sufficient to meet the demands of modern intelligent manufacturing. Current research trends are shifting toward integrated optimization of coupled subsystems, such as coordination between production and logistics or the energy supply. Zhao et al. [
17] investigated an integrated system encompassing production and multi-mobile robot transportation. Their findings confirm that holistic modeling of interdependent systems—specifically by synchronizing logistical tasks with production processes—yields significantly superior performance compared to decoupled optimization strategies.
With the rapid development of distributed energy technologies and the “dual carbon” goal, the introduction of renewable energy sources such as photovoltaic (PV) power generation into manufacturing plants to reduce external grid dependence and carbon emissions has become a new research hotspot. As a kind of distributed energy system integrating PV power generation, energy storage systems, and intelligent control technology, PV microgrids have great potential to be applied in the manufacturing industry, but related research is still in the initial stage. Chen et al. [
18] chose the manufacturing industry as the target of their study and investigated the environmental and economic impacts of the integrated energy system in various optimization scenarios; the results showed that PV power generation has better performance from the perspective of carbon emission reduction. Chakraborty et al. [
19] proposed a coordinated frequency control strategy for PV microgrids as a solution for demand-side management by targeting thermostatic devices consisting of industrial loads for demand-side management, realizing the promotion of optimal demand-side management through frequency regulation. Huang et al. [
20] developed an intelligent demand-corresponding plan for multi-energy industrial microgrids with an industrial process represented by the discrete manufacturing production model, the uncertainty of PV power generation, and the operating cost of Battery Energy Storage Systems (BESSs) as a challenge, formulated the problem as a scenario-based stochastic nonconvex mixed-integer nonlinear programming, and proposed a hybrid optimization algorithm incorporating evolutionary algorithms and branch-bounding algorithms, which efficiently reduces the operating cost of manufacturing production and releases pressure on the main grid. Zhang et al. [
21] considered the uncertainty of future power market prices and PV generation and proposed a regret-based risk-averse stochastic production task and energy management model for industrial microgrids, which was applied to a battery manufacturing plant to analyze the impact of the total target production task and wind control parameters on the cost. Burmeister et al. [
22] combined dynamic energy tariffs, energy storage systems, and renewable energy sources for an energy-aware dispatch methodology from uncertain dynamic markets, proposed a two-level energy-aware scheduling method based on a modular non-dominated sorting genetic algorithm, and set the scenario in the context of a green flexible scheduling shop to show the potential energy saving costs and carbon emissions. In summary, the existing literature has verified the technical feasibility and economic viability of introducing PV energy into factories and has carried out preliminary explorations at the level of industrial parks and workshops, but the research on in-depth integration and application in the workshop is relatively weak. In particular, optimization of coupled PV microgrids and flexible job shop scheduling has not yet been fully investigated.
The time-sharing tariff mechanism, as an important part of power market-oriented reform, guides users to optimize their electricity consumption behavior by setting differentiated tariffs for different time periods and realizes peak shaving and valley filling, as well as the supply-demand balance of the power system. For manufacturing enterprises, the time-sharing tariff strategy provides an opportunity to reduce operating costs by adjusting the production schedule, which also provides a new entry point and driving force for the optimization of green scheduling in the workshop. Deng et al. [
23] proposed a price for optimizing power prices based on time-sharing tariffs to reduce the cost of the grid, which provides theoretical support for the design of a time-sharing tariff mechanism. Yu et al. [
24] investigated the complex multilevel task network scheduling and cooperative optimization of electric power supply in the context of time-sharing tariffs, integrating distributed energy sources, and proposed a hybrid algorithm, which was verified to have excellent performance in terms of reducing energy consumption and costs. Jia et al. [
25] took the effect of variable energy prices on energy cost into account and constructed a multi-objective optimization model with cost, carbon emission, and customer satisfaction as the objectives; the experimental results showed that the method can significantly reduce carbon emissions, improve customer satisfaction, and enhance the competitiveness and green production image of the enterprise. Park et al. [
26] explored the impacts of time-of-use tariffs and planned downtime with flexible job shop scheduling and proposed an integer linear programming model; the results showed that energy costs can be significantly reduced while maintaining maximum productivity. Shen et al. [
27] investigated how to minimize the total energy cost under a time-sharing tariff scheme within the framework of the flexible job shop scheduling problem and proposed an iterative forbidden search algorithm for the general problem, verifying the scheme’s potential benefits in terms of total energy cost reduction. Although studies confirm that time-sharing tariffs optimize energy allocation, enhance microgrid stability, and reduce manufacturing costs and carbon emissions, current research focuses on shop floor energy allocation, overlooking clean photovoltaic renewable energy integration. Notably, there has been insufficient systematic study on combining time-sharing tariffs, PV microgrids, and flexible shop scheduling, particularly regarding PV power generation timing, tariff period matching, and energy storage systems’ role in peak shaving and valley filling, revealing clear research gaps.
In summary, although significant progress has been made in algorithmic efficiency and multi-system integration, a critical theoretical gap remains regarding the deep coupling mechanism between stochastic renewable energy supply and flexible production loads. A fundamental challenge lies in the mathematical heterogeneity of the two domains: flexible job shop scheduling is a typical discrete combinatorial optimization problem involving integer variables, whereas microgrid energy management involves a continuous power flow dynamic. Most existing approaches treat energy supply as a static constraint or optimize objectives in isolation, failing to mathematically bridge the gap between discrete task allocation and continuous energy dispatch. Consequently, simply applying traditional strategies is insufficient. There is an urgent need to establish a bi-level collaborative optimization framework that can simultaneously coordinate these heterogeneous variables to achieve a mathematically rigorous synergistic reduction in energy costs and carbon emissions.
To bridge this gap, this paper develops a multi-objective collaborative optimization model coupling FJSP with PV microgrids using TOU pricing. To solve this complex model, a three-stage bilevel collaborative framework is designed, and an improved Collaborative Multi-Objective Particle Swarm Optimization (CMOPSO) algorithm is proposed. The main contributions and novelties of this study are as follows:
A Coupled Low-Carbon Scheduling Model: Unlike traditional methods that treat energy supply as a static constraint, this study establishes a dynamic coupling model between the FJSP and PV microgrids. By incorporating TOU pricing and PV uncertainty, the model realizes dual optimization of “energy supply” and ‘production load.
A Three-Stage Bilevel Collaborative Framework: A novel hierarchical solution framework is proposed to decompose the complex coupled problem. It consists of preliminary scheduling, PV availability analysis, and integrated optimization, effectively bridging the timescale difference between production tasks and energy management.
An Improved CMOPSO Algorithm: To solve this high-dimensional NP-hard problem, the CMOPSO algorithm is enhanced with a four-layer encoding mechanism (incorporating energy source decisions), logistic chaotic mapping for global search initialization, and an adaptive mutation strategy to maintain population diversity and avoid local optima.
2. Optimization Model for Low-Carbon Dispatch of Flexible Job Shop Production and Photovoltaic Microgrids
Taking the flexible job shop production process as the research object and considering the dynamic energy supply of photovoltaic microgrids comprehensively, studying how to optimize the two-layer scheduling strategy of time and energy in order to simultaneously reduce the energy consumption of production, improve the processing efficiency, and reduce the cost of production is a core challenge in the field of smart manufacturing and sustainable development. Flexible shop floor scheduling is characterized by flexible task allocation and efficient resource utilization, but its high energy consumption problem limits the development of low-carbon manufacturing. Photovoltaic microgrids can significantly reduce carbon emissions through providing a renewable energy supply, but the stochastic and fluctuating nature of power generation puts higher requirements on real-time scheduling. To solve this problem, this paper constructs a multi-objective optimization model coupling flexible workshop production and photovoltaic microgrids. The model includes the following sub-models: (1) a job shop scheduling model for optimizing task allocation and minimizing maximum completion time; and (2) a PV microgrid model for dynamically managing energy supply and storage. The modeling process of each model is described below.
2.1. Low-Carbon Photovoltaic Flexible Shop Floor Scheduling Model
The photovoltaic flexible job shop scheduling problem aims to achieve synergistic optimization of productivity, energy consumption, and cost by optimizing production task allocation and energy supply strategies. The Flexible Job Shop Scheduling Problem (FJSP) involves assigning multiple tasks on multiple machines; each task contains several processes, and each process can be processed by any one of a set of available machines. Compared to traditional job shop scheduling, FJSP has higher complexity due to process flexibility and machine selection diversity, and optimization usually includes minimizing finish-time energy consumption.
The assumptions of the problem are as follows. (1) At the initial moment (t = 0), all the workpieces are in the state of pending processing, all the machines are in the idle state, and all the workpieces can start processing immediately. (2) The processes for the same workpiece have a strict order of priority, while different workpieces have the same priority, with no priority constraints. (3) At any time, each machine can only process one process, and once the process starts, it cannot be interrupted. (4) Photovoltaic power generation is based on the known daily power generation curve, without considering weather effects. (5) The initial capacity of the energy storage system is known, and the charging and discharging efficiency is fixed. (6) The grid electricity price follows the time-of-day tariff mechanism, and the tariff function is fixed during the dispatch cycle. (7) Machine failures, random delays in workpiece addition, or real-time fluctuations in PV power generation are not taken into account; the electrical devices (machines) are assumed to operate under fixed working conditions. The specific machining parameters (e.g., cutting speed, feed rate) and the rated power of the equipment are constant values.
Table 1 shows a symbolic representation of the model.
In this model, we introduce the following binary decision variables to represent the production scheduling and resource allocation choices:
where
Xij and
Yijk are decision variables.
2.1.1. Integrated Carbon Emissions Model
The carbon emissions considered in PV flexible job shop scheduling are mainly composed of two carbon emission modules: the grid-supplied carbon emission module and the PV-supplied carbon emission module. The carbon emissions from both are closely related to the energy consumption generated by job shop production activities, which mainly includes machine tool energy consumption and public energy consumption, and machine tool energy consumption mainly includes machining energy consumption and idle waiting energy consumption.
(1) Machining energy consumption refers to the energy consumed by the machine tool in the machining state, and the total machining energy consumption is
(2) Idle waiting energy consumption is the energy consumed by a machine tool that appears to be idle because it has not arrived or there is no production run taking place on the machine, and the idle waiting energy consumption of machine
k is
(3) Public energy consumption refers to the energy consumption of public facilities in the workshop, which is the energy that must be consumed in order to maintain normal operation of the workshop, and is the sum of energy consumption for lighting, ventilation, air conditioning, etc. The public power is a fixed value of
P0, and its total energy consumption is
Therefore, the expression for the total energy consumption of the workshop is
(4) The total energy consumption of the workshop is calculated as E. However, calculating carbon emissions accurately requires addressing the mismatch between the time granularity of scheduling and energy pricing. The scheduling variables (e.g., start time ) are continuous, while the grid’s electricity prices are discrete, typically changing on an hourly basis.
To bridge this gap, we introduce a time discretization mapping mechanism. Let the entire scheduling horizon be divided into
T discrete time slots, indexed by
, with each slot having a duration of
(e.g.,
h). For a specific operation
processed on machine
k, the continuous processing interval
is mapped onto the discrete time slots. The effective processing duration
of this operation within the
t-th time slot is calculated as the intersection of the two time intervals:
Based on this mapping, the total energy consumption in the
t-th time slot, denoted as
, can be accurately derived by summing the power consumption of all operations and idle states active during that slot. Consequently, the total carbon emission
C is formulated by summing the emissions over all discrete time slots, considering the time-varying grid emission factor
:
where
and
represent the energy supplied by the grid and the photovoltaic system in time slot
t, respectively, subject to the power balance constraints described in
Section 2.3.
In this study, the carbon emission factors are treated as constant parameters based on regional standards [
28]: the grid emission factor
is set to 0.641 kgCO
2/kWh, and the PV emission factor
is 0.055 kgCO
2/kWh.
2.1.2. Photovoltaic Microgrid Model
The photovoltaic microgrid model aims to provide efficient and economical energy support for flexible shop floor scheduling by dynamically managing the renewable energy supply and the energy storage system, while reducing total system energy consumption and carbon emissions. The PV microgrid consists of a PV power generation system, an energy storage system, and an external power grid. In this study, the photovoltaic panels are installed on the roof of the workshop to form a distributed generation system, ensuring direct power supply to the production line and minimizing transmission losses. Its core task is to optimize the energy distribution strategy according to the real-time power demand of the shop floor production, maximizing utilization of PV power generation and minimizing dependence on the external power grid.
- (1)
Photovoltaic power model
In microgrid optimal scheduling, the power of PV cells must be predicted. The output power model of PV cell is shown below:
where
is the output active power of the PV cell;
is the output power of the PV cell under standard test conditions;
is the derating coefficient of the PV cell, which is usually 0.8;
is the actual intensity of solar radiation;
is the intensity of solar radiation under standard test conditions;
is the temperature coefficient of the PV panel;
is the temperature of the PV cell during the current time step;
is the temperature of the PV cell during the current time step; and
is the PV cell temperature under standard test conditions.
Considering that photovoltaic power generation has instability, in order to simulate the energy output characteristics of photovoltaic power generation, a solar photovoltaic power station in a province in the northwest region of China was selected as an example [
29]. As shown in
Figure 1, the red dots represent the selected actual measured data samples, while the curve represents the fitted power generation trend based on the normal distribution model, illustrating a typical all-day power generation output.
Based on the photovoltaic power generation curve shown above, the energy generated by photovoltaic power generation
pt is
where
t0 denotes the beginning moment of a cycle,
t1 denotes the end moment of a cycle, and
Pv(
t) denotes the amount of energy that the PV can produce at moment
t.
Since PV power generation is approximately normally distributed throughout the day, it can be described by the probability density function of the normal distribution as
where
W represents the peak value of PV power generation in a day.
- (2)
Battery model
Batteries are a kind of energy storage equipment. In the case of renewable energy, if a power supply cannot meet the load needs, batteries will release their stored energy to provide users with a stable power supply, to ensure safe and stable operation of the system.
where
SOC(
t) is the remaining capacity of the battery at time
t;
Pbess(
t) is the charging and discharging power of the battery at time
t; positive means charging and negative means discharging; and
η+ and
η− are the charging and discharging efficiencies, respectively.
- (3)
Time-sharing tariff model
Time-sharing tariffs are the core tool of the electricity market pricing mechanism. Constructing a time-sharing tariff needs to take into account user demand, system cost changes, and other factors. According to China’s time-sharing tariff policy, the tariff will be divided into three phases: peak time (10:00–12:00, 17:00–22:00), usual time (8:00–10:00, 12:00–17:00), and valley time (22:00–8:00 the next day). The time-of-day tariff model [
30] is shown in
Table 2.
2.2. Objective Function
We combined the GFJSP and PV problems to minimize completion time, carbon emissions, and cost. To do this, we established a mixed integer linear programming mathematical model, which minimizes the completion time objective function as follows:
where
Cmax is the maximum completion time, which will change according to different scheduling schemes.
According to the carbon emission calculation method in
Section 2.1.1, the carbon emission objective function is constructed as follows:
Based on the time-of-use tariff model, the following cost objective function is constructed:
where
W is the cost incurred by the workshop in using electricity while carrying out production activities, and
f(
t) is the time-sharing tariff function.
In summary, the multi-objective function for low-carbon scheduling of PV flexible shop scheduling is as follows:
2.3. Constraints
In the actual process of production activities, PV microgrids need to consider the balance of the power supply and the output of the energy storage equipment, while the production process needs to consider the constraints on the processing of workpieces and machines.
2.3.1. Power Balance Constraints
The grid power supply, as the main source of energy supply for the workshop, usually has more stable output characteristics. Photovoltaics, as an auxiliary energy source, constitutes the normal operation of the workshop, in which power balance constraints need to be considered:
where
PPV(
t) is the power supplied by the PV,
Egrid(
t) is the energy supplied by the grid, and
Pbess(
t) is the power supplied by the batteries. The profile of
is dynamically determined by the decision variables
and
, thereby establishing intrinsic mathematical coupling between the energy constraints (Equations (15)–(17)) and the scheduling domain (Equations (18)–(23)).
2.3.2. Energy Storage Device Constraints
The battery serves as a back-up power source for the shop, allowing for charging when there is sufficient PV energy and discharging when there is a shortage of PV energy, with the following constraints:
where
and
are the upper and lower limits, respectively, of the energy storage state output, whose values are positive for the power input and negative for the power output; and
and
are the upper and lower limits, respectively, of the energy storage capacity at the moment
t.
2.3.3. Flexible Job Shop Constraints
The flexible job shop needs to consider mobilization of workpieces and machines during production activities, with the following constraints:
Equation (18) specifies that a particular process can only be processed on one machine; Equation (19) indicates the time constraints of the process; Equation (20) ensures that the completion time of the process should not exceed the completion time of the corresponding workpiece; Equation (21) specifies that the various processes in the workpiece should follow the established sequence of processing; Equation (22) indicates that each machine can only be start a process after completion of the previous process and before beginning the next process (that is, only one process can be processed at a time); and Equation (23) indicates that the value of the parameter variable is non-negative.
4. Case Validation
In this section, sufficient experiments are designed to validate the performance of the proposed algorithms. The simulations were conducted in MATLAB 2023a on a workstation equipped with an AMD Ryzen 9 7940H CPU (3.4 GHz), 16 GB RAM, and an NVIDIA RTX 4060 GPU. Regarding the algorithm configuration, the key parameters of CMOPSO were determined by referring to standard settings in the literature [
32] and conducting preliminary sensitivity tests. Specifically, the population size is set to 100, the maximum number of iterations is 100, the inertia weight w is 0.5, and the acceleration coefficients are set to c
1 = 1.5 and c
2 = 1.5. The remaining parameters were configured in accordance with the recommendations provided in [
32]. Furthermore, the physical specifications of the microgrid components and the time-of-use tariff data used in the case study are derived from typical industrial standards and local commercial pricing policies, respectively, as detailed in
Section 2.1.2.
4.1. Case Background
To validate the three-stage multi-objective optimization model and its solution proposed in this paper, the test set provided by Brandimate [
33] was used as a benchmark.
Table 3 shows an example of the benchmark example MK01, which contains 10 jobs and six machines.
In order to place the cases in the context of considering the dispatch of a PV microgrid, for the different cases, an energy storage system with a capacity of 150 kWh is designed, which has a charging and discharging power of 10 kW and 12 kW, respectively. It is assumed that there exists a distributed solar panel for the shop floor to carry out the generation of the energy, which generates a peak of 6000 kWh. these values are based on a real PV system. For different cases, the real values are scaled to fit the actual supply in performing the workshop generation activities.
4.2. Experimental Results
In order to analyze the effectiveness of the algorithm in the case, specific to the MK01 case, the algorithm generates a non-dominated Pareto frontier, as shown in
Figure 8, with the convergence curve shown in
Figure 9.
From
Figure 9, it can be learned that the carbon emission and cost converged in 25 generations, and the completion time converged in 50 generations. The initial solution of the completion time is lower, which is due to the initial scheduling in the first stage, and the solution with larger completion time will be preferentially excluded in the third stage of optimization.
The three objectives are evaluated using linear weighting, where each objective function has a weight of 1/3, from which the optimal scheduling under the equilibrium decision can be obtained. The scheduling scheme is shown in
Figure 10.
From the analysis of the scheduling scheme, it can be seen that PV power generation and the tariff period show an isotropic effect. Since PV production capacity is mainly concentrated in the daytime hours with sufficient light, which coincides with the flat and peak periods of the electricity price, PV power is basically realized as soon as it is generated, and there is seldom any transfer of the power surplus to the subsequent periods. At the same time, the production scheduling also reflects a clear cost orientation, which effectively reduces overall costs by scheduling the main processing hours in the low tariff zone.
In order to enable the decision maker to choose the appropriate solution according to personal preference, for the three objectives, we consider three different extreme cases, which are cases where the decision preference is for minimum completion time, minimum cost, and minimum carbon emission.
Figure 11,
Figure 12 and
Figure 13 show the microgrid energy allocation diagrams for the three extreme cases, as well as the grid output power and tariff interaction diagrams.
Under the decision preference of completion time priority, the scheduling system achieves efficient scheduling of centralized processing by optimizing the time between processes. However, the use of photovoltaic energy is still prioritized during high electricity price hours, and the decision is made to reduce energy costs by shifting energy-intensive tasks to flat and low valley electricity price hours.
Under the cost-first decision-making preference, the time-sharing tariff strategy guides the plant to utilize more PV renewable energy during peak hours, reducing reliance on grid power and lowering carbon emissions and costs. At the same time, it reduces peak power consumption and increases valley power consumption by optimizing the power consumption plan and shifting high-load production tasks to low or flat hours.
Under the decision of preferring carbon emissions, the dispatch scheme guides the high-load tasks to be processed in the low or flat tariff hours through the time-sharing tariff strategy and prioritizes the use of energy storage devices to supply power in peak tariff hours in order to reduce the carbon emissions of the scheme, but some high-load tasks are still scheduled in peak hours due to the constraints of the time of completion.
From analysis of the MK01 case, it can be concluded that the method can effectively optimize scheduling while taking into account energy allocation in the microgrid and using the time-sharing tariff strategy to achieve double optimization of both time and energy levels.
4.3. Comparison of Algorithms
In order to verify the effectiveness of the algorithm, the CMOPSO algorithm is compared with the MOPSO algorithm, the NSGA-II [
34] algorithm, and the SPEA-II [
35] algorithm, and the optimal solution of multiple runs is selected by the Analytic Hierarchy Process (AHP) [
36] under the condition of the same parameter. The bold font represents the optimal solution of four algorithms. The objective value is optimal, as shown in
Table 4.
Table 4 presents a quantitative comparison of the optimal objective values obtained by the four algorithms across ten benchmark instances (MK01–MK10), ranging from small-scale to large-scale problems. The bold values highlight the best results among the compared methods. Taking the MK01 instance as an example, CMOPSO achieves the minimum values in terms of makespan (40), cost (182.5), and carbon emissions (240.2), which are significantly lower than those of the baseline MOPSO (45, 197.7, 271.4) and NSGA-II. Furthermore, in large-scale instances such as MK06 and MK10, CMOPSO consistently maintains its dominance. This indicates that the proposed algorithm, enhanced by chaotic mapping and adaptive strategies, possesses superior global search capabilities and stability, effectively avoiding local optima compared to traditional algorithms.
In order to further compare the performance of the algorithms, the four algorithms are each run randomly on the small-sized arithmetic case MK01, the medium-sized arithmetic case MK04, and the large-sized arithmetic case MK06, and the derived Pareto fronts are plotted, as shown in
Figure 14. There are more non-dominated solutions solved by CMOPSO than by the other three algorithms, and the non-dominated solution space corresponding to them is more centralized, which suggests that this paper’s CMOPSO has better convergence.
4.3.1. Performance Evaluation Metrics
When evaluating the performance of an algorithm, it is crucial to consider multiple aspects. In this paper, the performance of the algorithm is comprehensively evaluated by the following metrics [
37].
(1) IGD (inverted generational distance) evaluates the convergence performance and distribution performance of the algorithm by calculating the minimum sum of the distances between each individual to the set of individuals acquired by the algorithm on the real Pareto fronts. The smaller the value, the better the comprehensive performance of the algorithm, including convergence and distribution performance. The formula is as follows:
where
P is the set of points uniformly distributed on the true Pareto surface, |
P| is the number of individuals in the set of points distributed on the true Pareto surface, Q is the set of the most Pareto-optimal solutions obtained by the algorithm, and
d(
v,Q) is the minimum Euclidean distance from individual
v in
P to population
Q.
(2) HV (hypervolume) calculates the hypervolume dominated by the non-dominated solution set in the target space with respect to a certain reference point. HV reflects both the convergence and the distribution of the solution set. The larger the value of HV, the higher the quality of the solution set. The formula is as follows:
where
v(
x,P) denotes the hypervolume of the space formed between the solution
x and the reference point
P in the non-dominated solution set
X.
(3) Spread calculates the distribution degree index of the non-dominated solution set generated by the multi-objective optimization algorithm with respect to the real Pareto front, which is a comprehensive measure of the uniformity and coverage of the solution set. A smaller the value indicates that the distribution of the solution set is more uniform and the coverage is more extensive. The formula is as follows:
where |
A| is the number of solution sets, m is the number of objective functions, and di denotes the average distance from each solution to the nearest neighbor solution.
A comprehensive assessment of the convergence, coverage, and uniformity of distribution of the algorithm through these metrics provides a more comprehensive understanding of the algorithm performance.
4.3.2. Analysis of Test Results
Thirty runs of the four algorithms were performed with the same parameter settings, and the mean values of the solution set metrics were calculated. The results are shown in
Table 5,
Table 6 and
Table 7.
CMOPSO shows excellent performance in terms of all three performance aspects: convergence, coverage, and uniformity of distribution. It is known from the IGD metrics that CMOPSO obtains nine optimal solutions and shows excellent performance in terms of convergence of the solution set, which is only slightly inferior to MOPSO and NSGA-II for the MK05 case. Secondly, its performance in terms of coverage is known from the HV performance metrics of the table, where CMOPSO slightly underperforms MOPSO for the MK09 case. Finally, its performance in terms of uniformity of distribution is proved from the spread performance of the table, where CMOPSO underperforms MK05 only for MK04. In summary, from the performance metrics of all three, CMOPSO shows excellent performance, outperforming the other three algorithms. Taking instances of different scales (MK01, MK04, and MK06) as representative study objects, the comparative boxplots for performance indices IGD, HV, and spread are plotted in
Figure 15. To interpret the results, lower values indicate better performance for IGD and spread, while higher values are preferred for HV. As observed in the boxplots, the proposed algorithm achieves median values closer to the ideal optima compared to the baselines. Furthermore, the distribution is more centralized (indicated by the shorter box heights), demonstrating lower variance. These results confirm that the proposed algorithm significantly outperforms the other algorithms in terms of convergence, coverage, and uniformity.
4.4. Melting Experiment
To rigorously quantify the individual contributions of the photovoltaic system and the time-of-use pricing strategy in reducing production costs and carbon emissions, and to verify the synergistic effect of their combination, this section designs an ablation study. We construct four progressive scenarios by controlling two variables––“PV Configuration” and “Pricing Strategy”––to isolate the impact of each factor.
The four comparative scenarios are defined as follows.
Scenario 1 (with PV + ToU): The complete collaborative model proposed in this paper, incorporating both PV generation and ToU pricing signals. This scenario aims to verify the maximized benefits with “Source-Price” coupling.
Scenario 2 (with PV + flat price): The PV system is installed, but the electricity price remains fixed (mean value). This scenario tests the energy substitution benefit of PV itself, while examining system performance when energy storage operates in a passive fluctuation-smoothing mode due to the lack of price incentives.
Scenario 3 (no PV + ToU): Based on Scenario 4, the ToU pricing strategy is introduced, but still without PV. This scenario aims to test the economic benefits of “peak shaving and valley filling” and load shifting using price signals when relying solely on grid power.
Scenario 4 (baseline: no PV + flat price): This simulates a traditional job shop environment. The microgrid has no PV generation and relies entirely on the external grid. Furthermore, the electricity price is fixed. In this scenario, the system lacks low-carbon energy sources, and the energy storage system has no arbitrage room.
In order to ensure the fairness of the comparative experiment and avoid errors caused by deviations in the setting of the benchmark price, the “fixed electricity price” used in scenarios 2 and 4 is calculated based on the weighted average of the time-of-use electricity price over a 24 h period. The formal calculation formula is as follows:
where
is the average electricity price (yuan/kWh);
is the price for the
-th time period (e.g., valley, shoulder, peak);
is the duration of the
-th time period (hours);
is the number of distinct time periods (here,
), and
. The fixed electricity price is calculated as
yuan/kWh. This setting ensures that the ablation study evaluates the optimization performance.
The comparison results of total electricity cost and carbon emissions in the four scenarios are presented in
Table 8.
Based on
Table 4, the contributions of each factor are analyzed through multi-dimensional comparison.
Impact of the ToU pricing strategy in PV-integrated scenarios (S1 vs. S2): the time-of-use mechanism reduces the total cost by 21.1% (231.2 to 182.5). This underscores that PV energy generation alone is insufficient; it requires price signals to actively schedule storage, “shifting” renewable energy to peak price periods to unlock its temporal value. In contrast, without PV (S3 vs. S4), ToU signals only yield a 6.4% cost reduction via load shifting. The significant disparity in cost reduction validates the necessity of “source-price” coupling, where PV integration amplifies the system’s flexibility for peak shaving.
Contribution of PV Configuration: regardless of the pricing strategy, PV integration serves as the primary driver for low-carbon manufacturing. Under both ToU (S1 vs. S3) and flat pricing (S2 vs. S4) conditions, carbon emissions drop significantly from the 340 kg level to the 240 kg level (reductions of 30.5% and 26.8%, respectively). This physical substitution of grid power with clean energy simultaneously lowers operational costs and lowers carbon footprints.
Verification of Synergistic Effect: Scenario 1 achieves global optimality across all metrics, delivering a 44.3% cost reduction and a 29.0% emissions reduction compared to the baseline Scenario 4.
4.5. Algorithm Complexity Analysis
The computational complexity of the proposed algorithm is primarily determined by the iterative process of CMOPSO and the bi-level feedback mechanism. Let be the population size, be the maximum number of iterations, be the encoding dimension (proportional to the total number of operations ), and be the number of objectives. The complexity can be analyzed as follows:
Fitness Evaluation: In each iteration, decoding the solution and calculating the objectives (makespan, cost, carbon) requires traversing all operations. The complexity is .
Pareto Sorting and Archive Maintenance: The non-dominated sorting (e.g., similar to NSGA-II) typically has a complexity of .
Bi-level Feedback Loop: Let K be the number of Lagrangian feedback iterations. The entire CMOPSO process is influenced by the weight updates in this outer loop.
Therefore, the overall time complexity of the proposed framework can be approximated as
Although the introduction of the three-stage strategy and bi-level feedback increases the computational burden compared to single-layer algorithms, it remains within polynomial time complexity. Considering that production scheduling is typically an offline planning task, the priority is solution quality (cost and carbon reduction), rather than millisecond-level real-time response. Empirical results show that the algorithm converges within a reasonable time for standard benchmark instances.
5. Conclusions
This paper proposes a collaborative optimization method for low-carbon scheduling of flexible job shop production considering photovoltaic microgrids that integrates energy allocation and job scheduling after the introduction of photovoltaic energy into the workshop production process and the introduction of a time-sharing tariff policy, with the aim of promoting low-carbon and high-efficiency production activities. Firstly, a PV microgrid, as well as a low-carbon scheduling model, for the flexible workshop are established; secondly, a three-stage problem-solving framework is constructed for the difficulties of the coupled problem of the two- and a multi-objective particle swarm algorithm, which combines chaotic mapping with adaptive mutation mechanism, and is improved for the solving of this model, and a two-tier collaborative optimization architecture is designed based on the CMOPSO algorithm. The final research results are as follows.
(1) The three-stage problem-solving method and the two-layer co-optimization architecture proposed in this paper significantly improve the processing time of shop floor production, as well as the carbon emissions generated in the production process, and a four-layer coding mechanism was designed that conforms to the problem model. The optimization method is tested with the Brandimarte example, and the comparison results show that the optimization method has significant advantages and reliability for this kind of problem.
(2) By exploring the impact of time-sharing tariff policy on low-carbon dispatching of PV flexible workshops and analyzing the interaction between energy allocation and tariffs, the results show that time-sharing tariffs can significantly reduce electricity expenses by increasing the tariffs during peak hours, decreasing the tariffs during low hours, and adjusting the electricity loads to coincide with the peak period of renewable energy generation in order to sub-divide the reduction of the rate of light abandonment.
(3) Simulation verifies the effectiveness of CMOPSO in solving such problems by comparing CMOPSO with three other mainstream multi-objective optimization algorithms (including MOPSO, NSGA-II, and SPEA-II) in a comprehensive manner, which show significant advantages for different kinds of problems and in multiple evaluation dimensions.
This study demonstrates the feasibility of integrating PV microgrids into the valuable flexible job shop scheduling model and verifies the superiority of the optimization framework and algorithms in problem solving. In practical applications, this method can help manufacturing enterprises optimize the scheduling scheme and consider the scheme after the introduction of photovoltaic energy, which can help enterprises improve productivity while effectively reducing carbon emissions and transforming in green and low-carbon directions.