Skip to main content
eScholarship
Open Access Publications from the University of California

UC Merced

UC Merced Previously Published Works bannerUC Merced

An open-source Python implementation of California's hydroeconomic optimization model

Abstract

This short communication describes a new open-source implementation of the CALVIN model (CALifornia Value Integrated Network), a large-scale network flow optimization model of California's water supply system. The model is cross-platform, uses common data formats, and connects to several freely available linear programming solvers. Given inputs including hydrology, urban/agricultural demand curves, and variable operating costs, the model minimizes the systemwide cost of water scarcity and operations including surface and groundwater reservoirs, wastewater reuse, desalination, environmental flow requirements, and hydropower. Key outputs include water shortage costs and marginal economic values of water and infrastructure capacity. We benchmark the scalability of different solvers up to roughly 5 million decision variables, using shared-memory parallelization on a high performance computing cluster. Runtimes are reduced by two orders of magnitude relative to the original model when no initial solution is provided, in addition to the benefits such as accessibility and transparency that come with an open-source platform. While this model is specific to California, the data and model structure are separated, so a similar framework could be used in any system where water allocation has been formulated as a network flow problem.

Many UC-authored scholarly publications are freely available on this site because of the UC's open access policies. Let us know how this access is important for you.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View