National Laboratory of the Rockies' (NLR's) reV model
Project description
reV is an open-source geospatial techno-economic tool that estimates energy technical potential (capacity and generation), system cost, and supply curves for a variety of technologies, including but not limited to, geothermal (GT), pumped storage hydropower (PSH), solar photovoltaics (PV), concentrating solar power (CSP), wind energy, etc. reV allows researchers to include exhaustive spatial representation of the built and natural environment into the generation and cost estimates that it computes.
reV is highly dynamic, allowing analysts to assess potential at varying levels of detail — from a single site up to an entire continent at temporal resolutions ranging from five minutes to hourly, spanning a single year or multiple decades. The reV model can (and has been used to) provide broad coverage across large spatial extents, including North America, South and Central Asia, the Middle East, South America, and South Africa to inform national and international-scale analyses. Still, reV is equally well-suited for regional infrastructure and deployment planning and analysis.
For a detailed description of reV capabilities and functionality, see the NLR reV technical report.
How does reV work?
reV is a set of Python classes and functions that can be executed on HPC systems using CLI commands. A full reV execution consists of one or more compute modules (each consisting of their own Python class/CLI command) strung together using a pipeline framework, or configured using batch.
A typical reV workflow begins with input resource data (following the rex data format) that is passed through the generation module. This output is then collected across space and time (if executed on the HPC), before being sent off to be aggregated under user-specified land exclusion scenarios. Exclusion data is typically provided via a collection of high-resolution spatial data layers stored in an HDF5 file. This file must be readable by reV’s ExclusionLayers class. See the reVX Setbacks utility for instructions on generating setback exclusions for use in reV. Next, transmission costs are computed for each aggregated “supply-curve point” using user-provided transmission cost tables. See the reVX transmission cost calculator utility for instructions on generating transmission cost tables. Finally, the supply curves and initial generation data can be used to extract representative generation profiles for each supply curve point.
To get up and running with reV, first head over to the installation page, then check out some of the Examples or go straight to the CLI Documentation! You can also check out the guide on running GAPs models.
Installing reV
NOTE: The installation instruction below assume that you have python installed on your machine and are using conda as your package/environment manager.
Option 1: Install from PIP (recommended for analysts):
- Create a new environment:
conda create --name rev python=3.11
- Activate directory:
conda activate rev
- Install reV:
pip install NLR-reV or
NOTE: If you install using conda and want to use HSDS you will also need to install HSDS dependencies: pip install NLR-reV[hsds]
Option 2: Clone repo (recommended for developers)
from home dir, git clone git@github.com:NatLabRockies/reV.git
- Create reV environment and install package
Create a conda env: conda create -n rev
Run the command: conda activate rev
cd into the repo cloned in 1.
prior to running pip below, make sure the branch is correct (install from main!)
Install reV and its dependencies by running: pip install . (or pip install -e . if running a dev branch or working on the source code)
- Check that reV was installed successfully
From any directory, run the following commands. This should return the help pages for the CLI’s.
reV
reV Ecosystem
The reV model suite comes with a set of tools that can be used alongside the core model to assist with data preparation and analysis:
reVX - Collection of helper methods to pre- and post- process geospatial reV data (e.g. setback layers, inclusion masks, etc.)
rex - Library to assist with reV-style data I/O, especially resource data
reVRt - reV routing tool used to compute transmission costs
NRWAL - Equation Library for detailed cost analysis (offshore, hydrogen, etc.)
reVeal - reV extension for load analysis and land characterization
reVReports - Tool for generating publication-ready maps of reV supply curve outputs
reView - Dashboard for interactive visualization of reV supply curve outputs
reV tutorial - Collection of tutorials for learning how to use reV
gaps - Underlying reV pipeline job submission and management system
reV command line tools
Launching a run
Tips
Only use a screen session if running the pipeline module: screen -S rev
reV pipeline -c "/scratch/user/rev/config_pipeline.json"
Running simply generation or econ can just be done from the console:
reV generation -c "/scratch/user/rev/config_gen.json"
General Run times and Node configuration on Eagle
WTK Conus: 10-20 nodes per year walltime 1-4 hours
NSRDB Conus: 5 nodes walltime 2 hours
Recommended Citation
Please cite both the technical paper and the software with the version and DOI you used:
Maclaurin, Galen J., Nicholas W. Grue, Anthony J. Lopez, Donna M. Heimiller, Michael Rossol, Grant Buster, and Travis Williams. 2019. “The Renewable Energy Potential (reV) Model: A Geospatial Platform for Technical Potential and Supply Curve Modeling.” Golden, Colorado, United States: National Renewable Energy Laboratory. NREL/TP-6A20-73067. https://doi.org/10.2172/1563140.
Buster, G., Pinchuk, P., Rossol, M., Benton, B., Gleason, M., Stanley, A. P., Spencer, R., Bannister, M., & Williams, T. (2020). reV (Version 0.14.5) [Computer software]. https://github.com/NatLabRockies/reV
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nlr_rev-0.15.0.tar.gz.
File metadata
- Download URL: nlr_rev-0.15.0.tar.gz
- Upload date:
- Size: 913.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c78252fc27a4cd5c4b7a7aeacff600f2832316881869ef068a3a3ebd0f1d31c
|
|
| MD5 |
eb4d11527a505dedc1d42f27c46f63b4
|
|
| BLAKE2b-256 |
2a038781e5148a1201f10329617b305b4f2ea86e8b64d5f421ffade209dc4647
|
Provenance
The following attestation bundles were made for nlr_rev-0.15.0.tar.gz:
Publisher:
publish_to_pypi.yml on NatLabRockies/reV
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nlr_rev-0.15.0.tar.gz -
Subject digest:
6c78252fc27a4cd5c4b7a7aeacff600f2832316881869ef068a3a3ebd0f1d31c - Sigstore transparency entry: 1001274356
- Sigstore integration time:
-
Permalink:
NatLabRockies/reV@3ceb20b886d21b25bfa20fb8dc867f5230e7ba3b -
Branch / Tag:
refs/tags/v0.15.0 - Owner: https://github.com/NatLabRockies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@3ceb20b886d21b25bfa20fb8dc867f5230e7ba3b -
Trigger Event:
release
-
Statement type:
File details
Details for the file nlr_rev-0.15.0-py3-none-any.whl.
File metadata
- Download URL: nlr_rev-0.15.0-py3-none-any.whl
- Upload date:
- Size: 953.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a026f2465bb4d7c3dafb9609d16a29976e9773454debd854c5da06509c7440f
|
|
| MD5 |
e36b337793d67b7f069497414f76b302
|
|
| BLAKE2b-256 |
f98887619ed17697e7ec7dc0d2487c62aca1019bc7d4f82f2f9c6784dbf5779f
|
Provenance
The following attestation bundles were made for nlr_rev-0.15.0-py3-none-any.whl:
Publisher:
publish_to_pypi.yml on NatLabRockies/reV
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nlr_rev-0.15.0-py3-none-any.whl -
Subject digest:
4a026f2465bb4d7c3dafb9609d16a29976e9773454debd854c5da06509c7440f - Sigstore transparency entry: 1001274426
- Sigstore integration time:
-
Permalink:
NatLabRockies/reV@3ceb20b886d21b25bfa20fb8dc867f5230e7ba3b -
Branch / Tag:
refs/tags/v0.15.0 - Owner: https://github.com/NatLabRockies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_to_pypi.yml@3ceb20b886d21b25bfa20fb8dc867f5230e7ba3b -
Trigger Event:
release
-
Statement type: