Skip to content

Commit

Permalink
add modeling resource figures and restructure the resources page
Browse files Browse the repository at this point in the history
  • Loading branch information
hassaniazi committed Jan 21, 2025
1 parent c93c41c commit 65c649c
Show file tree
Hide file tree
Showing 6 changed files with 226 additions and 69 deletions.
5 changes: 3 additions & 2 deletions sankey_dashboard/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import Icon from "@iconify/svelte";
</script>


<div class="flex flex-row w-screen font-sans h-[120px] pl-8 bg-gradient-to-r from-[#2B7F9E] to-[#5e1f04] items-center gap-8 text-white text-3xl">

<a href="{base}/">Integrated Energy-Water Flows for the United States over the 21st Century</a>
Expand All @@ -19,12 +20,12 @@
</div>

<div class="flex flex-row w-screen font-sans h-auto pl-8 bg-none items-center gap-8 text-gray-800 rounded-s text-gray-700 border-2">
{#each page_items as item}
<a href="{base}/{item==="sankeys" ? " " : item==="other visuals" ? "visuals" : item}" class="hover:text-gray-500">{item.toUpperCase()}</a>
{/each}

</div>
<!-- <a href="{base}/{item === "sankeys" ? '' : item}" class="hover:text-gray-500">{item.toUpperCase()}</a> -->

<div class="flex flex-row w-screen h-[20px] pl-8 bg-white gap-8">

Expand Down
286 changes: 219 additions & 67 deletions sankey_dashboard/src/routes/resources/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,82 +1,234 @@
<script>
let fullScreenImage = null;
let fullScreenCaption = '';
const diagramsResources = [
{
src: '/gcam.svg',
alt: 'Global Change Analysis Model (GCAM)',
title: 'Global Change Analysis Model (GCAM)',
// caption: 'GCAM market-based structure, sectors, interactions, and typical inputs and outputs',
tooltip: 'Click to enlarge the GCAM diagram.'
},
{
src: '/experiment.svg',
alt: 'GCAM-USA IM3 Experiment Diagram',
title: 'GCAM-USA IM3 Experiment',
// caption: 'GCAM-USA IM3 experimental design',
tooltip: 'Click to enlarge the GCAM-USA IM3 experiment diagram'
},
{
src: '/im3scenarios.svg',
alt: 'IM3 Scenarios Design',
title: 'IM3 Scenarios Design',
// caption: 'A Wide, Yet Plausible Range of 21st Century Futures',
tooltip: 'Click to enlarge the IM3 scenarios design diagram'
},
{
src: '/resolutions.svg',
alt: 'GCAM-USA Spatial Resolutions',
title: 'GCAM-USA Spatial Resolutions',
// caption: 'Details of spatial and temporal resolutions.',
tooltip: 'Click to enlarge the resolutions diagram'
}
];
const openFullScreen = (src, caption) => {fullScreenImage = src; fullScreenCaption = caption;};
const closeFullScreen = () => {fullScreenImage = null; fullScreenCaption = '';};
</script>

<style>
.grid-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
padding: 16px;
}
.grid-item {
border: 1px solid #ccc;
padding: 5px;
cursor: pointer;
transition: transform 0.2s;
position: relative;
box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.1);
border: 1px solid #ccc;
border-radius: 0.375rem;
}
.grid-item:hover {
transform: scale(1.05);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.grid-item-title {
background-color: #e2e8f0;
text-align: center;
font-size: 0.875rem;
padding: 0.25rem;
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
}
.grid-item-caption {
text-align: center;
color: #6b7280;
font-size: 0.75rem;
padding: 0.25rem;
}
.modal {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
}
.modal img {
max-width: 90%;
max-height: 90%;
}
.backdrop {
background-color: rgba(255, 255, 255, 0.95);
}
.close {
position: absolute;
top: 20px;
right: 20px;
font-size: 24px;
color: white;
cursor: pointer;
}
</style>


<div class="relative flex flex-col my-6 bg-white m-8">
<div id='resources'
class="relative flex h-full w-full max-w-[90rem] p-8 flex-col rounded-xl bg-white bg-clip-border text-gray-700 border-2">
<div class="p-2 mb-2">

<!-- RESOURCES -->
<h1 class="mb-7 text-slate-800 text-3xl font-semibold">
Related Resources
</h1>
<!--
<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Integrated Water Power Resilience Project Website</h2>
<p class="mb-7 text-slate-800 text-l font-light"> The motivation of the <a class='text-[#2B7F9E]' href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank"> Integrated Water Power Resilience Project</a> is to identify and develop opportunities to improve resilience in the water and power sectors through coordinated planning, investment, and operations and thereby provide benefits to power and water utilities, consumers, and the environment. The project website provides access to other water and energy research supported under this project as well as previously developed historic Sankey diagrams of water and energy sectors at the aggregate US level and for each major US electricity interconnection.</p>
<br>
<a href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank">
<img src="EED_1253_BRAND_WaterPowerResLogo-HERO-03.jpg" alt="iwpr-project-logo" class='h-[150px]'/>
</a>
<div class="p-2 mb-2">

<br>
<br> -->
<!-- RESOURCES -->
<h1 class="mb-7 text-slate-800 text-3xl font-semibold">
Related Resources
</h1>
<!--
<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Integrated Water Power Resilience Project Website</h2>
<div class="flex flex-row items-start">
<div class="flex-1">
<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Integrated Water Power Resilience Project Website</h2>
<p class="mb-7 text-slate-800 text-l font-light"> The motivation of the <a class='text-[#2B7F9E]' href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank"> Integrated Water Power Resilience Project</a> is to identify and develop opportunities to improve resilience in the water and power sectors through coordinated planning, investment, and operations and thereby provide benefits to power and water utilities, consumers, and the environment. The project website provides access to other water and energy research supported under this project as well as previously developed historic Sankey diagrams of water and energy sectors at the aggregate US level and for each major US electricity interconnection.</p>
</div>
<div class="ml-4">
<a href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank">
<img src="EED_1253_BRAND_WaterPowerResLogo-HERO-03.jpg" alt="iwpr-project-logo" class='h-[190px]'/>
</a>
<p class="mb-7 text-slate-800 text-l font-light"> The motivation of the <a class='text-[#2B7F9E]' href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank"> Integrated Water Power Resilience Project</a> is to identify and develop opportunities to improve resilience in the water and power sectors through coordinated planning, investment, and operations and thereby provide benefits to power and water utilities, consumers, and the environment. The project website provides access to other water and energy research supported under this project as well as previously developed historic Sankey diagrams of water and energy sectors at the aggregate US level and for each major US electricity interconnection.</p>
<br>
<a href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank">
<img src="EED_1253_BRAND_WaterPowerResLogo-HERO-03.jpg" alt="iwpr-project-logo" class='h-[150px]'/>
</a>
<br>
<br> -->

<div class="flex flex-row items-start">
<div class="flex-1">
<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Integrated Water Power Resilience Project Website</h2>
<p class="mb-7 text-slate-800 text-l font-light"> The motivation of the <a class='text-[#2B7F9E]' href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank"> Integrated Water Power Resilience Project</a> is to identify and develop opportunities to improve resilience in the water and power sectors through coordinated planning, investment, and operations and thereby provide benefits to power and water utilities, consumers, and the environment. The project website provides access to other water and energy research supported under this project as well as previously developed historic Sankey diagrams of water and energy sectors at the aggregate US level and for each major US electricity interconnection.</p>
</div>
<div class="ml-4">
<a href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank">
<img src="EED_1253_BRAND_WaterPowerResLogo-HERO-03.jpg" alt="iwpr-project-logo" class='h-[190px]'/>
</a>
</div>
<!-- <div class="ml-4 flex justify-center items-center">
<a href="https://www.pnnl.gov/projects/integrated-water-power-resilience-project" target="_blank">
<img src="EED_1253_BRAND_WaterPowerResLogo-HERO-03.jpg" alt="iwpr-project-logo" class='h-[190px] transition-transform duration-200 hover:scale-105'/>
</a>
</div> -->
</div>
</div>

<br>
<br>

<!-- MODEL DOCUMENTATION -->

<br>
<br>

<!-- PUBLICATIONS -->
<h1 class="mb-7 text-slate-800 text-3xl font-semibold">
Publications
</h1>
<hr class="border-1 border-gray-300">

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Journal Articles</h2>
<h1 class="mb-7 text-slate-800 text-3xl font-semibold">
Modeling
</h1>
<hr class="border-1 border-gray-300">

<p class="mb-7 text-slate-800 text-l font-light"> Mongird K., J.S. Rice, K. Oikonomou, and J.S. Homer. 2023. "Energy-water interdependencies across the three major United States electric grids: a multi-sectoral analysis." Utilities Policy 85. PNNL-SA-175036.
doi:<a class='text-[#2B7F9E]' href="https://doi.org/10.1016/j.jup.2023.101673" target="_blank"> 10.1016/j.jup.2023.101673</a>
</p>
<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Global Change Analysis Model </h2>

<p class="mb-7 text-slate-800 text-l font-light">Mongird K., K. Oikonomou, J.S. Homer, and J.S. Rice. 2022. "interflow: A Python package to organize, calculate, and evaluate cross-sectoral resource interdependency data." Journal of Open Source Software 7, no. 74:4336. PNNL-SA-171534.
doi:<a class='text-[#2B7F9E]' href="https://doi.org/10.21105/joss.04336" target="_blank"> 10.21105/joss.04336</a>
</p>

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Technical Reports</h2>
<p class="mb-7 text-slate-800 text-l font-light"> The Global Change Analysis Model (GCAM) Wiki (version 5.3): <a class='text-[#2B7F9E]' href="https://jgcri.github.io/gcam-doc/v5.3/toc.html" target="_blank"> jgcri.github.io/gcam-doc/v5.3/toc.html</a> </p>

<p class="mb-7 text-slate-800 text-l font-light">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:<a class='text-[#2B7F9E]' href="https://doi.org/10.57931/2428940" target="_blank"> 10.57931/2428940 </a> </p>

<!-- add diagrams -->
<div class="grid-container">
{#each diagramsResources as diagram}
<div
class="grid-item"
title={diagram.tooltip}
on:click={() => openFullScreen(diagram.src, diagram.caption)}
>
<div class="grid-item-title">
{diagram.title}
</div>
<img src={diagram.src} alt={diagram.alt} class="w-full h-auto" />
<div class="grid-item-caption">
{diagram.caption}
</div>
</div>
{/each}
</div>

{#if fullScreenImage}
<div
class="modal backdrop"
on:click={closeFullScreen}
>
<img src={fullScreenImage} alt="Full Screen Diagram" class="max-w-full max-h-3/4 shadow-lg rounded-md border border-gray-300" />
<div class="text-center text-gray-500 text-sm mt-4">{fullScreenCaption}</div>
</div>
{/if}

<p class="mb-7 text-slate-800 text-l font-light"> Mongird K., J.S. Homer, J.S. Rice, and K. Oikonomou. 2024. <a class='text-[#2B7F9E]' href="https://www.pnnl.gov/main/publications/external/technical_reports/PNNL-36021.pdf" target="_blank">Water & Energy Interdependencies Across Economic Sectors of the United States.</a> PNNL-36021. Richland, WA: Pacific Northwest National Laboratory. </p>
<br>
<br>

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Presentations</h2>

<p class="mb-7 text-slate-800 text-l font-light">Homer J.S., H. Niazi, K. Mongird, and J.S. Rice. 10/22/2024. "Looking back and Looking forward: Water & Energy Interdependencies Across Sectors." Presented by J.S. Homer, H. Niazi at EPRI Water-Energy Transformation Forum, Atlanta, Georgia. PNNL-SA-204849.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., J.S. Homer, J.S. Rice, and K. Oikonomou. 09/24/2024. "Synergies and Challenges: Mapping Energy-Water Dependencies at Multiple Scales." Presented by K. Mongird at Water Smart Innovations Conference 2024, Las Vegas, Nevada. PNNL-SA-203538.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., and J.S. Homer. 08/14/2024. "Water & Energy Interdependencies: Data and Visuals." Presented by J.S. Homer, K. Mongird at IEEE Energy and Water Nexus Industry Connection Workshop, Online, Washington. PNNL-SA-202380.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., and J.S. Homer. 06/24/2024. "Integrated Water Power Resilience Project Briefing." Presented by J.S. Homer, K. Mongird at National Lab Monthly Energy-Water Exchange, Online, Washington. PNNL-SA-199971.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., and J.S. Homer. 02/07/2024. "Integrated Water Power Resilience." Presented by J.S. Homer, K. Mongird at Interagency Water Working Group (IWWG) monthly meeting, Online, Washington. PNNL-SA-194517.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., J.S. Homer, J.S. Rice, and K. Oikonomou. 11/09/2023. "Energy-water Interdependencies Across Sectors and Scales: Sankey Diagram Visualizations." Presented by K. Mongird, J.S. Homer at NEWS RD&D Interagency Meeting, Online, District Of Columbia. PNNL-SA-192272.</p>
<!-- PUBLICATIONS -->
<h1 class="mb-7 text-slate-800 text-3xl font-semibold">
Publications
</h1>
<hr class="border-1 border-gray-300">

<!-- MODEL DOCUMENTATION -->

<h1 class="mb-7 text-slate-800 text-3xl font-semibold">
Modeling
</h1>
<hr class="border-1 border-gray-300">

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Global Change Analysis Model </h2>

<p class="mb-7 text-slate-800 text-l font-light"> The Global Change Analysis Model (GCAM) Wiki (version 5.3): <a class='text-[#2B7F9E]' href="https://jgcri.github.io/gcam-doc/v5.3/toc.html" target="_blank"> jgcri.github.io/gcam-doc/v5.3/toc.html</a> </p>

<p class="mb-7 text-slate-800 text-l font-light">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:<a class='text-[#2B7F9E]' href="https://doi.org/10.57931/2428940" target="_blank"> 10.57931/2428940 </a> </p>

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Journal Articles</h2>

<p class="mb-7 text-slate-800 text-l font-light"> Mongird K., J.S. Rice, K. Oikonomou, and J.S. Homer. 2023. "Energy-water interdependencies across the three major United States electric grids: a multi-sectoral analysis." Utilities Policy 85. PNNL-SA-175036. doi:<a class='text-[#2B7F9E]' href="https://doi.org/10.1016/j.jup.2023.101673" target="_blank"> 10.1016/j.jup.2023.101673</a>
</p>

<p class="mb-7 text-slate-800 text-l font-light">Mongird K., K. Oikonomou, J.S. Homer, and J.S. Rice. 2022. "interflow: A Python package to organize, calculate, and evaluate cross-sectoral resource interdependency data." Journal of Open Source Software 7, no. 74:4336. PNNL-SA-171534. doi:<a class='text-[#2B7F9E]' href="https://doi.org/10.21105/joss.04336" target="_blank"> 10.21105/joss.04336</a>
</p>

<p class="mb-7 text-slate-800 text-l font-light"> Zhao et al. (In-prep). Dominant Water Sector Response Adapts to Climate and Socioeconomic Change in the United States.
</p>

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Technical Reports</h2>

<p class="mb-7 text-slate-800 text-l font-light"> Mongird K., J.S. Homer, J.S. Rice, and K. Oikonomou. 2024. <a class='text-[#2B7F9E]' href="https://www.pnnl.gov/main/publications/external/technical_reports/PNNL-36021.pdf" target="_blank">Water & Energy Interdependencies Across Economic Sectors of the United States.</a> PNNL-36021. Richland, WA: Pacific Northwest National Laboratory. </p>

<h2 class="mb-5 mt-5 text-slate-800 text-xl font-semibold"> Presentations</h2>

<p class="mb-7 text-slate-800 text-l font-light">Homer J.S., H. Niazi, K. Mongird, and J.S. Rice. 10/22/2024. "Looking back and Looking forward: Water & Energy Interdependencies Across Sectors." Presented by J.S. Homer, H. Niazi at EPRI Water-Energy Transformation Forum, Atlanta, Georgia. PNNL-SA-204849.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., J.S. Homer, J.S. Rice, and K. Oikonomou. 09/24/2024. "Synergies and Challenges: Mapping Energy-Water Dependencies at Multiple Scales." Presented by K. Mongird at Water Smart Innovations Conference 2024, Las Vegas, Nevada. PNNL-SA-203538.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., and J.S. Homer. 08/14/2024. "Water & Energy Interdependencies: Data and Visuals." Presented by J.S. Homer, K. Mongird at IEEE Energy and Water Nexus Industry Connection Workshop, Online, Washington. PNNL-SA-202380.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., and J.S. Homer. 06/24/2024. "Integrated Water Power Resilience Project Briefing." Presented by J.S. Homer, K. Mongird at National Lab Monthly Energy-Water Exchange, Online, Washington. PNNL-SA-199971.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., and J.S. Homer. 02/07/2024. "Integrated Water Power Resilience." Presented by J.S. Homer, K. Mongird at Interagency Water Working Group (IWWG) monthly meeting, Online, Washington. PNNL-SA-194517.</p>
<p class="mb-7 text-slate-800 text-l font-light">Mongird K., J.S. Homer, J.S. Rice, and K. Oikonomou. 11/09/2023. "Energy-water Interdependencies Across Sectors and Scales: Sankey Diagram Visualizations." Presented by K. Mongird, J.S. Homer at NEWS RD&D Interagency Meeting, Online, District Of Columbia. PNNL-SA-192272.</p>


</div>
</div>
</div>
</div>
1 change: 1 addition & 0 deletions sankey_dashboard/static/experiment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sankey_dashboard/static/gcam.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sankey_dashboard/static/im3scenarios.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sankey_dashboard/static/resolutions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 65c649c

Please sign in to comment.