Skip to main content

Offshore Renewables Balance of system and Installation Tool

Project description

Offshore Renewables Balance of system and Installation Tool

PyPI version PyPI downloads Apache 2.0 image

Binder Pre-commit Black isort Ruff

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.10 --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 and lint code.

    pre-commit install

Dependencies

  • Python 3.9+

  • marmot-agents

  • SimPy

  • NumPy

  • Pandas

  • SciPy

  • Matplotlib

  • OpenMDAO (>=3.2)

  • python-benedict

  • statsmodels

  • PyYAML

Development Specific

  • pre-commit

  • black

  • isort

  • ruff

  • pytest

  • pytest-cov

  • 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.1.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

orbit_nrel-1.1-py3-none-any.whl (177.8 kB view details)

Uploaded Python 3

File details

Details for the file orbit_nrel-1.1.tar.gz.

File metadata

  • Download URL: orbit_nrel-1.1.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for orbit_nrel-1.1.tar.gz
Algorithm Hash digest
SHA256 f53f319f8d98b52adee0975bfea12eea93dec3fcb58adabe78d1bd40bb352aed
MD5 6784f7fc9cdfc6fe8064392999be9028
BLAKE2b-256 1d2d8335f1aa783a6da456bc2b1ef87ccc0fcafa3a388b8078c98f4ab99859ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orbit_nrel-1.1-py3-none-any.whl
  • Upload date:
  • Size: 177.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for orbit_nrel-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b23b0ec126c68508f291f2bffee61044335085e4435494c11170243a203a790
MD5 ef4f3ff9545d4d957162d9280fc3fdda
BLAKE2b-256 6326700faea5dbf30fd644a53430db08d6ddc78ae76027307281f86ff5814835

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