Offshore Renewables Balance of system and Installation Tool
Project description
Offshore Renewables Balance of system and Installation Tool
- Version:
1.0.1
- Authors:
- Documentation:
Installation
As of version 0.5.2, ORBIT is now pip installable with pip install orbit-nrel.
Development Setup
The steps below are for more advanced users that would like to modify and and contribute to ORBIT.
Environment
- A couple of notes before you get started:
It is assumed that you will be using the terminal on MacOS/Linux or the Anaconda Prompt on Windows. The instructions refer to both as the “terminal”, and unless otherwise noted the commands will be the same.
To verify git is installed, run git --version in the terminal. If an error occurs, install git using these directions.
The listed installation process is intended to be the easiest for any OS to get started. An alternative setup that doesn’t rely on Anaconda for setting up an environment can be followed here.
Instructions
Download the latest version of Miniconda for the appropriate OS. Follow the remaining steps for the appropriate OS version.
From the terminal, install pip by running: conda install -c anaconda pip
Next, create a new environment for the project with the following.
conda create -n <environment_name> python=3.7 --no-default-packages
To activate/deactivate the environment, use the following commands.
conda activate <environment_name> conda deactivate <environment_name>
Clone the repository: git clone https://github.com/WISDEM/ORBIT.git
Navigate to the top level of the repository (<path-to-ORBIT>/ORBIT/) and install ORBIT as an editable package with following command.
# Note the "." at the end pip install -e . # OR if you are you going to be contributing to the code or building documentation pip install -e '.[dev]'
(Development only) Install the pre-commit hooks to autoformat code and check that tests pass.
pre-commit install
Dependencies
Python 3.7+
marmot-agents
NumPy
SciPy
Matplotlib
OpenMDAO (>=3.2)
Development Specific
black
isort
pre-commit
pytest
sphinx
sphinx-rtd-theme
Recommended packages for easy iteration and running of code:
jupyterlab
pandas
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
File details
Details for the file orbit-nrel-1.0.2.tar.gz
.
File metadata
- Download URL: orbit-nrel-1.0.2.tar.gz
- Upload date:
- Size: 99.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d1e608cab4a09f64054df5f2fcf6de2db4eeba12e529aabe713c9209bef0c52 |
|
MD5 | 7e09b3b5e98dc10911e28dec8e7b6e9a |
|
BLAKE2b-256 | 52ff7a6cc0a483771567d50e11f787fe6d14df3ef21acf70fdf42a3d40ac62e2 |
File details
Details for the file orbit_nrel-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: orbit_nrel-1.0.2-py3-none-any.whl
- Upload date:
- Size: 130.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f9fd8b751224184f906d789d23d553aad7c0de31cf51a964367572b281c570 |
|
MD5 | 4ffc89d0315da0311879e1a9bfe43fb8 |
|
BLAKE2b-256 | af67a78ccd6a980bdcdc68af0caffa0dcfd8a6acc25cebcce883e1d08bf31bf8 |