Modeling energy collection with shortest paths in rectangular grids: an efficient algorithm for energy harvesting | Publicación