Visualizations for Interdependent Energy-Water Security
VIEWS is an open-source, interactive dashboard for visualizing energy and water flows and their cross-sectoral interdependencies across US states. It combines data processed in R with a Svelte-based web application to explore GCAM-USA simulation results through Sankey diagrams.
Energy and water systems are interconnected. Water supports energy production, and energy supports water supply and use. These relationships create opportunities and vulnerabilities across sectors and regions, particularly as population, economic activity, and technologies change. VIEWS was created to:
- Visualize energy and water flows through resource supply, transformation, and use sectors.
- Explore cross-sectoral dependencies through integrated energy and water diagrams.
- Compare state-level energy flows across regions and levels of detail.
- Examine how resource flows change over time under alternative socioeconomic and future weather scenarios.
- Provide downloadable data to support further analysis.
The dashboard provides three diagram types: Energy, Water, and combined Energy & Water. Users can select one or more US states, a level of detail (Low, Medium, or High), scenarios, and units, animate changes over time, and download the data and images behind their selections.
To run the dashboard locally, install Node.js 20 or later with npm, then run the following from the repository root:
cd dashboard
npm install
npm run devOpen the local URL printed in the terminal, usually http://localhost:5173.
With the dashboard running:
- Choose Energy, Water, or Energy & Water.
- Select a population/GDP growth and future weather scenario.
- Select one or more US states and a level of detail.
- Choose units and a color palette.
- Move the year slider or press play to explore changes over time.
- Download the current selection as a CSV, or the diagram for the year shown as a PNG or SVG image.
- Use Copy Link to This View to share a URL that reopens the dashboard with the same selections and year.
Energy flows can be displayed in exajoules, quads, or terawatt-hours. Water flows can be displayed in cubic kilometers, billion gallons, or million acre-feet.
The GitHub Actions workflow in .github/workflows/deploy.yml builds the dashboard and publishes it to the gh-pages branch on every push that changes dashboard/:
| Branch | Site | Purpose |
|---|---|---|
main |
pnnl.github.io/VIEWS | Released dashboard |
develop |
pnnl.github.io/VIEWS/dev | Preview of upcoming changes, marked with a banner |
Each branch only replaces its own folder on gh-pages, so the two sites never overwrite each other. A deploy can also be started by hand from the repository's Actions tab (Deploy > Run workflow). GitHub Pages must be set to Deploy from a branch, gh-pages, / (root).
| GCAM-USA Scenario names | Emissions constraints | Degree of hotter and drier weather* | Population and economic growth |
|---|---|---|---|
| ModHotDry_LowPopGDP | Moderate | Moderately | Low |
| ModHotDry_HighPopGDP | Moderate | Moderately | High |
| SevHotDry_LowPopGDP | None | Severely | Low |
| SevHotDry_HighPopGDP | None | Severely | High |
*This dashboard shows IM3 GCAM-USA results driven by 21st century projections of future hourly meteorology derived from monthly thermodynamic signals from CMIP6 projections. In addition to distinguishing between moderately versus severely hotter and drier futures (largely driven by emissions scenario assumptions), the projections account for structural model uncertainties that cause the projections to be relatively cooler or hotter for a given emissions trajectory. This produces a total of four 21st century projections. In this dashboard, however, for tractability purposes, we present GCAM-USA results only from the relatively cooler projection models.
For additional information on the meteorological projections, please refer to: Jones, A.D., Rastogi, D., Vahmani, P., Stansfield, A., Reed, K.A., Thurber, T., Ullrich, P.A., & Rice, J.S. Continental United States climate projections based on thermodynamic modification of historical weather. Sci Data 10, 664 (2023). https://doi.org/10.1038/s41597-023-02485-5
For more information on IM3, please see https://im3.pnnl.gov
The Global Change Analysis Model (GCAM) Wiki (version 5.3): jgcri.github.io/gcam-doc/v5.3/toc.html
GCAM Modeling Outputs Underlying Visualizations: Zhao, M., Ahsan, H., Binsted, M., Patel, P., Rice, J. S., Snyder, A., Vernon, C. R., & Wild, T. B. (2024). GCAM-USA: IM3 Phase 2 Official Simulations (Version v1) [Data set]. MSD-LIVE Data Repository. doi:10.57931/2428940
| Global Change Analysis Model (GCAM) | GCAM-USA Spatial Resolutions |
|---|---|
This work was developed by Pacific Northwest National Laboratory as part of the Integrated Water Power Resilience Project with funding by the U.S. Department of Energy Hydropower and Hydrokinetic Office (H2O) Energy-Water Resilience Program and the U.S. Department of Energy Office of Science as part of research in MultiSector Dynamics, Earth and Environmental Systems Modeling Program.


