Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

Urban Water Infrastructure Investment Model (PMA Version)


Authors:
Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource.
Type: Resource
Storage: The size of this resource is 37.5 MB
Created: May 01, 2023 at 7:37 p.m.
Last updated: Oct 23, 2023 at 1:15 p.m. (Metadata update)
Published date: Oct 23, 2023 at 1:15 p.m.
DOI: 10.4211/hs.136128c172c3414397be66e66678c7b4
Citation: See how to cite this resource
Sharing Status: Published
Views: 512
Downloads: 6
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

The Urban Water Infrastructure Investment Model (UWIIM) is a discrete time dynamical systems model designed to reflect the general flow of water, investment, and information in a stylized urban water coupled infrastructure system. The model couples operational considerations regarding the use of infrastructure, including storage, processing, and delivery infrastructure to meet annual demand given varying, user-defined, hydrologic inflows with political-economic considerations at play in three annual decisions: short-term (with a year) curtailment of demand, investment in infrastructure, and rate-setting. We demonstrate the model with representative configurations for three Phoenix Metropolitan Area (PMA) cities: Phoenix, Scottsdale, and Queen Creek. A detailed description of the model can be found in the attached Supporting Information document. The model uses the Julia programming language (version 1.8.4).

The resources published here allow users to (i.) run the UWIIM for each of the three PMA cities and vary the parameters or initial conditions used and (ii.) replicate the sensitivity analysis performed in the referenced manuscript. Both tasks can be performed with the Jupyter notebooks or Julia code contained in the source code file. We also provide the raw outputs from the sensitivity analysis and R scripts used to produce the analysis figures displayed in the manuscript.

Subject Keywords

Coverage

Spatial

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
Place/Area Name:
Phoenix Metropolitan Area
Longitude
-112.0649°
Latitude
33.3929°

Content

README.md

Urban Water Infrastructure Investment Model (UWIIM), PMA Version

This repository contains the source code for the model and sensitivity analysis configuration, raw outputs of the sensitivity analysis, R scripts used to analyze the outputs of sensitivity analysis, and the figures used in the published manuscript associated with this version of the Urban Water Infrastructure Investment Model (UWIIM). The model is a general coupled infrastructure dynamical systems model, written in the Julia programming language (version 1.8.4) as a discrete time dynamical system, that incorporates operational infrastructure and political-economic feedback processes governing urban water systems. The model has been parameterized to reflect the water resources, financial, and demand context of three cities in the Phoenix Metropolitan Area (PMA): Phoenix, Scottsdale, and Queen Creek.

Running the Model

The UWIIM can be run through the provided Jupyter notebook ("UWIIM_PMA.ipynb") or any Julia compiler with the "UWIIM_PMA.jl" file. Both files contain all background functions with heavily commented explanations that can also be found in the Supporting Information document (see "docs" folder).

After compiling the source code in a Julia compiler or the Jupyter notebook, the one-line function that runs the UWIIM is run_UWIIM(), which takes four possible inputs.

Model Inputs

  1. setup: Setup function containing the parameters and initial conditions for the model run. This version offers four setup functions: Default(), Phoenix(), Scottsdale(), QueenCreek(). If the setup functions are called without any specified arguments, they will output the default parameter and initial conditions corresponding to that city as laid out in the Supporting Information document. However, a model user may change any of the parameter or initial conditions in the arguments of the setup functions (see variableTables folder).
  2. t_run: number of years (time steps) to run the model. The default is 50.
  3. year_0: initial year of the model run. This is primarily used for the time series plots. The default is 2010.
  4. units: this specifies the water volume units to use for plotting. The default is acre-feet, "AF," which should be used for all PMA cities. Any other unit specification will create dimensional analysis errors in the parameters and initial conditions. However, in the Default setup, one can also use "gal" for this argument to use gallon-based water volume units.

Model Outputs

The run_UWIIM() function will generate three outputs in a general array.

  1. Dataframe of time series for state and auxilary variables over the model run (see variableTables folder).

  2. Non-dimensional Time Series Plots organized as a vector of 13 plots

i. Shortage Plot (Supply, Demand, Shortage)

ii. Flows Plot (Inflows & Use)

iii. Storage Plot (Fill Volume & Storage Capacity)

iv. Error

v. Attention

vi. Financial Flows (Revenue, Costs, Investments)

vii. Per-Capita Revenue

viii. Delivery Efficiency

ix. Per-Capita Demand (Base & Actual)

x. Processing Capacity

xi. Population

xii. Mean Inflow (including augmentation)

xiii. All plots aggregated into one figure

  1. Dimensional Time Series Plots (using the units chosen in the function inputs) organized as a vector of 13 plots (same as above)

Replicating the Sensitivity Analysis

To replicate the sensitivity analysis performed in the manuscript, use the "UWIIM_PMA_sensanalysis.ipynb" Jupyter notebook or the "UWIIM_PMA_sensanalysis.jl" Julia file in any Julia compiler. The script will output results files into the "results/raw" folder in both a Julia readable object and a CSV file for each parameter variation tested.

Additionally, we provide the R scripts used to analyze the raw sensitivity analysis folders in the "results/analysis_scripts" folder. Refer to the "WRR_Figs" file for the script used to generate manuscript figures. All other scripts contain background functions to clean the data and generate the figures as specified in the "WRR_Figs" main script. The figures can be found in the "results/figs" folder.

Credits

Funding Agencies

This resource was created using funding from the following sources:
Agency Name Award Title Award Number
National Science Foundation Transition Dynamics in Integrated Urban Water Systems 923880
National Science Foundation Graduate Research Fellowship Program 026257-001

How to Cite

Wiechman, A., S. A. Vicario, M. Garcia, G. Hornberger, J. M. Anderies (2023). Urban Water Infrastructure Investment Model (PMA Version), HydroShare, https://doi.org/10.4211/hs.136128c172c3414397be66e66678c7b4

This resource is shared under the Creative Commons Attribution-NoCommercial CC BY-NC.

http://creativecommons.org/licenses/by-nc/4.0/
CC-BY-NC

Comments

There are currently no comments

New Comment

required