An Optimal Method for Fog Resource Allocation in the New Generation of Smart Grid
- Department of Electrical Engineering, Central Tehran Branch, Islamic Azad University, Tehran, Iran
- ICT Research Institute, Kitami Institute of Technology, Tehran, Iran
- Department of Computer Engineering, Central Tehran Branch, Islamic Azad University, Tehran, Iran
Received: 2025-03-02
Revised: 2025-05-05
Accepted: 2025-05-14
Published in Issue 2025-06-01
Copyright (c) 2025 Navid Rashtian, Alireza Yari, Nahid Ardalani, Payam Rabbanifar, Seyed Javad Mirabedini (Author)

This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.
How to Cite
PDF views: 270
Abstract
The evolution of smart grids, driven by renewable energy integration, advanced metering infrastructure, and the proliferation of the Internet of Things (IoT), requires low-latency, scalable computing paradigms. Traditional cloud computing struggles with latency (200–500ms) and bandwidth limitations, making fog computing a promising alternative for real-time applications like demand response 200ms and distributed energy resource management 500ms. This study proposes a semi-decentralized fog computing framework that leverages the Monte Carlo Tree Search algorithm for optimized task scheduling across heterogeneous fog nodes (3000–9000 MIPS, 512 MB–2 GB memory). The framework integrates lightweight security (AES-128, OAuth 2.0, differential privacy with ε = 0.1), robust fault tolerance (97% task completion under 20% node failure), and Software-Defined Networking for dynamic orchestration. Evaluated using iFogSim and scenarios inspired by real-world environments e.g., California microgrids, the framework achieves a 5% higher task acceptance rate (AR: 0.80–0.86 vs. 0.32 for SPA), doubles delay utility (DU: 0.71–0.73 vs. 0.26), and improves the objective function (OBJ) by 50% (0.72–0.86 vs. 0.26–0.32) compared to benchmarks such as the Service Provider Algorithm (SPA) and Reinforcement Learning (RL). Energy consumption is reduced by 12% (0.48 watts/task), and deployment costs drop by 20%, $450/node, ensuring scalability and resilience in dynamic smart grid environments.
Keywords
- Smart grid,
- Fog computing,
- Resource allocation,
- Monte Carlo Tree Search,
- Security,
- Scalability,
- Energy efficiency,
- Fault tolerance
References
- Khalid M. Smart grids and renewable energy systems: Perspectives and grid integration challenges. Energy Strategy Reviews.2024;51:101299.
- https://doi.org/10.1016/j.esr.2024.101299.
- Malik UM, Javed MA, Zeadally S, Islam Su. Energy-Efficient Fog Computing for 6G-Enabled Massive IoT: Recent Trends and Future Opportunities. IEEE Internet of Things Journal. 2022;9(16):14572-94.https://doi.org/10.1109/JIOT.2021.3068056.
- Li J, Gu C, Xiang Y, Li F. Edge-cloud Computing Systems for Smart Grid: State-of-the-art, Architecture, and Applications. Journal of Modern Power Systems and Clean Energy. 2022;10(4):805-17.https://doi.org/10.35833/MPCE.2021.000161.
- H S, V N. A Review on Fog Computing: Architecture, Fog with IoT, Algorithms and Research Challenges. ICT Express. 2021;7(2):162-76.
- https://doi.org/10.1016/j.icte.2021.05.004.
- Kashani MH, Mahdipour E. Load Balancing Algorithms in Fog Computing. IEEE Transactions on Services Computing. 2023;16(2):1505-21.
- https://doi.org/10.1109/TSC.2022.3174475.
- Burhan M, Alam H, Arsalan A, Rehman RA, Anwar M, Faheem M, et al. A Comprehensive Survey on the Cooperation of Fog Computing Paradigm-Based IoT Applications: Layered Architecture, Real-Time Security Issues, and Solutions. IEEE Access. 2023;11:73303-29.https://doi.org/10.1109/ACCESS.2023.3294479.
- . Goudarzi M, Palaniswami M, Buyya R. Scheduling IoT Applications in Edge and Fog Computing Environments: A Taxonomy and Future Directions. ACM Comput Surv. 2022;55(7):Article 152.https://doi.org/10.1145/3544836.
- . Tang Q, Xie R, Yu FR, Chen T, Zhang R, Huang T, et al. Distributed Task Scheduling in Serverless Edge Computing Networks for the Internet of Things: A Learning Approach. IEEE Internet of Things Journal. 2022;9(20):19634-48.
- https://doi.org/10.1109/JIOT.2022.3167417.
- Chu W, Yu P, Yu Z, Lui JCS, Lin Y. Online Optimal Service Selection, Resource Allocation and Task Offloading for Multi-Access Edge Computing: A Utility-Based Approach. IEEE Transactions on Mobile Computing. 2023;22(7):4150-67.
- https://doi.org/10.1109/TMC.2022.3152493.
- Kumar M, Kishor A, Samariya JK, Zomaya AY. An Autonomic Workload Prediction and Resource Allocation Framework for Fog-Enabled Industrial IoT. IEEE Internet of Things Journal. 2023;10(11):9513-22.https://doi.org/10.1109/JIOT.2023.3235107.
- Martinez I, Hafid AS, Jarray A. Design, Resource Management, and Evaluation of Fog Computing Systems: A Survey. IEEE Internet of Things Journal. 2021;8(4):2494-516.
- https://doi.org/10.1109/JIOT.2020.3022699.
- Hong C-H, Varghese B. Resource Management in Fog/Edge Computing: A Survey on Architectures, Infrastructure, and Algorithms. ACM Comput Surv. 2019;52(5):Article 97.https://doi.org/10.1145/3326066.
- Wang Y, Liu Z, Cai C, Xue L, Ma Y, Shen H, et al. Research the optimization method of integrated energy system operation with a multi-subject game. Energy. 2022;245:123305.https://doi.org/10.1016/j.energy.2022.123305.
- Raveendran N, Zhang H, Song L, Wang LC, Hong CS, Han Z. Pricing and Resource Allocation Optimization for IoT Fog Computing and NFV: An EPEC and Matching Based Perspective. IEEE Transactions on Mobile Computing. 2022;21(4):1349-61.
- https://doi.org/10.1109/TMC.2020.3025189.
- Mukherjee M, Shu L, Wang D. Survey of Fog Computing: Fundamental, Network Applications, and Research Challenges. IEEE Communications Surveys & Tutorials. 2018;20(3):1826-57.https://doi.org/10.1109/COMST.2018.2814571.
- H S, V N. A Review on Fog Computing: Architecture, Fog with IoT, Algorithms and Research Challenges. ICT Express. 2021;7(2):162-76.
- https://doi.org/10.1016/j.icte.2021.05.004.
- Jin J, Yu K, Kua J, Zhang N, Pang Z, Han QL. Cloud-Fog Automation: Vision, Enabling Technologies, and Future Research Directions. IEEE Transactions on Industrial Informatics. 2024;20(2):1039-54.https://doi.org/10.1109/TII.2023.3272696.
- Saif FA, Latip R, Hanapi ZM, Shafinah K. Multi-Objective Grey Wolf Optimizer Algorithm for Task Scheduling in Cloud-Fog Computing. IEEE Access. 2023;11:20635-46.https://doi.org/10.1109/ACCESS.2023.3241240.
- Świechowski M, Godlewski K, Sawicki B, Mańdziuk J. Monte Carlo Tree Search: a review of recent modifications and applications. Artificial Intelligence Review. 2023;56(3):2497-562.https://doi.org/10.1007/s10462-022-10228-y.
- Fan Q, Ansari N. Towards Workload Balancing in Fog Computing Empowered IoT. IEEE Transactions on Network Science and Engineering. 2020;7(1):253-62.
- https://doi.org/10.1109/TNSE.2018.2852762.
- Chang Z, Liu L, Guo X, Sheng Q. Dynamic Resource Allocation and Computation Offloading for IoT Fog Computing System. IEEE Transactions on Industrial Informatics. 2021;17(5):3348-57.https://doi.org/10.1109/TII.2020.2978946.
- Rahimi P, Chrysostomou C, Pervaiz H, Vassiliou V, Ni Q. Joint Radio Resource Allocation and Beamforming Optimization for Industrial Internet of Things in Software-Defined Networking-Based Virtual Fog-Radio Access Network 5G-and-Beyond Wireless Environments. IEEE Transactions on Industrial Informatics. 2022;18(6):4198-209.
- https://doi.org/10.1109/TII.2021.3126813.
- Kaur K, Singh A, Sharma A. A systematic review on resource provisioning in fog computing. Transactions on Emerging Telecommunications Technologies. 2023;34(4):e4731.https://doi.org/10.1002/ett.4731.
10.57647/j.spre.2025.0902.10
