A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

reV

Enables the efficient and scalable computation of renewable energy generation, levelized cost of energy, application of geospatial exclusion layers, and generation of renewable energy supply curves.
https://github.com/NREL/reV

Category: Energy Systems
Sub Category: Renewable Energy Integration

Keywords from Contributors

solar-energy nrel renewable-energy climate-data climate-change generative-adversarial-network wind-energy solar-power technical-potential wind-power

Last synced: about 12 hours ago
JSON representation

Repository metadata

Renewable Energy Potential (reV) Model

README.rst

          .. raw:: html

    

               

--------- .. image:: https://github.com/NREL/reV/workflows/Documentation/badge.svg :target: https://nrel.github.io/reV/ .. image:: https://github.com/NREL/reV/workflows/Pytests/badge.svg :target: https://github.com/NREL/reV/actions?query=workflow%3A%22Pytests%22 .. image:: https://github.com/NREL/reV/workflows/Lint%20Code%20Base/badge.svg :target: https://github.com/NREL/reV/actions?query=workflow%3A%22Lint+Code+Base%22 .. image:: https://img.shields.io/pypi/pyversions/NREL-reV.svg :target: https://pypi.org/project/NREL-reV/ .. image:: https://badge.fury.io/py/NREL-reV.svg :target: https://badge.fury.io/py/NREL-reV .. image:: https://codecov.io/gh/nrel/reV/branch/main/graph/badge.svg?token=U4ZU9F0K0Z :target: https://codecov.io/gh/nrel/reV .. image:: https://zenodo.org/badge/201343076.svg :target: https://zenodo.org/badge/latestdoi/201343076 .. image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/nrel/reV/HEAD | .. inclusion-intro **reV** (the Renewable Energy Potential model) is an open-source geospatial techno-economic tool that estimates renewable energy technical potential (capacity and generation), system cost, and supply curves for solar photovoltaics (PV), concentrating solar power (CSP), geothermal, and wind energy. 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 `NREL 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 wind/solar/geothermal 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. A visual summary of this process is given below: .. inclusion-flowchart .. raw:: html

| .. inclusion-get-started 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 `_. .. inclusion-install 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): --------------------------------------------------------------- 1. Create a new environment: ``conda create --name rev python=3.9`` 2. Activate directory: ``conda activate rev`` 3. Install reV: 1) ``pip install NREL-reV`` or - NOTE: If you install using conda and want to use `HSDS `_ you will also need to install h5pyd manually: ``pip install h5pyd`` Option 2: Clone repo (recommended for developers) ------------------------------------------------- 1. from home dir, ``git clone [email protected]:NREL/reV.git`` 2. Create ``reV`` environment and install package 1) Create a conda env: ``conda create -n rev`` 2) Run the command: ``conda activate rev`` 3) cd into the repo cloned in 1. 4) prior to running ``pip`` below, make sure the branch is correct (install from main!) 5) Install ``reV`` and its dependencies by running: ``pip install .`` (or ``pip install -e .`` if running a dev branch or working on the source code) 3. Check that ``reV`` was installed successfully 1) From any directory, run the following commands. This should return the help pages for the CLI's. - ``reV`` reV command line tools ====================== - `reV `_ - `reV template-configs `_ - `reV batch `_ - `reV pipeline `_ - `reV project-points `_ - `reV bespoke `_ - `reV generation `_ - `reV econ `_ - `reV collect `_ - `reV multiyear `_ - `reV supply-curve-aggregation `_ - `reV supply-curve `_ - `reV rep-profiles `_ - `reV hybrids `_ - `reV nrwal `_ - `reV qa-qc `_ - `reV script `_ - `reV status `_ - `reV reset-status `_ Launching a run --------------- Tips - Only use a screen session if running the pipeline module: `screen -S rev` - `Full pipeline execution `_ .. code-block:: bash reV pipeline -c "/scratch/user/rev/config_pipeline.json" - Running simply generation or econ can just be done from the console: .. code-block:: bash 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 `Eagle node requests `_ .. inclusion-citation 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. Grant Buster, Michael Rossol, Paul Pinchuk, Brandon N Benton, Robert Spencer, Mike Bannister, & Travis Williams. (2023). NREL/reV: reV 0.8.0 (v0.8.0). Zenodo. https://doi.org/10.5281/zenodo.8247528

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 3,376
Total Committers: 17
Avg Commits per committer: 198.588
Development Distribution Score (DDS): 0.677

Commits in past year: 405
Committers in past year: 5
Avg Commits per committer in past year: 81.0
Development Distribution Score (DDS) in past year: 0.136

Name Email Commits
grantbuster g****r@n****v 1091
ppinchuk p****k@n****v 1088
Michael Rossol m****l@g****m 855
Michael Rossol m****l@n****v 172
bnb32 b****n@n****v 42
PJ Stanley a****y@n****v 38
Rob Spencer r****r@n****v 24
Michael Gleason m****o@g****m 21
mbannist m****r@n****v 13
williamstravis t****s@n****v 11
AWS ParallelCluster user e****r@i****l 6
WilliamsTravis t****2@n****v 6
Buster g****r@n****v 4
AWS ParallelCluster user e****r@i****l 2
AWS ParallelCluster user e****r@i****l 1
AWS ParallelCluster user e****r@i****l 1
Rossol, Michael M****l@n****v 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 256
Total pull requests: 299
Average time to close issues: 3 months
Average time to close pull requests: 5 days
Total issue authors: 26
Total pull request authors: 9
Average comments per issue: 2.44
Average comments per pull request: 1.23
Merged pull request: 286
Bot issues: 0
Bot pull requests: 0

Past year issues: 70
Past year pull requests: 37
Past year average time to close issues: 2 months
Past year average time to close pull requests: 21 days
Past year issue authors: 6
Past year pull request authors: 4
Past year average comments per issue: 0.47
Past year average comments per pull request: 1.11
Past year merged pull request: 32
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/NREL/reV

Top Issue Authors

  • ppinchuk (54)
  • MRossol (53)
  • grantbuster (43)
  • WilliamsTravis (39)
  • nickwg03 (32)
  • Zoe-Fehlau-ES (5)
  • alopez04 (5)
  • ODOU (2)
  • mmowers (2)
  • charliephillips4201 (2)
  • gabezuckerman (2)
  • EvanRosenliebNREL (2)
  • bnb32 (2)
  • jahanbani (1)
  • admills-lbl (1)

Top Pull Request Authors

  • grantbuster (115)
  • MRossol (90)
  • ppinchuk (76)
  • bnb32 (8)
  • WilliamsTravis (4)
  • mikebannis (2)
  • mjgleason (2)
  • pjstanle (1)
  • Kilo-411 (1)

Top Issue Labels

  • feature (101)
  • bug (79)
  • enhancement (22)
  • p-medium (19)
  • p-low (16)
  • documentation (15)
  • p-high (11)
  • topic-generation (10)
  • dependencies (9)
  • refactor (9)
  • topic-aggregation (9)
  • chore (8)
  • topic-bespoke (6)
  • new computation (6)
  • good first issue (5)
  • topic-rep-profiles (2)
  • topic-hybrids (2)
  • deprecation (2)
  • question (1)
  • breaking (1)
  • topic-losses (1)
  • Urgent (1)
  • topic-NRWAL (1)
  • topic-transmission (1)

Top Pull Request Labels

  • feature (50)
  • bug (44)
  • refactor (27)
  • enhancement (10)
  • dependencies (7)
  • Urgent (5)
  • p-high (5)
  • documentation (4)
  • topic-bespoke (4)
  • p-low (3)
  • breaking (2)
  • chore (2)
  • deprecation (2)
  • bugfix (2)
  • p-medium (2)
  • topic-generation (1)
  • topic-losses (1)
  • new computation (1)
  • topic-aggregation (1)
  • p-critical (1)

Package metadata

pypi.org: nrel-rev

National Renewable Energy Laboratory's (NREL's) Renewable Energy Potential(V) Model: reV

  • Homepage:
  • Documentation: https://nrel-rev.readthedocs.io/
  • Licenses: bsd-3-clause
  • Latest release: 0.13.1 (published 7 days ago)
  • Last Synced: 2025-04-26T14:39:33.289Z (1 day ago)
  • Versions: 112
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 4,162 Last month
  • Rankings:
    • Dependent packages count: 3.244%
    • Downloads: 7.611%
    • Forks count: 8.272%
    • Stargazers count: 9.006%
    • Average: 10.044%
    • Dependent repos count: 22.088%
  • Maintainers (4)

Dependencies

docs/requirements.txt pypi
  • ghp-import *
  • sphinx *
  • sphinx-click *
  • sphinx_rtd_theme *
.github/workflows/codecov.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1 composite
.github/workflows/gh_pages.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • peaceiris/actions-gh-pages v3.6.1 composite
.github/workflows/linter.yml actions
  • actions/checkout v2 composite
  • docker://ghcr.io/github/super-linter slim-v4 composite
.github/workflows/pr_revx_tests.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/publish_to_pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/pull_request_tests.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1 composite
.github/workflows/release_drafter.yml actions
  • release-drafter/release-drafter v5.15.0 composite
Dockerfile docker
  • python 3.8-slim-buster build
docker-compose.yml docker

Score: 16.230999960516385