Skip to main content

Offshore Renewables Balance of system and Installation Tool

Project description

Offshore Renewables Balance of system and Installation Tool

Version:

1.0.7

Authors:

Jake Nunemaker, Matt Shields, Rob Hammond

Documentation:

ORBIT Docs

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

  1. Download the latest version of Miniconda for the appropriate OS. Follow the remaining steps for the appropriate OS version.

  2. From the terminal, install pip by running: conda install -c anaconda pip

  3. 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>
  4. Clone the repository: git clone https://github.com/WISDEM/ORBIT.git

  5. 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]'
  6. (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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orbit-nrel-1.0.7.tar.gz (107.4 kB view details)

Uploaded Source

Built Distribution

orbit_nrel-1.0.7-py3-none-any.whl (144.4 kB view details)

Uploaded Python 3

File details

Details for the file orbit-nrel-1.0.7.tar.gz.

File metadata

  • Download URL: orbit-nrel-1.0.7.tar.gz
  • Upload date:
  • Size: 107.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for orbit-nrel-1.0.7.tar.gz
Algorithm Hash digest
SHA256 3ebd89913bd529f7ecd5fcd6d14da32f717e5c66f85975b5b7a31d58e9251b84
MD5 f9bb45f92c84364714b3833933a03a26
BLAKE2b-256 2941a365894e180859f9dd390f070aaa2653578c10bc0041534cca28494f4272

See more details on using hashes here.

File details

Details for the file orbit_nrel-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: orbit_nrel-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 144.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for orbit_nrel-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d881034e19ec170116ce7a91cb6cb9c2c757dc7389d943430da71c6d815e630c
MD5 7ab55951704d27c420e1b7e4453dd2b0
BLAKE2b-256 c0511b18cd84ab94f388000330bef750370674bda5adba178a081211d8bc861f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page