Greedy algorithm for minimizing the cost of routing power on a digital microgrid

Zhengqi Jiang, Vinit Sahasrabudhe, Ahmed Mohamed, Haim Grebel, Roberto Rojas-Cessa

Research output: Contribution to journalArticlepeer-review

8 Scopus citations


In this paper, we propose the greedy smallest-cost-rate path first (GRASP) algorithm to route power from sources to loads in a digital microgrid (DMG). Routing of power from distributed energy resources (DERs) to loads of a DMG comprises matching loads to DERs and the selection of the smallest-cost-rate path from a load to its supplying DERs. In such a microgrid, one DER may supply power to one or many loads, and one or many DERs may supply the power requested by a load. Because the optimal method is NP-hard, GRASP addresses this high complexity by using heuristics to match sources and loads and to select the smallest-cost-rate paths in the DMG. We compare the cost achieved by GRASP and an optimal method based on integer linear programming on different IEEE test feeders and other test networks. The comparison shows the trade-offs between lowering complexity and achieving optimal-cost paths. The results show that the cost incurred by GRASP approaches that of the optimal solution by small margins. In the adopted networks, GRASP trades its lower complexity for up to 18% higher costs than those achieved by the optimal solution.

Original languageEnglish (US)
Article number3076
Issue number16
StatePublished - Aug 9 2019

All Science Journal Classification (ASJC) codes

  • Control and Optimization
  • Energy (miscellaneous)
  • Engineering (miscellaneous)
  • Energy Engineering and Power Technology
  • Electrical and Electronic Engineering
  • Fuel Technology
  • Renewable Energy, Sustainability and the Environment


  • Digital microgrid
  • Dijkstra algorithm
  • Distributed energy resources
  • Integer linear programming
  • Power grid
  • Routing energy


Dive into the research topics of 'Greedy algorithm for minimizing the cost of routing power on a digital microgrid'. Together they form a unique fingerprint.

Cite this