Welcome to ReEDS’s documentation!
ReEDS
Regional Energy Deployment System (ReEDS) Model
This GitHub repository contains the source code for NLR’s ReEDS model. The ReEDS model source code is available at no cost from the National Laboratory of the Rockies. The ReEDS model can be downloaded or cloned from https://github.com/ReEDS-Model/ReEDS.
For more information about the model, see the ReEDS Documentation.
ReEDS training videos are available on the NLR Learning YouTube channel.
Introduction
ReEDS is a capacity planning and dispatch model for the U.S. electricity system.
As NLR’s flagship long-term power sector model, ReEDS has served as the primary analytic tool for many studies of electricity sector research questions. Example model results are available in the Scenario Viewer.
Quick-start guide
The ReEDS model is written in Python, GAMS, and Julia. Python and Julia are free, open-source languages; GAMS requires a software license from the vendor. A step-by-step guide for getting started with ReEDS is available here, and a quick-start guide for advanced users is outlined below.
Install Python using the Anaconda Distribution: https://www.anaconda.com/download/success
Set up GAMS:
Install GAMS: https://www.gams.com/download/
Obtain a combined GAMS/CPLEX license: https://www.gams.com/sales/licensing/
Install Julia version 1.12.1 as described in the documentation:
Follow the platform-dependent installation instructions at https://julialang.org/downloads/ to install both
juliaandjuliaupSpecify version 1.12.1 by running:
juliaup add 1.12.1juliaup default 1.12.1
Open a command-line interface and set up your environments:
Clone the ReEDS repository:
git clone git@github.com:ReEDS-Model/ReEDS.gitorgit clone https://github.com/ReEDS-Model/ReEDS.gitNavigate to the cloned repository
Create the
reeds2conda environment:conda env create -f environment.ymlActivate the
reeds2environment:conda activate reeds2Instantiate the Julia environment:
julia --project=. instantiate.jl(Optional) Several large data files are hosted remotely. These files are downloaded automatically as needed during a ReEDS run, but to finish all the internet-requiring steps up front, you can download them all by running
python reeds/remote.py. Additional details on remote files and other topics can be found in the user guide.
Run ReEDS on a test case from the root of the cloned repository:
For interactive setup:
python runbatch.pyFor one-line operation:
python runbatch.py -b v20250314_main -c test. In this example, “v20250314_main” is the prefix for this batch of cases, and “test” is the suffix of the cases file, in this casecases_test.csv, located in the root of the repository. Runpython runbatch.py -hfor information on other optional command-line arguments for ReEDS.
Contact Us
If you have comments and/or questions, you can contact the ReEDS team at ReEDS.Inquiries@nlr.gov or post a question on the discussion pages.