A Repair-Based Improved Whale Optimization Algorithm for Low-Carbon Economic Dispatch of an Islanded Renewable Microgrid
Abstract
1. Nomenclature
2. Introduction
2.1. Background and Motivation
2.2. Literature Review
2.3. Research Gaps
2.4. Contributions
- 1.
- A low-carbon economic dispatch model is formulated for an islanded PV-WT-BESS-DG-DR microgrid, considering fuel cost, O&M cost, BESS degradation, renewable curtailment, load shedding, DR compensation, and carbon cost.
- 2.
- A repair-based constraint-handling method is used to enforce power balance, DG ramping, BESS SOC limits, charging/discharging complementarity, and DR conservation while maintaining a continuous metaheuristic search space.
- 3.
- A repair-based improved WOA is organized into three functional modules: diversity enhancement, exploration–exploitation balancing, and local escape and refinement, each linked to dispatch-specific difficulties.
- 4.
- The method is validated using repeated-run benchmark comparison, nonparametric significance tests, strategy comparison, ablation study, and sensitivity analysis.
2.5. Paper Organization
3. System Description and Problem Formulation
3.1. Islanded Microgrid Structure
3.2. Objective Function
3.3. Constraints
3.4. Constraint Repair Process
4. Repair-Based Improved WOA
4.1. Standard WOA
4.2. Challenges of Islanded Microgrid Dispatch for WOA
4.3. Proposed Repair-Based Improved WOA
4.4. Module 1: Diversity Enhancement
4.5. Module 2: Exploration–Exploitation Balancing
4.6. Module 3: Local Escape and Refinement
4.7. Pseudocode
| Algorithm 1 Repair-based improved WOA for low-carbon economic dispatch. |
Input: objective function, bounds, population size N, maximum iteration K. Output: best repaired dispatch schedule. 1. Initialize population using chaotic mapping. 2. Decode, repair, and evaluate all candidates. 3. Apply elite opposition-based learning and retain the best N candidates. 4. For k = 1 to K: 4.1 Update nonlinear convergence factor and adaptive inertia weight. 4.2 Generate WOA encircling, random-search, or spiral candidates. 4.3 Apply Levy or Cauchy mutation according to preset probabilities. 4.4 Clip bounds, decode candidates, and run the repair process. 4.5 Evaluate penalized objective values. 4.6 Preserve the best candidate and update the convergence record. 5. Apply elite local refinement to the best candidate. 6. Return the repaired best dispatch schedule and cost. |
4.8. Complexity Analysis
5. Case Study and Simulation Settings
5.1. Data and Parameters
5.2. Algorithm Settings
5.3. Evaluation Metrics
6. Results
6.1. Base-Case Dispatch
6.2. Benchmark Algorithm Comparison
6.3. Statistical Tests
6.4. Strategy Comparison
6.5. Ablation Study
7. Sensitivity Analysis
8. Discussion
8.1. Comparison with Recent Worldwide Studies
8.2. Network Constraints and Real-Grid Applicability
8.3. Uncertainty and Constraint-Handling Extensions
8.4. Engineering-Scale Consistency and Practical Relevance
9. Conclusions
- 1.
- In the base case, the total cost is 2666.50 CNY/day, load shedding is zero, and the repaired schedule satisfies the power-balance equality with numerical precision.
- 2.
- In 30 independent benchmark runs, the proposed method reduces the mean cost by 4.07% compared with WOA, from 2775.92 to 2662.96 CNY/day, and reduces the standard deviation by 79.72%, from 121.23 to 24.59 CNY/day.
- 3.
- Statistical tests support the algorithm comparison. The Wilcoxon two-sided p-value for Proposed versus WOA is , and the Friedman test across the four algorithms gives .
- 4.
- The strategy comparison shows that carbon-cost internalization increases the explicit total cost in S4. This reflects a broader low-carbon accounting boundary rather than an optimization failure.
- 5.
- The ablation study shows that the full method improves distributional performance and repeated-run robustness, although it does not always achieve the best single-run optimum.
- 6.
- Sensitivity checks show that changing the BESS degradation coefficient, carbon price, and DR compensation factor changes total accounting cost but does not reverse the qualitative feasibility of the deterministic dispatch framework.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| BESS | Battery energy storage system |
| DG | Dispatchable generator |
| DR | Demand response |
| EMS | Energy management system |
| GWO | Grey wolf optimizer |
| PV | Photovoltaic |
| SOC | State of charge |
| WOA | Whale optimization algorithm |
| WT | Wind turbine |
References
- Lasseter, R.H. MicroGrids. In 2002 IEEE Power Engineering Society Winter Meeting; Conference Proceedings; IEEE: Piscataway, NJ, USA, 2002; Volume 1, pp. 305–308. [Google Scholar] [CrossRef]
- Hatziargyriou, N.; Asano, H.; Iravani, R.; Marnay, C. Microgrids. IEEE Power Energy Mag. 2007, 5, 78–94. [Google Scholar] [CrossRef]
- Olivares, D.E.; Mehrizi-Sani, A.; Etemadi, A.H.; Canizares, C.A.; Iravani, R.; Kazerani, M.; Hajimiragha, A.H.; Gomis-Bellmunt, O.; Saeedifard, M.; Palma-Behnke, R.; et al. Trends in Microgrid Control. IEEE Trans. Smart Grid 2014, 5, 1905–1919. [Google Scholar] [CrossRef]
- Chen, C.; Duan, S.; Cai, T.; Liu, B. Smart Energy Management System for Optimal Microgrid Economic Operation. IET Renew. Power Gener. 2011, 5, 258–267. [Google Scholar] [CrossRef]
- Kanchev, H.; Lu, D.; Colas, F.; Lazarov, V.; Francois, B. Energy Management and Operational Planning of a Microgrid With a PV-Based Active Generator for Smart Grid Applications. IEEE Trans. Ind. Electron. 2011, 58, 4583–4592. [Google Scholar] [CrossRef]
- Tsikalakis, A.G.; Hatziargyriou, N.D. Operation of Microgrids with Demand Side Bidding and Continuity of Supply for Critical Loads. Eur. Trans. Electr. Power 2011, 21, 1238–1254. [Google Scholar] [CrossRef]
- Parisio, A.; Rikos, E.; Glielmo, L. A Model Predictive Control Approach to Microgrid Operation Optimization. IEEE Trans. Control Syst. Technol. 2014, 22, 1813–1827. [Google Scholar] [CrossRef]
- Palma-Behnke, R.; Benavides, C.; Lanas, F.; Severino, B.; Reyes, L.; Llanos, J.; Saez, D. A Microgrid Energy Management System Based on the Rolling Horizon Strategy. IEEE Trans. Smart Grid 2013, 4, 996–1006. [Google Scholar] [CrossRef]
- Khodaei, A. Microgrid Optimal Scheduling With Multi-Period Islanding Constraints. IEEE Trans. Power Syst. 2014, 29, 1383–1392. [Google Scholar] [CrossRef]
- Garcia Vera, Y.E.; Dufo-Lopez, R.; Bernal-Agustin, J.L. Energy Management in Microgrids with Renewable Energy Sources: A Literature Review. Appl. Sci. 2019, 9, 3854. [Google Scholar] [CrossRef]
- Thirunavukkarasu, G.S.; Seyedmahmoudian, M.; Jamei, E.; Horan, B.; Mekhilef, S.; Stojcevski, A. Role of Optimization Techniques in Microgrid Energy Management Systems–A Review. Energy Strategy Rev. 2022, 43, 100899. [Google Scholar] [CrossRef]
- Nemati, M.; Braun, M.; Tenbohlen, S. Optimization of Unit Commitment and Economic Dispatch in Microgrids Based on Genetic Algorithm and Mixed Integer Linear Programming. Appl. Energy 2018, 210, 944–963. [Google Scholar] [CrossRef]
- Ibrahim, H.; Ilinca, A.; Perron, J. Energy Storage Systems–Characteristics and Comparisons. Renew. Sustain. Energy Rev. 2008, 12, 1221–1250. [Google Scholar] [CrossRef]
- Diaz-Gonzalez, F.; Sumper, A.; Gomis-Bellmunt, O.; Villafafila-Robles, R. A Review of Energy Storage Technologies for Wind Power Applications. Renew. Sustain. Energy Rev. 2012, 16, 2154–2171. [Google Scholar] [CrossRef]
- Albadi, M.H.; El-Saadany, E.F. A Summary of Demand Response in Electricity Markets. Electr. Power Syst. Res. 2008, 78, 1989–1996. [Google Scholar] [CrossRef]
- Siano, P. Demand Response and Smart Grids—A Survey. Renew. Sustain. Energy Rev. 2014, 30, 461–478. [Google Scholar] [CrossRef]
- Fan, S.; Ai, Q.; Piao, L. Hierarchical Energy Management of Microgrids including Storage and Demand Response. Energies 2018, 11, 1111. [Google Scholar] [CrossRef]
- Ghasemi, A.; Enayatzare, M. Optimal Energy Management of a Renewable-Based Isolated Microgrid with Pumped-Storage Unit and Demand Response. Renew. Energy 2018, 123, 460–474. [Google Scholar] [CrossRef]
- Nwulu, N.I.; Xia, X. Optimal Dispatch for a Microgrid Incorporating Renewables and Demand Response. Renew. Energy 2017, 101, 16–28. [Google Scholar] [CrossRef]
- Moosavi, M.; Olamaei, J.; Shourkaei, H.M. Optimizing Microgrid Performance: A Multi-Objective Strategy for Integrated Energy Management with Hybrid Sources and Demand Response. Sci. Rep. 2025, 15, 17827. [Google Scholar] [CrossRef]
- Hakimi, S.M.; Moghaddas-Tafreshi, S.M. Optimal Planning of a Smart Microgrid Including Demand Response and Intermittent Renewable Energy Resources. IEEE Trans. Smart Grid 2014, 5, 2889–2900. [Google Scholar] [CrossRef]
- Nguyen, D.T.; Le, L.B. Risk-Constrained Profit Maximization for Microgrid Aggregators With Demand Response. IEEE Trans. Smart Grid 2015, 6, 135–146. [Google Scholar] [CrossRef]
- Bahrami, S.; Sheikhi, A. From Demand Response in Smart Grid Toward Integrated Demand Response in Smart Energy Hub. IEEE Trans. Smart Grid 2016, 7, 650–658. [Google Scholar] [CrossRef]
- Long, Y.; Li, Y.; Wang, Y.; Cao, Y.; Jiang, L.; Zhou, Y.; Deng, Y.; Nakanishi, Y. Low-Carbon Economic Dispatch Considering Integrated Demand Response and Multistep Carbon Trading for Multi-Energy Microgrid. Sci. Rep. 2022, 12, 6218. [Google Scholar] [CrossRef] [PubMed]
- Zhang, S.; Hu, W.; Cao, X.; Du, J.; Bai, C.; Liu, W.; Chen, Z.; Li, Y.; Wang, H.; Yang, J. Low-Carbon Economic Dispatch Strategy for Interconnected Multi-Energy Microgrids Considering Carbon Emission Accounting and Profit Allocation. Sustain. Cities Soc. 2023, 99, 104987. [Google Scholar] [CrossRef]
- Xiang, Y.; Liu, J.; Liu, Y. Robust Energy Management of Microgrid With Uncertain Renewable Generation and Load. IEEE Trans. Smart Grid 2016, 7, 1034–1043. [Google Scholar] [CrossRef]
- Li, P.; Xu, D.; Zhou, Z.; Lee, W.J.; Zhao, B. Stochastic Optimal Operation of Microgrid Based on Chaotic Binary Particle Swarm Optimization. IEEE Trans. Smart Grid 2016, 7, 66–73. [Google Scholar] [CrossRef]
- Goh, H.H.; Shi, S.; Liang, X.; Zhang, D.; Dai, W.; Liu, H.; Wong, S.Y.; Kurniawan, T.A.; Goh, K.C.; Cham, C.L. Optimal Energy Scheduling of Grid-Connected Microgrids with Demand Side Response Considering Uncertainty. Appl. Energy 2022, 327, 120094. [Google Scholar] [CrossRef]
- Eghbali, N.; Hakimi, S.M.; Hasankhani, A.; Derakhshan, G.; Abdi, B. Stochastic Energy Management for a Renewable Energy Based Microgrid Considering Battery, Hydrogen Storage, and Demand Response. Sustain. Energy Grids Netw. 2022, 30, 100652. [Google Scholar] [CrossRef]
- Wang, G.; Cai, Z.; Ge, D.; Qu, J.; Yang, X.; Li, H. Integrated Multi-Objective Energy Management of a Smart Microgrid via Coordinated Smart Energy Hub and Dynamic Demand Response Under Renewable Uncertainty. Int. J. Energy Res. 2026, 50. [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of ICNN’95—International Conference on Neural Networks; IEEE: Piscataway, NJ, USA, 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
- Storn, R.; Price, K. Differential Evolution—A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
- Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
- Heidari, A.A.; Mirjalili, S.; Faris, H.; Aljarah, I.; Mafarja, M.; Chen, H. Harris Hawks Optimization: Algorithm and Applications. Future Gener. Comput. Syst. 2019, 97, 849–872. [Google Scholar] [CrossRef]
- Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A Bio-Inspired Optimizer for Engineering Design Problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
- Mirjalili, S. SCA: A Sine Cosine Algorithm for Solving Optimization Problems. Knowl.-Based Syst. 2016, 96, 120–133. [Google Scholar] [CrossRef]
- Abualigah, L.; Diabat, A.; Mirjalili, S.; Abd Elaziz, M.; Gandomi, A.H. The Arithmetic Optimization Algorithm. Comput. Methods Appl. Mech. Eng. 2021, 376, 113609. [Google Scholar] [CrossRef]
- Faramarzi, A.; Heidarinejad, M.; Mirjalili, S.; Gandomi, A.H. Marine Predators Algorithm: A Nature-Inspired Metaheuristic. Expert Syst. Appl. 2020, 152, 113377. [Google Scholar] [CrossRef]
- Li, S.; Chen, H.; Wang, M.; Heidari, A.A.; Mirjalili, S. Slime Mould Algorithm: A New Method for Stochastic Optimization. Future Gener. Comput. Syst. 2020, 111, 300–323. [Google Scholar] [CrossRef]
- Liu, Y.; Yang, S.; Li, D.; Zhang, S. Improved Whale Optimization Algorithm for Solving Microgrid Operations Planning Problems. Symmetry 2023, 15, 36. [Google Scholar] [CrossRef]
- Zhong, X.; Sun, X.; Wu, Y. A Bi-Layer Optimization Method of the Grid-Connected Microgrid Based on the Multi-Strategy of the Beluga Whale Algorithm. Front. Energy Res. 2024, 12, 1336205. [Google Scholar] [CrossRef]
- Zhou, M.; Wang, Y.; Li, T.; Yang, T.; Luo, X. Economic Optimization Scheduling of Microgrid Group Based on Chaotic Mapping Optimization BOA Algorithm. Energy Inform. 2024, 7, 133. [Google Scholar] [CrossRef]
- Zubi, G.; Makridis, S.S. Advances in Microgrid Optimization: A Comprehensive Review of Traditional and Hybrid Algorithms. Sustainability 2026, 18, 647. [Google Scholar] [CrossRef]













| Symbol | Description | Unit |
|---|---|---|
| T | Number of scheduling periods | - |
| Scheduling interval | h | |
| t | Time index | - |
| PV/WT | Photovoltaic/wind-turbine generation | - |
| BESS/DG/DR | Battery energy storage system/dispatchable generator/ | - |
| demand response | ||
| EMS/SOC | Energy management system/state of charge | - |
| WOA/GWO/SMA | Whale optimization algorithm/grey wolf optimizer/ | - |
| slime mould algorithm | ||
| F | Total daily dispatch objective value | CNY/day |
| Forecasted PV power at time t | kW | |
| Forecasted wind power at time t | kW | |
| Utilized PV power at time t | kW | |
| Utilized wind power at time t | kW | |
| Curtailed PV power at time t | kW | |
| Curtailed wind power at time t | kW | |
| Dispatchable generator output at time t | kW | |
| BESS charging power at time t | kW | |
| BESS discharging power at time t | kW | |
| Battery state of charge at time t | p.u. | |
| Rated BESS energy capacity | kWh | |
| Original load demand at time t | kW | |
| Load demand after demand response | kW | |
| Shiftable-load adjustment at time t | kW | |
| Voluntary curtailable load in DR | kW | |
| Involuntary load shedding | kW | |
| Power-balance residual at time t | kW | |
| Fuel cost | CNY/day | |
| Operation and maintenance cost | CNY/day | |
| BESS degradation cost | CNY/day | |
| Renewable curtailment penalty | CNY/day | |
| Load shedding penalty | CNY/day | |
| DR compensation cost | CNY/day | |
| Carbon emission cost | CNY/day | |
| Carbon price | CNY/kgCO2 | |
| DG emission factor | kgCO2/kWh | |
| Minimum/maximum DG output | kW | |
| Initial DG output | kW | |
| DG ramp-up/ramp-down limits | kW/h | |
| Maximum BESS charging/discharging power | kW | |
| BESS charging/discharging efficiency | - | |
| Initial/terminal BESS state of charge | p.u. | |
| Minimum/maximum BESS state of charge | p.u. | |
| BESS charging/discharging status indicators | - | |
| Maximum shiftable-load ratio | - | |
| Maximum curtailable-load ratio | - | |
| Quadratic DG fuel-cost coefficients | CNY/(kW2h), CNY/kWh, CNY/h | |
| DG operation and maintenance coefficient | CNY/kWh | |
| BESS throughput-based degradation coefficient | CNY/kWh | |
| PV/WT curtailment penalty coefficients | CNY/kWh | |
| Involuntary load-shedding penalty coefficient | CNY/kWh | |
| DR shifting/curtailment compensation coefficients | CNY/kWh | |
| Power-balance and terminal-SOC tolerances | kW, p.u. | |
| Position vector of individual i at iteration k | - | |
| Best solution found by iteration k | - | |
| Distance vector between an individual and the best solution in WOA | - | |
| Random coefficient vectors in WOA | - | |
| WOA coefficient vectors | - | |
| WOA convergence coefficient | - | |
| Nonlinear convergence coefficient in the proposed method | - | |
| Adaptive inertia weight and its lower/upper limits | - | |
| Spiral-shape constant and random spiral parameter | -, - | |
| Population size, maximum iterations, and decision dimension | -, -, - | |
| LB/UB | Lower/upper decision bounds | - |
| Levy-flight and Cauchy-mutation probabilities | - | |
| Levy-flight and Cauchy-mutation scale factors | - | |
| Levy distribution parameter, local-refinement radius, and perturbation vector | -, -, - | |
| Objective-evaluation cost and repair-operation cost | - | |
| Local-refinement rounds/candidates | -, - | |
| Voltage magnitude and phase angle at bus i in network-constrained operation | p.u., rad | |
| Conductance/susceptance of the network admittance matrix | p.u. | |
| Active/reactive power injection at bus i | kW, kvar | |
| Apparent power flow on line | kVA | |
| Minimum/maximum allowable voltage magnitude at bus i | p.u. | |
| Apparent-power capacity limit of line | kVA | |
| Uncertainty set for robust dispatch formulation | - | |
| Uncertain operating vector, such as PV, WT, and load deviations | - | |
| Scenario index and scenario probability in stochastic dispatch | -, - | |
| Conditional-value-at-risk term in risk-aware stochastic dispatch | CNY/day | |
| Weight of the risk term in stochastic dispatch | - |
| Reference | Microgrid Type | Components | Carbon Cost | DR | Uncertainty | Algorithm | Repeated-Run Statistics | Ablation | Main Limitation |
|---|---|---|---|---|---|---|---|---|---|
| Lasseter [1] | Conceptual microgrid | DER-load | No | No | No | Conceptual framework | N/A | N/A | Conceptual architecture rather than dispatch optimization |
| Olivares et al. [3] | Microgrid control review | DER-storage-load | Discussed | Discussed | Discussed | Review | N/A | N/A | Control-focused review rather than case dispatch |
| Chen et al. [4] | Microgrid EMS | DG-storage-load | No | Limited | Limited | Optimization-based EMS | No | No | Carbon and repeated-run analysis not central |
| Khodaei [9] | Islandable microgrid | DG-load-grid | No | Limited | Multi-period islanding | Optimization model | No | No | Renewable-DR-carbon coupling limited |
| Ghasemi and Enayatzare [18] | Isolated renewable microgrid | RES-storage-DR | No | Yes | Limited | Optimization-based EMS | No | No | Low-carbon cost not modeled |
| Nwulu and Xia [19] | Renewable microgrid | RES-DR | No | Yes | No | Optimization dispatch | No | No | No ablation/statistical analysis |
| Long et al. [24] | Multi-energy microgrid | Multi-energy-DR | Yes | Yes | Limited | Optimization model | No | No | Not focused on islanded PV-WT-BESS-DG dispatch |
| Goh et al. [28] | Grid-connected microgrid | RES-DR-grid | No | Yes | Yes | Scheduling optimization | No | No | Grid-connected rather than islanded operation |
| Liu et al. [41] | Microgrid planning | Microgrid resources | No | Limited | No | Improved WOA | Limited | No | Ablation and significance analysis limited |
| Zhong et al. [42] | Grid-connected microgrid | Bi-layer microgrid | Limited | Limited | No | Improved whale algorithm | Limited | No | Grid-connected focus |
| Moosavi et al. [20] | Hybrid-source microgrid | RES-storage-DR | Limited | Yes | Limited | Multi-objective energy management | Limited | No | Not focused on repair-based islanded dispatch |
| Wang et al. [30] | Smart microgrid | Energy hub-DR-RES | No | Yes | Yes | Multi-objective scheduling | Limited | No | Not focused on low-carbon PV-WT-BESS-DG repair process |
| This study | Islanded microgrid | PV-WT-BESS-DG-DR | Yes | Yes | Not modeled | Repair-based improved WOA | Yes | Yes | Day-ahead model only; no stochastic/robust uncertainty model |
| Module | Included Strategies | Dispatch Difficulty Addressed | Expected Effect |
|---|---|---|---|
| Diversity enhancement | Chaotic initialization; elite opposition-based learning | SOC coupling and DR equality constraints narrow the feasible search region | Improve initial coverage and reduce dependence on random initialization |
| Exploration–exploitation balancing | Nonlinear convergence factor; adaptive inertia weight | DG ramp limits create correlated hourly variables and require stable trajectory search | Maintain exploration in early iterations and stabilize late-stage exploitation |
| Local escape and refinement | Levy flight; Cauchy mutation; elite local refinement | Curtailment and load-shedding penalties create a rugged objective landscape | Escape local basins and refine feasible dispatch schedules |
| Parameter | Value | Unit | Source/Remark |
|---|---|---|---|
| T | 24 | - | config/case_params.m |
| 1 | h | config/case_params.m | |
| 60 | kW | config/case_params.m | |
| 450 | kW | config/case_params.m | |
| 170 | kW | config/case_params.m | |
| 120 | kW/h | config/case_params.m | |
| 120 | kW/h | config/case_params.m | |
| 900 | kWh | config/case_params.m | |
| 220 | kW | config/case_params.m | |
| 220 | kW | config/case_params.m | |
| 0.20 | p.u. | config/case_params.m | |
| 0.90 | p.u. | config/case_params.m | |
| 0.55 | p.u. | config/case_params.m | |
| 0.95/0.95 | - | config/case_params.m | |
| 0.15 | - | config/case_params.m | |
| 0.10 | - | config/case_params.m | |
| a | CNY/(kW2 h) | config/case_params.m | |
| b | 0.42 | CNY/kWh | config/case_params.m |
| c | 0 | CNY/h | config/case_params.m |
| 0.06 | CNY/kWh | config/case_params.m | |
| 0.035 | CNY/kWh | config/case_params.m | |
| 0.18/0.18 | CNY/kWh | PV and WT | |
| 12.0 | CNY/kWh | Emergency variable | |
| 0.18 | CNY/kWh | config/case_params.m | |
| 0.35 | CNY/kWh | config/case_params.m | |
| 0.08 | CNY/kgCO2 | config/case_params.m | |
| 0.72 | kgCO2/kWh | config/case_params.m | |
| kW | Balance tolerance | ||
| 0.02 | p.u. | Terminal SOC tolerance |
| Population | ||||
|---|---|---|---|---|
| Algorithm | Size | Iterations | Main Parameters | Parameter Source |
| PSO | 25 | 60 | w: 0.90 to 0.40; ; ; ratio = 0.25 | Config file |
| GWO | 25 | 60 | decreases linearly from 2 to 0 | GWO code |
| WOA | 25 | 60 | decreases linearly from 2 to 0; ; | WOA code |
| Proposed | 25 | 60 | ; ; elite fraction = 0.24; opposition rate = 0.20; polish rounds = 12 | Config file |
| Cost Component | Value (CNY/Day) |
|---|---|
| Fuel cost | 2107.07 |
| O&M cost | 247.33 |
| BESS degradation | 24.71 |
| Renewable curtailment penalty | 2.41 |
| Load shedding penalty | 0.00 |
| DR compensation | 47.54 |
| Carbon emission cost | 237.43 |
| Total cost | 2666.50 |
| Algorithm | Best | Worst | Mean | Median | Std | Runtime (s) | Rank |
|---|---|---|---|---|---|---|---|
| PSO | 3430.36 | 4909.09 | 3880.41 | 3845.32 | 344.25 | 0.812 | 4 |
| GWO | 3057.42 | 4304.75 | 3490.92 | 3457.38 | 313.34 | 0.789 | 3 |
| WOA | 2659.31 | 3084.07 | 2775.92 | 2741.22 | 121.23 | 0.728 | 2 |
| Proposed | 2625.80 | 2737.61 | 2662.96 | 2659.13 | 24.59 | 1.182 | 1 |
| Benchmark | Median Difference: Proposed Minus Benchmark | Two-Sided p-Value | Significant at 0.05 |
|---|---|---|---|
| PSO | −1175.21 | 1.73 × 10−6 | Yes |
| GWO | −806.19 | 1.73 × 10−6 | Yes |
| WOA | −92.36 | 1.13 × 10−6 | Yes |
| Strategy | Fuel | O&M | Battery | Curtailment | Load Shedding | DR | Carbon | Total |
|---|---|---|---|---|---|---|---|---|
| S1 | 2122.93 | 248.57 | 24.89 | 0.00 | 0.00 | 0.00 | 0.00 | 2396.39 |
| S2 | 2050.19 | 240.92 | 20.77 | 0.00 | 0.00 | 91.29 | 0.00 | 2403.16 |
| S3 | 2057.00 | 241.56 | 22.01 | 0.97 | 0.00 | 71.32 | 0.00 | 2392.86 |
| S4 | 2077.44 | 243.83 | 21.53 | 5.02 | 0.00 | 69.05 | 234.07 | 2650.93 |
| Strategy | Total Cost | DG Energy | CO2 Emission | Renewable Utilization | Curtailment Energy | Load Shedding | Peak-Valley Difference | DR Compensation |
|---|---|---|---|---|---|---|---|---|
| S1 | 2396.39 | 4142.80 | 2982.82 | 0.99997 | 0.18 | 0.00 | 220.74 | 0.00 |
| S2 | 2403.16 | 4015.34 | 2891.04 | 0.99464 | 33.19 | 0.00 | 185.61 | 91.29 |
| S3 | 2392.86 | 4026.00 | 2898.72 | 0.99913 | 5.37 | 0.00 | 224.73 | 71.32 |
| S4 | 2650.93 | 4063.75 | 2925.90 | 0.99550 | 27.88 | 0.00 | 202.47 | 69.05 |
| Setting | Best | Worst | Mean | Median | Std | Runtime (s) | Rank |
|---|---|---|---|---|---|---|---|
| WOA baseline | 2607.57 | 2938.38 | 2727.85 | 2696.44 | 79.17 | 0.893 | 2 |
| +Chaos | 2660.04 | 3213.20 | 2770.62 | 2726.01 | 125.10 | 0.832 | 7 |
| +Nonlinear a | 2668.17 | 3047.01 | 2764.40 | 2745.58 | 88.50 | 0.840 | 6 |
| +Adaptive inertia | 2669.49 | 3117.29 | 2784.62 | 2757.47 | 115.26 | 0.879 | 8 |
| +Levy flight | 2663.39 | 3088.89 | 2737.92 | 2698.30 | 96.64 | 1.918 | 3 |
| +Cauchy mutation | 2636.12 | 3505.56 | 2750.12 | 2705.76 | 160.93 | 2.172 | 5 |
| +Elite opposition | 2665.99 | 2998.10 | 2742.30 | 2719.91 | 75.73 | 2.216 | 4 |
| Full proposed | 2619.57 | 2761.02 | 2659.45 | 2655.15 | 27.15 | 2.750 | 1 |
| Comparison | Median Difference: Full Minus Variant | p-Value | Significant at 0.05 | Interpretation |
|---|---|---|---|---|
| Full proposed vs. WOA baseline | −43.28 | 4.07 × 10−5 | Yes | Different distributions |
| Full proposed vs. +Chaos | −68.68 | 3.18 × 10−6 | Yes | Different distributions |
| Full proposed vs. +Nonlinear a | −89.87 | 3.52 × 10−6 | Yes | Different distributions |
| Full proposed vs. +Adaptive inertia | −90.60 | 1.73 × 10−6 | Yes | Different distributions |
| Full proposed vs. +Levy flight | −42.24 | 6.98 × 10−6 | Yes | Different distributions |
| Full proposed vs. +Cauchy mutation | −42.23 | 4.86 × 10−5 | Yes | Different distributions |
| Full proposed vs. +Elite opposition | −56.43 | 1.02 × 10−5 | Yes | Different distributions |
| Parameter | Value | Factor | Mean Cost | Renewable Utilization | Curtailment Rate | DG Energy |
|---|---|---|---|---|---|---|
| BESS degradation | 0.035 | 1.00 | 2696.50 | 0.9901 | 0.0099 | 4124.5 |
| BESS degradation | 0.070 | 2.00 | 2689.70 | 0.9944 | 0.0056 | 4094.0 |
| BESS degradation | 0.140 | 4.00 | 2729.80 | 0.9958 | 0.0042 | 4089.8 |
| BESS degradation | 0.200 | 5.71 | 2779.70 | 0.9932 | 0.0068 | 4111.1 |
| BESS degradation | 0.280 | 8.00 | 2847.70 | 0.9885 | 0.0115 | 4110.5 |
| Carbon price | 0.08 | 1.00 | 2668.70 | 0.9956 | 0.0044 | 4113.6 |
| Carbon price | 0.16 | 2.00 | 2900.30 | 0.9959 | 0.0041 | 4104.7 |
| Carbon price | 0.32 | 4.00 | 3357.40 | 0.9970 | 0.0030 | 4071.5 |
| Carbon price | 0.48 | 6.00 | 3813.30 | 0.9969 | 0.0031 | 4060.3 |
| Carbon price | 0.64 | 8.00 | 4296.50 | 0.9942 | 0.0058 | 4064.8 |
| Factor | Cost Under Carbon-Price Factor (CNY/Day) | Renewable Utilization | Cost Under DR-Compensation Factor (CNY/Day) | Renewable Utilization |
|---|---|---|---|---|
| 0.6 | 2583.32 | 0.9940 | 2697.33 | 0.9807 |
| 0.8 | 2632.52 | 0.9938 | 2648.71 | 0.9974 |
| 1.0 | 2706.67 | 0.9859 | 2676.22 | 0.9938 |
| 1.2 | 2713.82 | 0.9938 | 2704.85 | 0.9904 |
| 1.4 | 2757.03 | 0.9944 | 2698.31 | 0.9939 |
| Indicator | Value | Unit | Interpretation |
|---|---|---|---|
| Peak load | 530.66 | kW | Distribution-level islanded microgrid scale |
| Peak PV forecast | 430.00 | kW | High daytime renewable contribution |
| Peak WT forecast | 212.47 | kW | Complementary renewable source |
| BESS rated energy | 900.00 | kWh | Short-term intra-day flexibility |
| DG operating range | 60–450 | kW | Dispatchable backup source |
| Base-case SOC range | 0.3986–0.7810 | p.u. | Within 0.20–0.90 operating limits |
| Base-case load shedding | 0.00 | kWh | No involuntary interruption in the deterministic case |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xiong, H.; Tan, D.; Kang, Y.; You, L.; Yan, F.; Liu, F.; Tan, Q. A Repair-Based Improved Whale Optimization Algorithm for Low-Carbon Economic Dispatch of an Islanded Renewable Microgrid. Appl. Sci. 2026, 16, 5952. https://doi.org/10.3390/app16125952
Xiong H, Tan D, Kang Y, You L, Yan F, Liu F, Tan Q. A Repair-Based Improved Whale Optimization Algorithm for Low-Carbon Economic Dispatch of an Islanded Renewable Microgrid. Applied Sciences. 2026; 16(12):5952. https://doi.org/10.3390/app16125952
Chicago/Turabian StyleXiong, Haozhe, Daojun Tan, Yiqun Kang, Li You, Fangbin Yan, Feng Liu, and Qinyue Tan. 2026. "A Repair-Based Improved Whale Optimization Algorithm for Low-Carbon Economic Dispatch of an Islanded Renewable Microgrid" Applied Sciences 16, no. 12: 5952. https://doi.org/10.3390/app16125952
APA StyleXiong, H., Tan, D., Kang, Y., You, L., Yan, F., Liu, F., & Tan, Q. (2026). A Repair-Based Improved Whale Optimization Algorithm for Low-Carbon Economic Dispatch of an Islanded Renewable Microgrid. Applied Sciences, 16(12), 5952. https://doi.org/10.3390/app16125952

