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.0

Authors:

Jake Nunemaker, Matt Shields, Rob Hammond

Documentation:

ORBIT Docs

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

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

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.0.tar.gz (97.8 kB view details)

Uploaded Source

Built Distribution

orbit_nrel-1.0.0-py3-none-any.whl (129.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orbit-nrel-1.0.0.tar.gz
  • Upload date:
  • Size: 97.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for orbit-nrel-1.0.0.tar.gz
Algorithm Hash digest
SHA256 02e89c50ab20fa91c4b4d60b45e6a2e2e8a94f4892050d5298b1110ff334055f
MD5 0bf84f77c42b4e0bc85c11dd315bc820
BLAKE2b-256 87076ae02dd362e0ff7db1290d0e04f700740e462f1b204a8e08fe21e103a13e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orbit_nrel-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 129.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for orbit_nrel-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b964129cc09f8c428d06f2b19ca87fdb814589f971889be3bef920d882e7542
MD5 fd242cf45b4c2a6af729e576acc64ee4
BLAKE2b-256 f845024cbdc457d7c0151036e20e76857442883521c5bfc51e71772897e47165

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