Efficient Resource Allocation Model for Residential Buildings in Smart Grid Using Fog and Cloud Computing

  • Aisha Fatima
  • Nadeem JavaidEmail author
  • Momina Waheed
  • Tooba Nazar
  • Shaista Shabbir
  • Tanzeela Sultana
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 773)


In this article, a resource allocation model is presented in order to optimize the resources in residential buildings. The whole world is categorized into six regions depending on its continents. The fog helps cloud computing connectivity on the edge network. It also saves data temporarily and sends to the cloud for permanent storage. Each continent has one fog which deals with three clusters having 100 buildings. Microgrids (MGs) are used for the effective electricity distribution among the consumers. The control parameters considered in this paper are: clusters, number of buildings, number of homes and load requests whereas the performance parameters are: cost, Response Time (RT) and Processing Time (PT). Particle Swarm Optimization with Simulated Annealing (PSOSA) is used for load balancing of Virtual Machines (VMs) using multiple service broker policies. Service broker policies in this paper are: new dynamic service proximity, new dynamic response time and enhanced new response time. The results of proposed service broker policies with PSOSA are compared with the existing policy: new dynamic service proximity. New dynamic response time and enhanced new dynamic response time performs better than the existing policy in terms of cost, RT and PT. However, the maximum RT and PT of proposed policies is more than the existing policy. We have used CloudAnalyst for conducting simulations for the proposed scheme.


Smart rid Cloud computing Particle Swarm Optimization Simulated Annealing 


  1. 1.
    Cao, Z., Lin, J., Wan, C., Song, Y., Zhang, Y., Wang, X.: Optimal cloud computing resource allocation for demand side management in smart grid. IEEE Trans. Smart Grid 8(4), 1943–1955 (2017)Google Scholar
  2. 2.
    Xue, S., Shi, W., Xu, X.: A heuristic scheduling algorithm based on PSO in the cloud computing environment. Int. J. U- E-Serv. Sci. Technol. 9(1), 349–362 (2016)CrossRefGoogle Scholar
  3. 3.
    Chekired, D.A., Khoukhi, L.: Smart grid solution for charging and discharging services based on cloud computing scheduling. IEEE Trans. Ind. Inform. 13(6), 3312–3321 (2017)CrossRefGoogle Scholar
  4. 4.
    Fatima, I., Javaid, N., Iqbal, M.N., Shafi, I., Anjum, A., Memon, U.: Integration of cloud and fog based environment for effective resource distribution in smart buildings. In: 14th IEEE International Wireless Communications and Mobile Computing Conference (IWCMC-2018) (2018)Google Scholar
  5. 5.
    Zahoor, S., Javaid, N., Khan, A., Muhammad, F.J., Zahid, M., Guizani, M.: A cloud-fog-based smart grid model for efficient resource utilization. In: 14th IEEE International Wireless Communications and Mobile Computing Conference (IWCMC-2018) (2018)Google Scholar
  6. 6.
    Patel, H., Patel, R.: Cloud analyst: an insight of service broker policy. Int. J. Adv. Res. Comput. Commun. Eng. 4(1), 122–127 (2015)Google Scholar
  7. 7.
    Khan, S., Parkinson, S., Qin, Y.: Fog computing security: a review of current applications and security solutions. J. Cloud Comput. 6(1), 19 (2017)Google Scholar
  8. 8.
    Okay, F.Y., Ozdemir, S.: A fog computing based smart grid model. In: 2016 International Symposium on Networks, Computers and Communications (ISNCC), pp. 1–6. IEEE (2016)Google Scholar
  9. 9.
    Yasmeen, A., Javaid, N., Rehman, O.U., Iftikhar, H., Malik, M.F., Muhammad, F.J.: Efficient resource provisioning for smart buildings utilizing fog and cloud based environment. In: 14th IEEE International Wireless Communications and Mobile Computing Conference (IWCMC-2018) (2018)Google Scholar
  10. 10.
    Javaid, S., Javaid, N., Tayyaba, S.K., Sattar, N.A., Ruqia, B., Zahid, M.: Resource allocation using fog-2-cloud based environment for smart buildings. In: 14th IEEE International Wireless Communications and Mobile Computing Conference (IWCMC-2018) (2018)Google Scholar
  11. 11.
    Moghaddam, M.H.Y., Leon-Garcia, A., Moghaddassian, M.: On the performance of distributed and cloud-based demand response in smart grid. IEEE Trans. Smart Grid (2017)Google Scholar
  12. 12.
    Chekired, D.A., Khoukhi, L., Mouftah, H.T.: Decentralized cloud-SDN architecture in smart grid: a dynamic pricing model. IEEE Trans. Ind. Inform. 14(3), 1220–1231 (2018)CrossRefGoogle Scholar
  13. 13.
    Gai, K., Qiu, M., Zhao, H., Tao, L., Zong, Z.: Dynamic energy-aware cloudlet-based mobile cloud computing model for green computing. J. Netw. Comput. Appl. 59, 46–54 (2016)CrossRefGoogle Scholar
  14. 14.
    Chen, S.L., Chen, Y.-Y., Kuo, S.-H.: CLB: a novel load balancing architecture and algorithm for cloud services. Comput. Electr. Eng. 58, 154–160 (2017)CrossRefGoogle Scholar
  15. 15.
    Masdari, M., Salehi, F., Jalali, M., Bidaki, M.: A survey of PSO-based scheduling algorithms in cloud computing. J. Netw. Syst. Manage. 25(1), 122–158 (2017)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2019

Authors and Affiliations

  • Aisha Fatima
    • 1
  • Nadeem Javaid
    • 1
    Email author
  • Momina Waheed
    • 1
  • Tooba Nazar
    • 1
  • Shaista Shabbir
    • 2
  • Tanzeela Sultana
    • 3
  1. 1.COMSATS Institute of Information TechnologyIslamabadPakistan
  2. 2.Virtual University of PakistanLahorePakistan
  3. 3.University of Azad Jammu and KashmirKotliPakistan

Personalised recommendations