Multi-layer energy management software base VBA for multi microgrid operation planning and cost analysis

Document Type : Original Article


Department of Electrical Engineering, Sari Branch, Islamic Azad University, Sari, Iran



Increasing the number of distributed generation resources in the form of microgrids, in addition to improving the technical conditions of these networks, causes many economic benefits to producers and consumers. Using a combination of several microgrids as a cluster of microgrids improves the mentioned advantages, however, the main problem is to find the best schedule for microgrids. In this paper, a software called MLEMS is proposed for the planning and cost analysis of multi-microgrid systems. This open-source software is based on the Visual Basic programming language, in the form of macro modules. By using GAMS and Matlab, in addition to the day-ahead scheduling of microgrid operation, the best solutions are also found to minimize the operation cost of multi-microgrid systems. Different parts of the software are provided in the form of modular layers to perform a better energy management system in which the user can enter the information for each microgrid separately. By designing the multi-microgrid system, modeling, optimization, and planning will be provided for any users in the software environment. A case study is performed to optimize the operating costs; using the proposed software for a multi-microgrid system and after several analyses, the best solution is given to the microgrid user. The Lindo solver has been presented the lowest solve time for the sample multi-microgrid system in the shortest solution time of 0.25 seconds. The cost of operating the sample system for a 24-hour has been calculated $ 520 by exposure to the operation plan in the MLEMS.


Main Subjects

1. I. E. Agency, "International Energy Agency Outlook for Electricity Access " vol. Paris, France, 2020.
2. H.Shahryari,H.Shayeghi, B.Mohammadi-ivatloo, M.Moradzadeh"A copula-based method to consider uncertainties for multi-objective energy management of microgrid in presence of demand response," energy, Vol. 175, PP 879-890, 15 May 2019.
3. D. Bharti and M. De, "Planning Framework for Optimal Resource Utilization Strategy in Microgrid," Arabian Journal for Science and Engineering, vol. 45, no. 3, pp. 1927-1947, 2020/03/01 2020.
4. O. Hafez and K. Bhattacharya, "Optimal planning and design of a renewable energy based supply system for microgrids," Renewable Energy, vol. 45, pp. 7-15, 2012/09/01.
5. R. Johannsen, P.A.; M.Drysdale, K.Mouritsen, "Designing Tools for Energy System Scenario Making in Municipal Energy Planning," Energies vol, 14(5), 1442.2021.
6. Z. Fallahi and A. Smith, "Economic and emission-saving benefits of utilizing demand response and distributed renewables in microgrids," The Electricity Journal, vol. 30, no. 9, pp. 42-49, 2017/11/01.
7. L. Blackhall, G. Kuiper, L. Nicholls, and P. Scott, "Optimising the value of distributed energy resources," The Electricity Journal, vol. 33, no. 9, p. 106838, 2020/11/01.
8. M. Borghei and M. Ghassemi, "A Multi-Objective Optimization Scheme for Resilient, Cost-Effective Planning of Microgrids," IEEE Access, vol. 8, pp. 206325-206341, 2020.
9. x. Ding, s. Shen, z. Zhang, j. Yang, and z. Xing, "Research on the optimization method of multi energy interconnected microgrid configuration and operation based on lifecycle cost," IEEE International Conference on Power and Renewable Energy (ICPRE), , pp. 428-431,2016.
10. M.Zhang, and Y. Cheng, "Distributed microgrid energy optimization using transactive control and heuristic strategy," IEEE Power & Energy Society General Meeting, pp. 1-5, 2017.
11. T. Logenthiran, D. Srinivasan, and A. Khambadkone, "Multi-agent system for energy resource scheduling of integrated microgrids in a distributed system," Electric Power Systems Research, vol. 81, no. 1, pp. 138-148, 2011/01/01.
12. G. Mohanty, and R.Balasubramanian, "Optimal planning and design of Distributed Generation based micro-grids," IEEE in Proc. Industrial and Information Systems (ICIIS), pp. 1-6, 2012.
13. F. Brundu et al., "IoT Software Infrastructure for Energy Management and Simulation in Smart Cities," IEEE Transactions on Industrial Informatics, vol. 13, no. 2, pp. 832-840, 2017.
14. J. Wertani, J.SalemM and M.Lakhoua, "Analysis and supervision of a smart grid system with a systemic tool," vol. The Electricity Journavol.33 (6) 106784,2020.
15. G. Hafeez et al., "An Innovative Optimization Strategy for Efficient Energy Management With Day-Ahead Demand Response Signal and Energy Consumption Forecasting in Smart Grid Using Artificial Neural Network," IEEE Access, vol. 8, pp. 84415-84433, 2020
16. T. Muhammad, T. Hussain, J. Lloret, and S. Baik, "An Efficient Deep Learning Framework for Intelligent Energy Management in IoT Networks," IEEE Internet of Things Journal, vol. 8, no. 5, pp. 3170-3179, 2021.
17. A. D. Mubashir,H. Rehmani, B.Jennings, and C. Assi, "Software Defined Networks based Smart Grid Communication: A Comprehensive Survey, IEEE Communications Surveys,vol.23(4),pp.2637-2670,2019.
18. M. Khodaei, "Microgrid-Based Co-Optimization of Generation and Transmission Planning in Power Systems," IEEE Transactions on Power Systems, vol. 28, no. 2, May 2013.
19. A.Lim, M. Ramadan , T. Logenthiran, V.Phan, "Optimum Long-Term Planning for Microgrid," IEEE Region 10 Conference, pp. 1457-1462, doi: 10.1109/TENCON.2017.8228087,2017.
20. W. Guo, B.Jiao, B.Hong, Ch.Wang, "Multi-objective stochastic optimal planning methodfor stand-alone microgrid system," IET Gener. Transm. Distrib, Vol. 8, Iss. 7, pp. 1263–1273, 2014.
21. A. Hassan,E. Khodayar,M. Shahidehpour, "Decentralized energy management for unbalanced networked microgrids with uncertainty," IET Generation, Transmission & Distribution published vol.15(13),pp.1922-
1938, January 2021.
22. M. Lalwani, D.K, "Investigation of Solar Photovoltaic Simulation Softwares " Imternational journal of applied engineering research, DINDIGUL Volume 1, No 3, 2010.
23. S. Sinha and S. Chandel, "Review of software tools for hybrid renewable energy systems," Renewable and Sustainable Energy Reviews, vol. 32, pp. 192-205, 2014/04/01.
24. M. Yan, M. Shahidehpour, A. Paaso, L. Zhang, A. Alabdulwahab, and A. Abusorrah, "Distribution Network-Constrained Optimization of Peerto-Peer Transactive Energy Trading Among Multi-Microgrids," IEEE Transactions on Smart Grid, vol. 12, no. 2, pp. 1033-1047, 2021.
25. A. Chowdhury ,A. Koval, "Current practices and customer value based distribution system reliability planning", Proceedings of the 2nd International Conference on Information Technologies and Electrical" vol. 40, no. 5, pp. 1174 1182, 2004.
26. P. Cicilio, M. Orosz, A. Mueller and E. Cotilla-Sanchez, "uGrid: Reliable Minigrid Design and Planning Toolset for Rural Electrification," in IEEE Access, vol. 7, pp. 163988-163999, 2019.
27. K. Mahmud,A. Sahoo, "Multistage energy management system using autoregressive moving average and artificial neural network for dayahead peak shaving," ELECTRONICS LETTERS, vol. Vol. 55 No. 15 pp. 853–855, 2019.
28. G. Moshi, C. Bovo, and A. Berizzi, "Optimal operational planning for PV-Wind-Diesel-battery microgrid," IEEE Eindhoven PowerTech, 2015, pp. 1-6,2015
29. D. Robinson and H. Kämpf "Citysim Flows for Micro-Simulation of Resource Flows for Sustainable Urban Planning CITYSIM: COMPREHENSIVE," Eleventh International IBPSA Conference Glasgow, Scotland vol. July 27-30, 2009.
30. L.Mina Rahimian, and J. Pinto Duarte, "A Review of Predictive Software for the Design of Community Microgrids, Journal of Engineering " vol. 2018,10pageArticle ID 5350981, 2018/02/20.
31. ] R. Zhang, H. Wang, "The application of the TES technology in CHP heating system with Chinese demand profiles,A techno-economic feasibility case study," E3S web of conferences, Clima/ 2019
32. H. Lund, J. Thellufsen, P. Østergaard, P. Sorknæs, I.Skov, and B.Mathiesen, "EnergyPLAN – Advanced analysis of smart energy systems," Smart Energy, vol. 1, p. 100007, 2021/02/01.