Document Type : Research paper


Department of Electrical Engineering, Azarbaijan Shahid Madani University, Tabriz, Iran


Microgrids are known as the main components of energy networks because they can accommodate a large share of renewable energy sources. Peer-to-peer energy trading is one of the most effective ways to implement decentralized patterns in the electricity market. In peer-to-peer trades, each actor negotiates directly with a set of partners without any intermediaries. Peer-to-peer energy exchange methods allow direct energy exchange between producers and consumers. This study tested the peer-to-peer trading method on networks consisting of 4 microgrids. Existing microgrids have different generating sources, such as solar energy, wind turbines, and microturbines, each of which is modeled separately. Moreover, in order to reduce the uncertainty in the production of renewable sources, a battery storage system has been used in this network. Also, to encourage microgrids to use renewable resources, cut-off costs have been considered by these resources. This research uses the constrained optimization method and GAMS software with a Baron solver to optimize the problem. In the end, the uncertainty of producing renewable resources for different modes is examined using the information gap decision theory method. The available results show the power distribution between microgrids and other network components based on the objective function and existing constraints.


  1. Sapp, “Electricity market,”
  2. F. Zia, M. Benbouzid, E. Elbouchikhi, S. M. Muyeen, K. Techato, and J. M. Guerrero, “Microgrid transactive energy: review, architectures, distributed ledger technologies, and market analysis,” IEEE Access, vol. 8, pp. 19410–19432, 2020.
  3. Paudel, L.P.M.I. Sampath, J. Yang, and H.B. Gooi, “Peer-to-peer energy trading in smart grid considering power losses and network fees,” IEEE Trans. Smart Grid, vol. 11, no. 6, pp. 4727–4737, 2020.
  4. Paudel, M. Khorasany, and H.B. Gooi, “Decentralized local energy trading in microgrids with voltage management,” IEEE Trans. Ind. Inform., vol. 17, no. 2, pp. 1111–1121, 2021.
  5. Khorasany, A. Najafi-Ghalelou, and R. Razzaghi, “A framework for joint scheduling and power trading of prosumers in transactive markets,” IEEE Trans. Sustain. Energy, vol. 12, no. 2, pp. 955–965, 2021.
  6. Wang, Z. Huang, M. Shahidehpour, L. L. Lai, Z. Wang, and Q. Zhu, “Reconfigurable distribution network for managing transactive energy in a multi-microgrid system,” IEEE Trans. Smart Grid, vol. 11, no. 2, pp. 1286–1295, 2020.
  7. Xu, B. Zhou, N. Liu, Q. Wu, N. Voropai, C. Li, “Peerto-peer multienergy and communication resource trading for interconnected microgrids,” IEEE Trans. Ind. Informatics, vol. 17, no. 4, pp. 2522–2533, 2021.
  8. Zhang, S. Troitzsch, S. Hanif, and T. Hamacher, “Coordinated market design for peer-to-peer energy trade and ancillary services in distribution grids,” IEEE Trans. Smart Grid, vol. 11, no. 4, pp. 2929–2941, 2020.
  9. Guo, P. Pinson, S. Chen, Q. Yang, and Z. Yang, “Chance-constrained peer-to-peer joint energy and reserve market considering renewable generation uncertainty,” IEEE Trans. Smart Grid, vol. 12, no. 1, pp. 798–809, 2021.
  10. R. Aghajani and I. Heydari, “Energy management in microgrids containing electric vehicles and renewable energy sources considering demand response,” J. Oper. Autom. Power Eng., vol. 9, no. 1, pp. 34–48, 2021.
  11. Shahryari, H. Shayeghi, B. Mohammadi-Ivatloo, and M. Moradzadeh, “Optimal energy management of microgrid in day-ahead and intra-day markets using a copula-based uncertainty modeling method,” J. Oper. Autom. Power Eng., vol. 8, no. 2, pp. 86–96, 2020.
  12. H. Arab, B. Taghezouit, K. Abdeladim, S. Semaoui, “Maximum power output performance modeling of solar photovoltaic modules,” Energy Reports, vol. 6, pp. 680–686, 2020.
  13. Salehi, A. Namvar, and F.S. Gazijahani, “Scenario-based co-optimization of neighboring multi carrier smart buildings under demand response exchange,” J. Clean. Prod., vol. 235, pp. 1483–1498, 2019.
  14. Paudel, K. Chaudhari, C. Long, and H.B. Gooi, “Peerto-peer energy trading in a prosumer-based community microgrid: a game-theoretic model,” IEEE Trans. Ind. Electron., vol. 66, no. 8, pp. 6087–6097, 2019.
  15. Mehdizadeh, N. Taghizadegan, and J. Salehi, “Risk-based energy management of renewable-based microgrid using information gap decision theory in the presence of peak load management,” Appl. Energy, vol. 211, pp. 617–630, 2018.