where η is the efficiency of the plant
ρ the density of water (1000 kg/m3)
g the gravity term (9,81 m/s2)
Q the discharge of the river
Δh the gross head of the considered segment
r.green.hydro.optimal discharge=discharge river=availablestreams elevation=elevation len_plant=800 distance=800 output_plant=potentialsegments output_point=potentialpoints
d.vect map= potentialpoints color=red
d.vect map= potentialplants color=blue