Offshore Renewables Balance of system and Installation Tool
Project description
Offshore Renewables Balance of system and Installation Tool
- Version:
0.5.2
- Authors:
- Documentation:
This package is currently in a development state and it is only recommended for preliminary analysis.
Installation
Environment Setup
- 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.
Dependencies
Python 3.7+
simpy-agents
marmot-agents
NumPy
SciPy
Matplotlib
OpenMDAO (>=3.2)
Development
black
isort
pre-commit
pytest
pytest-xdist
pytest-cov
sphinx
sphinx-rtd-theme
Recommended packages for easy iteration and running of code:
jupyterlab
pandas
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
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-0.5.2.tar.gz
.
File metadata
- Download URL: orbit-nrel-0.5.2.tar.gz
- Upload date:
- Size: 97.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ce8b9d65a568e9f1d1a8941e491d2fd518e30db83a309e9fbad7b82151ef19 |
|
MD5 | f215d15da7d136358ec203ff5b10be81 |
|
BLAKE2b-256 | 8c3451a51373cdb0eb123f50c7cf48c1bf55a1136a68edb14bf7eb27797c7958 |
File details
Details for the file orbit_nrel-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: orbit_nrel-0.5.2-py3-none-any.whl
- Upload date:
- Size: 126.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df870a97f89b8807cf32af9711c81c2768343f4e5cd75c710e274f61e4963da |
|
MD5 | 52a8cfc0c80cd3c2d74cb77e16ef8bb4 |
|
BLAKE2b-256 | 4392d87d3f068958380bacec1d6e6433adf8b6ba3c395f86563e156ebe6c2e51 |