• International Journal of Technology (IJTech)
  • Vol 17, No 2 (2026)

Controlling-Based Optimization Framework for Dynamic Grid Reconfiguration: Enhancing Resilience and Cost-Efficiency in Hybrid Renewable Microgrids with Peer-to-Peer Energy Trading

Controlling-Based Optimization Framework for Dynamic Grid Reconfiguration: Enhancing Resilience and Cost-Efficiency in Hybrid Renewable Microgrids with Peer-to-Peer Energy Trading

Title: Controlling-Based Optimization Framework for Dynamic Grid Reconfiguration: Enhancing Resilience and Cost-Efficiency in Hybrid Renewable Microgrids with Peer-to-Peer Energy Trading
Ghaith M. Fadhil , Saeid Ghassem Zadeh , Sina Roudnil

Corresponding email:


Cite this article as:
Fadhil, G. M., Ghassem Zadeh, S., & Roudnil, S. (2026). Controlling-based optimization framework for dynamic grid reconfiguration: Enhancing resilience and cost-efficiency in hybrid renewable microgrids with peer-to- peer energy trading. International Journal of Technology, 17 (2), 395–421


13
Downloads
Ghaith M. Fadhil 1. Faculty of Electrical and Computer Engineering, University of Tabriz, 29 Bahman boulevard, Tabriz, Iran, 51666-16471 2. Civil Engineering Department, College of Engineering, Al-Qasim Green Univers
Saeid Ghassem Zadeh Faculty of Electrical and Computer Engineering, University of Tabriz, 29 Bahman boulevard, Tabriz, Iran, 51666-16471
Sina Roudnil Faculty of Electrical and Computer Engineering, University of Tabriz, 29 Bahman boulevard, Tabriz, Iran, 51666-16471
Email to Corresponding Author

Abstract
Controlling-Based Optimization Framework for Dynamic Grid Reconfiguration: Enhancing Resilience and Cost-Efficiency in Hybrid Renewable Microgrids with Peer-to-Peer Energy Trading

This study proposes an advanced framework for combining renewable energy resources with adaptive feeder restructuring to improve both local energy exchange and power system resilience. Instead of conventional supply driven operation, the model emphasizes the coordinated placement of solar photovoltaic (PV) units and wind turbines (WTs), along with intelligently optimized grid reconfiguration using Particle Swarm Optimization (PSO), is the best strategy for operating modern electricity microgrids. A distinctive feature of the design is the integration of a peer-to-peer (P2P) market, which allows prosumers within the microgrid to negotiate power transactions in real time, thereby further increasing trading efficiency and reducing reliance on the main grid. A multi-stage analysis method is used to compare three different system configurations: a baseline scenario of energy distribution with PV cells and renewable energy integration, a scenario integrating hybrid PV-WT, and a fully integrated PV-WT system with optimized grid reconfiguration. The Taiwan Power Company (TPC) distribution test system served as the benchmark for assessing critical indicators, such as voltage regulation, power loss, and cost of operation. The results show that the coordinated approach of feeder restructuring with P2P trading reduces network losses from 0.0024 to 0.002 MW and lowers the average operating cost from 2.3729 $/MWh to 1.954 $/MWh. This methodology provides a scalable and resilient solution for enabling secure, affordable, and sustainable electricity exchange in future smart distribution grids.

Distribution network reconfiguration; Energy trading; Power loss reduction; Renewable energy integration; Smart grid

References

Ahmed, Mirsaeidi, S., Koondhar, M. A., Karami, N., Tag-eldin, E. M., Ghamry, N. A., El-Sehiemy, R. A., Alaas, Z. M., Mahariq, I., & Sharaf, A. M. (2024). Mitigation uncertainty problems of renewable energy resources with efficient integration of hybrid solar PV/wind system into power networks. IEEE Access, 12, 1–1. https://doi.org/10.1109/access.2024.3370163

Alanazi, A., Alanazi, M., Memon, Z. A., Awan, A. B., & Deriche, M. (2025). Availability and uncertainty-aware optimal placement of capacitors and DSTATCOM in distribution network using improved exponential distribution optimizer. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-87139-9

Albadi, M. H., & El-Saadany, E. F. (2008). A summary of demand response in electricity markets. Electric Power Systems Research, 78(11), 1989–1996. https://doi.org/10.1016/j.epsr.2008.04.002

Chen, H., Gao, L., & Zhang, Z. (2021). Multi-objective optimal scheduling of a microgrid with uncertainties of renewable power generation considering user satisfaction. International Journal of Electrical Power & Energy Systems, 131, 107142. https://doi.org/10.1016/j.ijepes.2021.107142

Chuang, M.-T., Chang, S.-Y., Hsiao, T.-C., Lu, Y.-R., & Yang, T.-Y. (2019). Analyzing major renewable energy sources and power stability in Taiwan by 2030. Energy Policy, 125, 293–306. https://doi.org/10.1016/j.enpol.2018.10.036

De, M., & Mandal, K. K. (2022). Energy management strategy and renewable energy integration within multi-microgrid framework utilizing multi-objective modified personal best particle swarm optimization. Sustainable Energy Technologies and Assessments, 53, 102410. https://doi.org/10.1016/j.seta.2022.102410

Deng, X., & Lv, T. (2020). Power system planning with increasing variable renewable energy: A review of optimization models. Journal of Cleaner Production, 246, 118962. https://doi.org/10.1016/j.jclepro.2019.118962

Ebrahimi, H., Shahnia, F., Nikdel, N., & Galvani, S. (2025). Renewable energy and demand uncertainty-aware stochastic allocation and management of soft open points for simultaneous reduction of harmonic distortion, voltage deviations and losses. Computers and Electrical Engineering, 123, 110208. https://doi.org/10.1016/j.compeleceng.2025.110208

Elkadeem, M. R., Abd Elaziz, M., Ullah, Z., Wang, S., & Sharshir, S. W. (2019). Optimal planning of renewable energy-integrated distribution system considering uncertainties. IEEE Access, 7, 164887–164907. https://doi.org/10.1109/access.2019.2947308

Ergun, S., Dik, A., Boukhanouf, R., & Omer, S. (2025). Large-scale renewable energy integration: Tackling technical obstacles and exploring energy storage innovations. Sustainability, 17(3), 1311. https://doi.org/10.3390/su17031311

Feijoo, F., & Das, T. (2015). Emissions control via carbon policies and microgrid generation: A bilevel model and Pareto analysis. Energy, 90, 1545–1555. https://doi.org/10.1016/j.energy.2015.06.110

Gangil, G., Saraswat, A., & Goyal, S. K. (2025). An uncertainty aware optimal energy management model for smart distribution networks contemplating reactive support from VRE and energy storage systems. IEEE Access, 13, 1–1. https://doi.org/10.1109/access.2025.3573197

Gharehveran, S. S., Shirini, K., Khavar, S. C., Mousavi, S. H., & Abdolahi, A. (2024). Deep learning-based demand response for short-term operation of renewable-based microgrids. The Journal of Supercomputing, 80(18), 26002–26035. https://doi.org/10.1007/s11227-024-06407-z

Guzmán-Henao, J. A., Bolaños, R. I., Montoya, O. D., Grisales-Noreña, L. F., & Chamorro, H. R. (2024). On integrating and operating distributed energy resources in distribution networks: A review of current solution methods, challenges, and opportunities. IEEE Access, 12, 55111–55133. https://doi.org/10.1109/access.2024.3387400

Hafeez, G., Wadud, Z., Khan, I. U., Khan, I., Shafiq, Z., Usman, M., & Khan, M. U. A. (2020). Efficient energy management of IoT-enabled smart homes under price-based demand response program in smart grid. Sensors, 20(11), 3155. https://doi.org/10.3390/s20113155

Huo, X., Huang, H., Davis, K. R., Poor, H. V., & Liu, M. (2024). A review of scalable and privacy-preserving multi-agent frameworks for distributed energy resources. Advances in Applied Energy, 100205. https://doi.org/10.1016/j.adapen.2024.100205

Ibad, M., Barrett, E., & Mason, K. (2025). Uncertainty-aware knowledge transformers for peer-to-peer energy trading with multi-agent reinforcement learning. arXiv preprint. https://arxiv.org/pdf/2507.16796

Jiang, Q., Xue, M., & Geng, G. (2013). Energy management of microgrid in grid-connected and stand-alone modes. IEEE Transactions on Power Systems, 28(3), 3380–3389. https://doi.org/10.1109/tpwrs.2013.2244104

Jogunola, O., Ajagun, A. S., Tushar, W., Olatunji, F. O., Yuen, C., Morley, C., Adebisi, B., & Shongwe, T. (2024). Peer-to-peer local energy market: Opportunities, barriers, security and implementation options. IEEE Access, 12, 1–1. https://doi.org/10.1109/access.2024.3375525

Keck, F., Lenzen, M., Vassallo, A., & Li, M. (2019). The impact of battery energy storage for renewable energy power grids in Australia. Energy, 173, 647–657. https://doi.org/10.1016/j.energy.2019.02.053

Konneh, D., Howlader, H., Shigenobu, R., Senjyu, T., Chakraborty, S., & Krishna, N. (2019). A multi-criteria decision maker for grid-connected hybrid renewable energy systems selection using multi-objective particle swarm optimization. Sustainability, 11(4), 1188. https://doi.org/10.3390/su11041188

Lechl, M., Kilian, A., & de Meer, H. (2025). Uncertainty-aware scheduling of multi-use battery storage systems. Proceedings of the 2025 ACM International Conference on Future Energy Systems (e-Energy), 243–256. https://doi.org/10.1145/3679240.3734607

Liou, H. (2010). Policies and legislation driving Taiwan’s development of renewable energy. Renewable and Sustainable Energy Reviews, 14(7), 1763–1781.

Liu, Z., Ma, L., Wang, K., Zhang, J., Si, C., Yi, J., & Mu, C. (2025). Uncertainty-aware model-based multi-agent deep reinforcement learning for robust active voltage control. IEEE Transactions on Circuits and Systems I: Regular Papers, 1–12. https://doi.org/10.1109/tcsi.2025.3588231

Lv, T., & Ai, Q. (2016). Interactive energy management of networked microgrids-based active distribution system considering large-scale integration of renewable energy resources. Applied Energy, 163, 408–422. https://doi.org/10.1016/j.apenergy.2015.10.179

Manoz, K., Rao, A. K., & Rao, R. S. (2025). A multi-objective hybrid meta-heuristic method-based optimal placement of UPFC in power system. Electrical Engineering. https://doi.org/10.1007/s00202-025-02985-0

Mokaramian, E., Siano, P., Calderaro, V., Galdi, V., Graber, G., & Ippolito, L. (2024). Innovative peer-to-peer energy trading in local energy communities featuring electric vehicle charging infrastructure. 2024 AEIT International Annual Conference (AEIT), 1–6. https://doi.org/10.23919/aeit63317.2024.10736882

Nazemi, M., Dehghanian, P., Lu, X., & Chen, C. (2021). Uncertainty-aware deployment of mobile energy storage systems for distribution grid resilience. IEEE Transactions on Smart Grid, 12(4), 3200–3214. https://doi.org/10.1109/tsg.2021.3064312

Nguyen, T. L., & Nguyen, Q. A. (2025). A multi-objective PSO-GWO approach for smart grid reconfiguration with renewable energy and electric vehicles. Energies, 18(8), 2020. https://doi.org/10.3390/en18082020

Pang, L., Senol, A., Wang, H.-Y., Lai, H.-C., Chuang, K.-T., & Liu, H. (2024). Uncertainty-aware critic augmentation for hierarchical multi-agent EV charging control. arXiv preprint. https://arxiv.org/pdf/2412.18047

Parvin, M., Yousefi, H., & Noorollahi, Y. (2023). Techno-economic optimization of a renewable microgrid using multi-objective particle swarm optimization algorithm. Energy Conversion and Management, 277, 116639. https://doi.org/10.1016/j.enconman.2022.116639

Perez-Flores, A. C., Mina, J. D., Olivares-Peregrino, V. H., Jimenez-Grajales, H. R., Claudio-Sanchez, A., & Vicente, G. (2021a). Microgrid energy management with asynchronous decentralized particle swarm optimization [Duplicate entry removed; see Perez-Flores et al. (2021b) for identical content.]. IEEE Access, 9, 69588–69600. https://doi.org/10.1109/access.2021.3078335

Perez-Flores, A. C., Mina, J. D., Olivares-Peregrino, V. H., Jimenez-Grajales, H. R., Claudio-Sanchez, A., & Vicente, G. (2021b). Microgrid energy management with asynchronous decentralized particle swarm optimization. IEEE Access, 9, 69588–69600. https://doi.org/10.1109/access.2021.3078335

Roudnil, S., et al. (2025a). Energy management of microgrids: An MPC-based techno-economic optimisation for RES integration and ESS utilisation. IET Generation, Transmission & Distribution, 19(1), e70082. https://doi.org/10.1049/gtd2.70082

Roudnil, S., et al. (2025b). Enhancing multimicrogrid resilience: A state-of-the-art survey on model predictive control-based energy management strategies. International Journal of Energy Research, 2025(1), 9088459. https://doi.org/10.1155/er/9088459

Roudnil, S., et al. (2025c). A real-time two-step multi-objective planning framework for resilience improvement of islanded microgrids based on MPC. Journal of Energy Storage, 119, 116343. https://doi.org/10.1016/j.est.2025.116343

Sadeghi, R., Sadeghi, S., Memari, A., Rezaeinejad, S., & Hajian, A. (2024). A peer-to-peer trading model to enhance resilience: A blockchain-based smart grids with machine learning analysis towards sustainable development goals. Journal of Cleaner Production, 450, 141880. https://doi.org/10.1016/j.jclepro.2024.141880

Serra, F. M. (2025). Planning, operation and control of microgrids. Energies, 18(7), 1786. https://doi.org/10.3390/en18071786

Sharma, D., & Pindoriya, N. M. (2024). An emission and uncertainty aware optimal dispatch of multi-energy hub. 2022 IEEE PES Innovative Smart Grid Technologies - Asia (ISGT Asia), 1–6. https://doi.org/10.1109/isgtasia61245.2024.10876227

Shayeghi, H., & Faraji Davoudkhani, I. (2025). Uncertainty aware energy management in microgrids with integrated electric bicycle charging stations and green certificate market. Scientific Reports, 15(1). https://doi.org/10.1038/s41598-025-12328-5

Soroudi, A., & Amraee, T. (2013). Decision making under uncertainty in energy systems: State of the art. Renewable and Sustainable Energy Reviews, 28, 376–384. https://doi.org/10.1016/j.rser.2013.08.039

Soto, E. A., Bosman, L. B., Wollega, E., & Leon-Salas, W. D. (2021). Peer-to-peer energy trading: A review of the literature. Applied Energy, 283, 116268. https://doi.org/10.1016/j.apenergy.2020.116268

Tarnate, W., Ponci, F., & Monti, A. (2022). Uncertainty-aware model predictive control for residential buildings participating in intraday markets. IEEE Access, 10, 7834–7851. https://doi.org/10.1109/ACCESS.2022.3140598

Thakar, S., A.S., V., & Doolla, S. (2019). System reconfiguration in microgrids. Sustainable Energy, Grids and Networks, 17, 100191. https://doi.org/10.1016/j.segan.2019.100191

Tostado-Véliz, M., Kamel, S., Hasanien, H. M., Turky, R. A., & Jurado, F. (2022). Uncertainty-aware day-ahead scheduling of microgrids considering response fatigue: An IGDT approach. Applied Energy, 310, 118611. https://doi.org/10.1016/j.apenergy.2022.118611

Wang, C., Zhang, Z. G., Abedinia, O., & Farkoush, S. G. (2021). Modeling and analysis of a microgrid considering the uncertainty in renewable energy resources, energy storage systems and demand management in electrical retail market. Journal of Energy Storage, 33, 102111. https://doi.org/10.1016/j.est.2020.102111

Wang, T., Liu, H., & Su, M. (2025). Energy optimization for microgrids based on uncertainty-aware deep deterministic policy gradient. Processes, 13(4), 1047. https://doi.org/10.3390/pr13041047

Wang, Y., Huang, Z., Shahidehpour, M., Lai, L. L., Wang, Z., & Zhu, Q. (2020). Reconfigurable distribution network for managing transactive energy in a multi-microgrid system. IEEE Transactions on Smart Grid, 11(2), 1286–1295. https://doi.org/10.1109/tsg.2019.2935565

Wang, Z., Yu, X., Mu, Y., & Jia, H. (2020). A distributed peer-to-peer energy transaction method for diversified prosumers in urban community microgrid system. Applied Energy, 260, 114327. https://doi.org/10.1016/j.apenergy.2019.114327

Wongthongtham, P., Marrable, D., Abu-Salih, B., Liu, X., & Morrison, G. (2021). Blockchain-enabled peer-to-peer energy trading. Computers & Electrical Engineering, 94, 107299. https://doi.org/10.1016/j.compeleceng.2021.107299

Xiao, H., Du, Y., Pei, W., & Kong, L. (2017). Coordinated economic dispatch and cost allocation of cooperative multi-microgrids. The Journal of Engineering, 2017(13), 2363–2367. https://doi.org/10.1049/joe.2017.0753

Xu, C., & Abdalla, A. (2026). Coordinated dispatch of electric, thermal, and hydrogen vectors in renewable-enriched microgrids using constrained Harris hawks optimization under uncertainty. Renewable Energy, 256, 124064. https://doi.org/10.1016/j.renene.2025.124064

Xu, Y., Yu, L., Bi, G., Zhang, M., & Shen, C. (2020). Deep reinforcement learning and blockchain for peer-to-peer energy trading among microgrids. 2020 IEEE International Conference on Internet of Things and Intelligence System (IoTaIS). https://doi.org/10.1109/ithings-greencom-cpscom-smartdata-cybermatics50389.2020.00071

Zare, K., Akbari-Dibavar, A., Najafi Ravadanegh, S., & Vahidinasab, V. (2024). Resiliency-oriented scheduling of multi-microgrids in the presence of fuel cell-based mobile storage using hybrid stochastic-robust optimization. Journal of Energy Management and Technology, 8(4), 307–320. https://doi.org/10.22109/jemt.2024.441626.1487

Zhang, C., Yang, T., & Wang, Y. (2021). Peer-to-peer energy trading in a microgrid based on iterative double auction and blockchain. Sustainable Energy, Grids and Networks, 27, 100524. https://doi.org/10.1016/j.segan.2021.100524

Zhang, W., Bao, X., Hao, X., & Gen, M. (2025). Metaheuristics for multi-objective scheduling problems in industry 4.0 and 5.0: A state-of-the-arts survey. Frontiers in Industrial Engineering, 3. https://doi.org/10.3389/fieng.2025.1540022

Zhang, X., Zhou, Y., Ge, S., Liu, H., & Yang, B. (2024). Data-driven stochastic planning for network constrained energy sharing in microgrids. 2024 IEEE Power & Energy Society General Meeting (PESGM), 1–5. https://doi.org/10.1109/pesgm51994.2024.10688976

Zhang, Y., Tian, J., Guo, Z., Fu, Q., & Jing, S. (2025). Uncertainty-aware economic dispatch of integrated energy systems with demand-response and carbon-emission costs. Processes, 13(6), 1906. https://doi.org/10.3390/pr13061906

Zhang, Y., Wang, S., & Ji, G. (2015). A comprehensive survey on particle swarm optimization algorithm and its applications. Mathematical Problems in Engineering, 2015, 1–38. https://doi.org/10.1155/2015/931256

Zhou, B., Zou, J., Yung Chung, C., Wang, H., Liu, N., Voropai, N., & Xu, D. (2021). Multi-microgrid energy management systems: Architecture, communication, and scheduling strategies. Journal of Modern Power Systems and Clean Energy, 9(3), 463–476. https://doi.org/10.35833/mpce.2019.000237

Zhou, F., & Yu, R. (2025). Moving edge for on-demand edge computing: An uncertainty-aware approach. arXiv preprint, arXiv:2503.24214.

Zhou, H., Yuan, F., Guo, L., & Gan, M. (2025). Integrating stacking-ensemble feature selection with GRU-based self-supervised learning for precision and uncertainty-aware steam flow forecasting. SSRN. https://doi.org/10.2139/ssrn.5188272

Zubin, J., Sunitha, R., & Pathirikkat, G. (2025). Integrated bidding and battery scheduling in a microgrid for sealed-bid double auction power trading with peer microgrids under uncertainty and its blockchain-based implementation [Preprint]. IEEE Access. https://doi.org/10.1109/ACCESS.2025.3586465