Skip to content

PREP-NexT/Mekong-Energy-Sediment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mekong-Energy-Sediment

Introduction

This repository contains data and code accompanying the manuscript:

Xu et al., Strategizing Renewable Energy Transitions to Preserve Sediment Transport Integrity (under review)

The study investigates optimal renewable energy deployment strategies in the Mekong River basin that balance carbon emission reduction targets with the preservation of critical sediment transport processes.

Requirements

Core Environment

  • Python 3.10.16 (Recommended via Miniconda)
  • Gurobi Optimizer (with academic/commercial license)

Installation Options

Option 1: Pip

pip install numpy==1.26.4 pandas==2.0.3 scipy==1.11.4 pyomo==6.9.1 xarray==2023.6.0 gurobipy==12.0.1

Option 2: Conda (Recommended)

conda create -n mekong python=3.10.16
conda activate mekong
conda install -c conda-forge numpy=1.26.4 pandas=2.0.3 scipy=1.11.4 pyomo=6.9.1 xarray=2023.6.0
conda install -c gurobi gurobi

Usage

Single Run Execution

Run a single scenario with specified parameters:

python run_mekong_gurobi.py --carbon=<c> --sediment=<s> --limit=<l>

Where:

--carbon (<c>): Carbon emission constraint level (1-4, representing different carbon policy scenarios)

--sediment (<s>): Minimum sediment transport requirement (14-54, with 0.2 increments)

--limit (<l>): Transmission line scenario (1, 2, 4, or 6 representing different infrastructure configurations)

Parallel Execution

For comprehensive parameter space exploration, use the provided parallel execution script:

./parallel.sh

The script implements a parallelized sweep through:

  • 4 transmission scenarios (limit)

  • 4 carbon policy levels (carbon)

  • 201 sediment transport constraints (sediment from 14 to 54 in 0.2 increments)

The parallel.sh script uses GNU parallel to run N=10 concurrent processes for efficient computation.

Contact

For questions regarding the code or methodology, please contact Zhanwei Liu.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •