Code Monkey home page Code Monkey logo

rev's Introduction

reV

The Renewable Energy Potential (reV) Model

reV command line tools

Using Eagle Env / Module

If you would like to run reV on Eagle (NREL's HPC) you can use a pre-compiled conda env:

conda activate /shared-projects/rev/modulefiles/conda_env

or

source activate /shared-projects/rev/modulefiles/conda_env

or module:

module use /shared-projects/rev/modulefiles
module load reV

NOTE: Loading the reV module can take several minutes

Launching a run

Tips

reV -c "/scratch/user/rev/config_pipeline.json" pipeline
  • Running simply generation or econ can just be done from the console:
reV -c "/scratch/user/rev/config_pipeline.json" generation

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

Installing reV

Option 1: Install from PIP or Conda (recommended for analysts):

  1. Create a new environment:
    conda create --name rev python=3.7
  2. Activate directory:
    conda activate rev
  3. Install reV:
    1. pip install NREL-reV or
    2. conda install nrel-rev --channel=nrel
      • 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 https://github.com/NREL/reV.git
    1. enter github username
    2. enter github password
  2. Install reV environment and modules (using conda)
    1. cd into reV repo cloned above
    2. cd into bin/$OS/
    3. run the command: conda env create -f rev.yml. If conda can't find any packages, try removing them from the yml file.
    4. run the command: conda activate rev
    5. prior to running pip below, make sure branch is correct (install from master!)
    6. cd back to the reV repo (where setup.py is located)
    7. install pre-commit: pre-commit install
    8. run 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's People

Contributors

grantbuster avatar mrossol avatar rspencer019 avatar mikebannis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.