Runs analyses for offshore wind projects by utilizing ORBIT (CapEx), WOMBAT (OpEx), and FLORIS (AEP) to estimate the lifecycle costs using NREL's flagship technoeconomic models.
- Python 3.10
Download the latest version of Miniconda for the appropriate OS. Follow the remaining steps for the appropriate OS version.
Using conda, create a new virtual environment:
conda create -n <environment_name> python=3.10 --no-default-packages
conda activate <environment_name>
conda install -c anaconda pip
# to deactivate
conda deactivate
This guide assumes that you have an environment that is already created and in use.
In the terminal/Anaconda Prompt, you should move to the directory where you want to put the project data/code:
cd my_path/
Clone the project repository
git clone https://github.nrel.gov/OffshoreAnalysis/WHaLE.git
Enter the directory
cd WHaLE
Checkout the appropriate branch (most likely develop, unless working with a "release" version)
git checkout analysis/COWER
Install WHaLE:
pip install -e .
This is designed for working with in-progress updates to ORBIT and WOMBAT, and that the above steps have been completed. Please note that these repository version should not be updated unless the instructions are updated, nor should they be used for other work as this is to maintain a consistent workflow between users on this one project.
Uninstall ORBIT, WOMBAT and FLORIS
pip uninstall orbit-nrel wombat floris
Clone ORBIT and WOMBAT to a separate working directory outside of the WHaLE repository folder like in step 2 above
- clone ORBIT
git clone https://github.com/WISDEM/ORBIT.git
- clone WOMBAT
git clone https://github.com/WISDEM/WOMBAT.git
- clone FLORIS
git clone https://github.com/NREL/floris.git
Install the working version of ORBIT
- Enter the directory
cd ORBIT
- Checkout the dev branch
git checkout dev
- Install a local version that is able to be updated as the working branch changes or edits are made and downloaded
pip install -e .
Install the working version of WOMBAT
- Enter the directory
cd WOMBAT
- Checkout the develop branch
git checkout develop
- Install a local version that is able to be updated as the working branch changes or edits are made and downloaded
pip install -e .
Install the working version of FLORIS
- Enter the directory
cd floris
- Checkout the main version of FLORIS
git checkout main
- Install a local version that is able to be updated as the working branch changes or edits are made and downloaded
pip install -e .
There is not enough space in GH for weather profiles, make sure you copy and paste the appropiate weather profile in examples/library/weather