Cumulative cost upstream a raster stream network with GRASS

by BBR   Last Updated November 08, 2018 23:22 PM

I have a river network in raster and locations of many dams on the river.

enter image description here

In the image above, the BLUE point represent one random cell. Dam 1 is downstream to the cell.

I am looking to calculate the cumulative installed capacity of all dam upstream each cell. Of course, the installed capacity data are collected.

In the example, the sum of Dam2 and Dam3 capacity should be assigned to the blue cell. And I want the result in raster.

Does anyone know how to solve the problem using GRASS?

Related Questions

calculate 3D surface area base on slope in GIS

Updated October 10, 2017 18:22 PM

Analyzing adjacent stream segments

Updated July 17, 2018 18:22 PM

Find all polygons upstream of a set of points?

Updated February 05, 2018 20:22 PM

How to build Geometric network in MapInfo?

Updated March 17, 2017 05:22 AM