build_reservoir_topology: Build reservoir topology starting from a river graph, river...

Description Usage Arguments Value

Description

This function builds the topology of the reservoir network. Depends on data(river_graph) and data(river_geometry). It starts by identifying which reservoirs are located over the river network (strategic reservoirs) and builds their topology by filling the res_down column. Then it looks at reservoirs outside the river network (in general smaller reservoirs and here called non-strategic) and assigns them to a strategic reservoir (with sf::st_nearest_feature()) in case there is one in the river reach or simply assigns the next downstream strategic reservoir as res_down

Usage

1

Arguments

res_geom

is a subset of data(reservoir_geometry) that can be obtained from the function allocate_reservoir_to_river()

Value

the column res_down in the geospatial dataframe res_geom


jmigueldelgado/a5udes documentation built on Dec. 21, 2021, 1:12 a.m.