The Upper-Tana Nairobi Water Fund

The Tana River supplies 95% of the water for a total of 9 million people living in Nairobi and surroundings, feeds one of the country’s most important agricultural areas and provides half of the country’s hydropower output. In the past decades, many forests and wetlands have been converted to agriculture. These land use changes, combined unsustainable management practices in some areas, have contributed to decreasing the natural landscape capacity to store runoff water and retain sediments and soil in place – changes which have negatively impacting hydropower and drinking water supply.

The Upper Tana-Nairobi Water Fund is an initiative bringing together representatives of government, NGO, and private entities to promote clean and reliable water supplies for downstream stakeholders, while simultaneously fostering sustainable livelihoods for upstream farmers and others. The main “on-the-ground” action the fund can take is the identification and prioritization of extension activities, whereby actors on the landscape (mainly farmers) are visited by local NGO’s to diagnose and offer incentives for ways to improve farm and water-related outcomes. Ideally, achieving agricultural livelihood outcomes and improvements to the water supply can be achieved simultaneously, though in some places there might be trade-offs, which the Fund is interested in minimizing. The analysis presented in the use case demonstrates how to find out where and what would be the most efficient actions to undertake on the landscape. The priority watersheds under consideration are Maragua, Sagana-Gura and Thika-Chania (see map below). The approach and visualizations highlight ways to better identify win-wins and tradeoffs. Read also the Nairobi Water Fund story (The Nature Conservancy website), the Nairobi Water Fund Business case (PDF) and more about source water protection.

spa
Ecosystem services (ES)

Ecosystem services are the benefits natural capital assets provide to humanity. Here, the objective is to improve three ES metrics:

  • * Annual water yield (AWY) to be maximized, as it serves water supply and hydropower needs
  • * Sediment export to streams (SDE) to be minimized, as it harms reservoir and water treatment operations, among others
  • * Soil erosion (SDL) to be minimized, as it reduces agricultural productivity.

games
Interventions

The goal of the Waterfund is to optimize which interventions to undertake and where in the Upper Tana basin, in order to improve water quality and quantity supplying Nairobi area. In other words, spatially targeting interventions to enhance ecosystem services objectives.

Possible interventions are road mitigation, agroforestry, riparian management, terracing, reforestation, grass strips.

playlist_play
Portfolios

Many scenarios (possible futures) were considered, varying objective weights and input parameters' values. The models were run for each scenario, leading to the generation of different portfolios (intervention maps).

The 810 portfolios arise from uncertain or scenario-based input variables (4 parameters with 2 to 4 possible values each) and 15 combinations of objectives weights (details).

    Visualization of optimization results for each watershed

    Understanding the optimizer results, comparing portfolios, assessing trade-offs and uncertainty is complex due the multiplicity of metrics, objectives, scenarios and the nature of the data (often spatial). In between communication and exploratory purposes, these interactive dashboards allow to explore the large and interconnected dataset, allowing to visualize tradeoffs between objectives, compare scenarios and assess uncertainty.

  • Maragua
  • Sagana-Gura
  • Thika-Chania

The ability to achieve multiple objectives simultaneously while minimizing negative impacts is a function of what is recommended, but also where it is recommended. For example, if one only cares about avoiding sediment in streams, then buffers where agricultural land meets streams may be most effective -- but upland soils could still lose productivity. In this case an intervention that prevents on-field erosion likely will have dual benefits. Yet, at the same time, the increase in yields may reduce water reaching streams as plants utilize additional water. This general problem is one that can be formalized as a “multi-objective optimization” -- ecosystem services models that represent changing management of the landscape can be run in combination with solvers to identify landscape configurations that can approximate the best combination of a given combination of objectives, and also to understand how the recommended configuration changes. Because different actors may have different priorities, and because modeled outcomes can only be modeled imprecisely, it is illuminating to consider how portfolios and their performance change in response to these alternative values and scenarios. By doing so, one can gain insight into relationships and identify recommendations that meet multiple priorities in a variety of possible [future] worlds.


Examples of questions the visualization dashboards help answer

Disclaimer: The focus of this document is to provide an orientation to the general approach of multi-objective optimization under uncertainty, and the added benefits of dynamic visualization, as implemented in this context. It is important to note that the objectives modeled here do not include all objectives of the water fund, and are preliminary results designed to illustrate the tool and the questions it can answer. Later work will vet the analysis for use in actual decision making, and consider additional biophysical and economic objectives.


Where should I do what on the landscape, with full knowledge of preferences and minimal uncertainty?

This is the question answered by a single run of the spatial optimization problem: Given a known weighting on objectives (i.e., how much increase in sediment export would I be willing to give up for a change in water yield), where are on the landscape should interventions be promoted for specific activities, and what changes in each objective can I expect to see?

This basic question results in two main outputs: One is a portfolio that is a set of pixels on the landscape, indicating where to do what activity (given a budget constraint). The second is a score for each objective, both at the pixel level, and at the landscape level. Pixel level scores can be visualized as objective score maps (one per objective), while overall landscape scores can be visualized on a number of 2-d plots, or a parallel coordinate plot. The content of a portfolio can also be summarized by the relative composition of each type of intervention (eg, 20% grass strips, 80% road mitigation).

How does my ability to achieve each objective trade-off with my ability to achieve the others, under a single set of assumptions about model inputs?

This question is answered by a single trade-off curve or “trade-off frontier” -- these curves are generated under common assumptions about model inputs and also common budget and cost assumptions. Different points on the frontier correspond to different weightings on the objectives. One can examine a frontier in three separate scatterplots for the three combinations of objectives, or by assessing connected lines in the parallel coordinate plot.

How robust are tradeoffs?

This can be answered by examining the shapes and location of multiple trade-off frontiers at once -- under some input assumptions, they may be fairly constraint, while other assumptions may suggest that gains in one objective can come at minimal cost to another.

How does changing the priority on different objectives affect which activities are done, and where?

We can see the effect of changing objective weights on portfolio composition by examining the pie charts as one inspects different portfolios on a single budget frontier. One can also see broader patterns by selecting subsets of the dataset by brushing, and examining the differences in modal portfolios for different groups -- which represent the intervention most commonly chosen on each pixel across the set of selected runs.

What parts of the landscape have high agreement for activities to be chosen?

This question is answered by the “frequency map” in the portfolio view, which shows the fraction of times the modal portfolio was chosen. This can be examined for the entire dataset, or for specific weight or input combinations.

Broadly, what parts of the landscape merit attention for interventions, and which do not? How does this change based on priorities or input assumptions?

The footprint map denotes the extent of all pixels where interventions where considered. Outside this footprint (for a given budget level), there is little reason to consider interventions, while inside. One can also use this limiting footprint as a way to examine how the focus of intervention areas shrinks as one reduces uncertainty in inputs or relative priorities on different ES objectives.

How do the portfolios expand with budget ?

Similarly to other model input parameters and to objective weights, the budget effect on the results can be visualized by selecting a subrange of budget levels on the corresponding slider, and viewing the impact on ES metrics in both the parallel coordinate plot and the scatterplot, plus examining the map summary statistics that updates according to the selection.


Workflow to generate the dataset Benjamin Bryant

As implemented here, the spatial optimization consists of a non-trivial series of steps and intermediate products. The basic workflow to generate a single trade-off frontier is as follows:
  1. Generate static marginal value maps for each intervention by running each ecosystem service model with each intervention implemented wherever it is feasible to do so, and differencing with respect to ES provisioning levels on the default “base” landcover.
  2. Generate a set of weight combinations, and specify cost for each intervention and total budget.
  3. For each weight combinations:
    1. Create weighted objective scores for each pixel, for each intervention.
    2. Create weighted cost-effectiveness scores for each pixel, for each intervention, by dividing by the cost.
    3. Sort at each pixel to identify the intervention with the highest weighted cost-effectiveness score for each pixel.
    4. Use a greedy search to select the highest cost-effectiveness pixels until the budget constraint can no longer be satisfied. The set of chosen pixels defines a portfolio.
    5. Extract the base value and change in each objective score for each pixel by indexing the portfolio against the static marginal value maps. This defines the objective score map and marginal value objective score maps.
    6. Sum pixel-level scores to identify aggregate landscape-wide objective score values for a particular run.
  4. Repeat for each weight combination to complete a frontier.
To generate many portfolios, the above steps are wrapped, by:
  1. Specifying an experimental design for ES model inputs.
  2. Specifying an experimental design for optimization parameters (budget, other constraints).
  3. Generating unique index encodings for groupings that maybe relevant for visualization or analysis (eg, indexing tradeoff curves, or objective weight combinations).
  4. Running the frontier-generating procedure defined above for each “row” of the full experimental design.
R-based code to achieve the above workflow can be requested from Benjamin Bryant , and is currently (as of March 2017) in the process of being packaged for distribution.