Skip to main content

Python-Based Ecosystem for Agent Communities Simulation

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 531))

Abstract

This paper presents an innovative multi-agent ecosystem framework designed to simulate various energy communities and smart grids while providing an easy and practical solution to manage and control each simulation. This framework allows the coexistence of various multi-agent systems and provides tools to enable the management of the ecosystem and its agents. The framework also provides a web application programming interface that allows the management to use third-party’s software. The proposed framework was based on the Smart Python Agent Development Environment (SPADE) framework. Finally, this paper presents a case study that simulates an energy community with 50 members. The case study evaluates the community’s energy bill by comparing a scenario without battery energy storage systems with a scenario where storage systems are available for some members of the community. The case study uses real storage units that are integrated into the proposed system and used for simulation.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Colak, A.: Introduction to smart grid. (Aug. 2016). https://doi.org/10.1109/ISGWCP.2016.7548265

  2. Mengelkamp, E., Notheisen, B., Beer, C., Dauer, D., Weinhardt, C.: A blockchain-based smart grid: towards sustainable local energy markets. Comput. Sci. Res. Dev. 33(1–2), 207–214 (2017). https://doi.org/10.1007/s00450-017-0360-9

    Article  Google Scholar 

  3. Gomes, L., Vale, Z., Corchado, J.M.: Microgrid management system based on a multi-agent approach: An Office building pilot. Measurement 154, 107427 (2020). https://doi.org/10.1016/J.MEASUREMENT.2019.107427. Mar

    Article  Google Scholar 

  4. Faria, P., Vale, Z.: Distributed energy resource scheduling with focus on demand response complex contracts. J. Modern Power Sys. Clean Energy 9(5), 1172–1182 (2021). https://doi.org/10.35833/MPCE.2020.000317. Sep

    Article  Google Scholar 

  5. Pinto, T., Faia, R., Navarro-Caceres, M., Santos, G., Corchado, J.M., Vale, Z.: Multi-agent-based CBR recommender system for intelligent energy management in buildings. IEEE Syst. J. 13(1), 1084–1095 (2019). https://doi.org/10.1109/JSYST.2018.2876933. Mar

    Article  Google Scholar 

  6. Gazafroudi, A.S., et al.: Organization-based multi-agent structure of the smart home electricity system. In: 2017 IEEE Congress on Evolutionary Computation, CEC 2017 - Proceedings, pp. 1327–1334 (Jul. 2017). https://doi.org/10.1109/CEC.2017.7969458

  7. Khan, M.W., Wang, J., Ma, M., Xiong, L., Li, P., Wu, F.: Optimal energy management and control aspects of distributed microgrid using multi-agent systems. Sustainable Cities and Society, vol 44, pp. 855–870. Elsevier (Jan. 01 2019). https://doi.org/10.1016/j.scs.2018.11.009

  8. Klaimi, J., Rahim-Amoud, R., Merghem-Boulahia, L., Jrad, A.: A novel loss-based energy management approach for smart grids using multi-agent systems and intelligent storage systems. Sustain. Cities Soc. 39, 344–357 (2018). https://doi.org/10.1016/j.scs.2018.02.038. May

    Article  Google Scholar 

  9. Gomes, L., Vale, Z.A., Corchado, J.M.: Multi-agent microgrid management system for single-board computers: a case study on peer-to-peer energy trading. IEEE Access 8, 64169–64183 (2020). https://doi.org/10.1109/ACCESS.2020.2985254

    Article  Google Scholar 

  10. Ren, Y., Fan, D., Feng, Q., Wang, Z., Sun, B., Yang, D.: Agent-based restoration approach for reliability with load balancing on smart grids. Appl. Energy 249, 46–57 (2019). https://doi.org/10.1016/j.apenergy.2019.04.119. Sep

    Article  Google Scholar 

  11. Mansour, A.M., Obeidat, M.A., Abdallah, J.: A Novel Multi-agent Mechanism for Managing Electrical Power Smart Grids (Apr. 2021). https://doi.org/10.1109/IREC51415.2021.9427850

  12. Panisson, A.R., Bordini, R.H.: Towards a computational model of argumentation schemes in agent-oriented programming languages. In: Proceedings - 2020 IEEE/WIC/ACM International Joint Conference on Web Intelligence and Intelligent Agent Technology, WI-IAT 2020, pp. 9–16 (Dec. 2020). https://doi.org/10.1109/WIIAT50758.2020.00007

  13. Chen, F., Ren, W.: On the Control of Multi-Agent Systems: A Survey. Foundations and Trends® in Systems and Control 6(4), 339–499 (2019). https://doi.org/10.1561/2600000019

  14. Reis, I.F.G., Gonçalves, I., Lopes, M.A.R., Antunes, C.H.: A multi-agent system approach to exploit demand-side flexibility in an energy community. Utilities Policy 67, 101114 (2020). https://doi.org/10.1016/j.jup.2020.101114. Dec

    Article  Google Scholar 

  15. Prasad, A., Dusparic, I.: Multi-agent Deep Reinforcement Learning for Zero Energy Communities (Sep. 2019). https://doi.org/10.1109/ISGTEurope.2019.8905628

  16. Algarvio, H.: Management of local citizen energy communities and bilateral contracting in multi-agent electricity markets. Smart Cities 4(4), 1437–1453 (2021). https://doi.org/10.3390/smartcities4040076. Nov

    Article  Google Scholar 

  17. An, A.R., Liu, G.P., Tan, C.: Group consensus control for networked multi-agent systems with communication delays. ISA Trans. 76, 78–87 (2018). https://doi.org/10.1016/J.ISATRA.2018.03.008. May

    Article  Google Scholar 

  18. Ge, X., Han, Q.L., Ding, D., Zhang, X.M., Ning, B.: A survey on recent advances in distributed sampled-data cooperative control of multi-agent systems. Neurocomputing 275, 1684–1701 (2018). https://doi.org/10.1016/J.NEUCOM.2017.10.008. Jan

    Article  Google Scholar 

  19. Wang, A., Wang, Z., Chen, M., Wang, W.: Distributed optimization for multi-agent systems with constraints set and communication time-delay over a directed graph. Inf. Sci. 438, 1–14 (2018). https://doi.org/10.1016/J.INS.2018.01.040. Apr

    Article  MathSciNet  MATH  Google Scholar 

  20. Hasanuzzaman Shawon, M., Muyeen, S.M., Ghosh, A., Islam, S.M., Baptista, M.S.: Multi-agent systems in ICT enabled smart grid: A status update on technology framework and applications. IEEE Access 7 (2019). https://doi.org/10.1109/ACCESS.2019.2929577

  21. Bergenti, F., Caire, G., Monica, S., Poggi, A.: The first twenty years of agent-based software development with JADE. Auton. Agent. Multi-Agent Syst. 34(2), 1–19 (2020). https://doi.org/10.1007/S10458-020-09460-Z/FIGURES/1. Oct

    Article  Google Scholar 

  22. Palanca, A., Terrasa, A., Julian, V., Carrascosa, C.: Spade 3: Supporting the new generation of multi-agent systems. IEEE Access 8, 182537–182549 (2020). https://doi.org/10.1109/ACCESS.2020.3027357

    Article  Google Scholar 

  23. de Freitas, B.K., Fritzen Venturini, L., Domingues, M.A., Augusto Da Rosa, M., Issicaba, D.: Exploiting PADE to the simulation of multiagent restoration actions. In: 2019 11th International Symposium on Advanced Topics in Electrical Engineering, ATEE 2019 (Mar. 2019). https://doi.org/10.1109/ATEE.2019.8724852

Download references

Acknowledgments

This work has received funding from FEDER Funds through COMPETE program and from National Funds through (FCT) under the project PRECISE (PTDC/EEI-EEE/6277/2020). The authors acknowledge the work facilities and equipment provided by GECAD research center (UIDB/00760/2020) to the project team.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bruno Ribeiro .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ribeiro, B., Pereira, H., Gomes, L., Vale, Z. (2023). Python-Based Ecosystem for Agent Communities Simulation. In: García Bringas, P., et al. 17th International Conference on Soft Computing Models in Industrial and Environmental Applications (SOCO 2022). SOCO 2022. Lecture Notes in Networks and Systems, vol 531. Springer, Cham. https://doi.org/10.1007/978-3-031-18050-7_7

Download citation

Publish with us

Policies and ethics