@article { author = {Babanezhaad, Hamed and Ghafouri, Alireza and Sedighi, Mohsen}, title = {Multi-layer energy management software base VBA for multi microgrid operation planning and cost analysis}, journal = {Journal of Energy Management and Technology}, volume = {6}, number = {4}, pages = {232-240}, year = {2022}, publisher = {Iran Energy Association (IEA)}, issn = {2588-3372}, eissn = {2588-3372}, doi = {10.22109/jemt.2022.310818.1338}, abstract = {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.}, keywords = {Renewable Energy,Operation planning,Cost analysis,Energy management,multi-microgrid system}, url = {https://www.jemat.org/article_147434.html}, eprint = {https://www.jemat.org/article_147434_efa9d9d02e7665555d920c9c22ceca70.pdf} }