National Renewable Energy Laboratory's (NREL's) Renewable Energy Potential(V) Model: reV
Project description
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
Only use a screen session if running the pipeline module: screen -S rev
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
Installing reV
Option 1: Install from PIP or Conda (recommended for analysts):
- Create a new environment:
conda create --name rev python=3.7
- Activate directory:
conda activate rev
- Install reV:
pip install NREL-reV or
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)
- from home dir, git clone https://github.com/NREL/reV.git
enter github username
enter github password
- Install reV environment and modules (using conda)
cd into reV repo cloned above
cd into bin/$OS/
run the command: conda env create -f rev.yml. If conda can’t find any packages, try removing them from the yml file.
run the command: conda activate rev
prior to running pip below, make sure branch is correct (install from master!)
cd back to the reV repo (where setup.py is located)
install pre-commit: pre-commit install
run 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
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
Hashes for NREL_reV-0.4.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c64aa086ff6bc60a4bc86b1e3b6ff7ceffbc85f300f29b49f8ca286e1de94d4 |
|
MD5 | 10758369d51421849f91a2b7ed9e0ea0 |
|
BLAKE2b-256 | 8ffb87dfdb0bfbdaadfc7ac4f0a58cc417caa601e281ce4137d0875c7c607d45 |