Skip to main content

Offshore Renewables Balance of system and Installation Tool

Project description

ORBIT

Offshore Renewables Balance of system and Installation Tool

PyPI version PyPI downloads Apache 2.0 image DOI:10.2172/1660132

Binder Pre-commit Black isort Ruff

Authors

Current Maintainers

  • Rob Hammond

Documentation

Please visit the documentation site at https://nlrwindsystems.github.io/ORBIT/

Citing ORBIT

Please cite this repository using the following citation, or with proceeding Bibtex.

Nunemaker, Jacob, Shields, Matthew, Hammond, Robert, et al., "ORBIT: Offshore Renewables Balance-of-System and Installation Tool," (2020), https://doi.org/10.2172/1660132

@techreport{orbit_tech_report,
  author={Nunemaker, Jacob and Shields, Matthew and Hammond, Robert and Duffy, Patrick},
  title={ORBIT: Offshore Renewables Balance-of-System and Installation Tool},
  institution={National Renewable Energy Laboratory (NREL), Golden, CO (United States)},
  doi={10.2172/1660132},
  url={https://www.osti.gov/biblio/1660132},
  place={United States},
  year={2020},
  month={08}
}

Installation

pip install orbit-nrel

Environment Setup

It is highly recommended to use separate Python environments for all projects, as such we recommend using Anaconda or Miniconda for a lightweight version of Anaconda. Please visit their documentation for installation details. This guide will assume the use of Miniconda throughout.

  1. Download the latest version of Miniconda.

  2. Create a new environment. Below, we're using the name orbit for the environment, but any name is allowed, just replace "orbit" with whichever name was used throughout the installation instructions. Similarly, any compatible Python version is allowed even though we specify 3.13 below.

    conda create -n orbit python=3.13
    
  3. Activate the environment.

    conda activate orbit
    

    To deactivate an environment, simply use conda deactivate.

  4. Install ORBIT. See the pip installation directions above, or either of the source or development sections below for further details.

Running Examples

For users wishing to run the examples provided as Jupyter Notebooks, please either install the Jupyter Lab (preferred) or Jupyter Notebook library.

pip install jupyterlab

Source Installation

For users looking to modify ORBIT or build their own models to incorporate, installing from the source code is required.

  1. Open a terminal/Anaconda Prompt session and navigate to your desired folder location

    cd /path/to/desired/folder
    
  2. Clone the repository (or your fork). If cloning your own fork, replace "NLRWindSystems" with your GitHub username.

    git clone https://github.com/NLRWindSystems/ORBIT.git
    
  3. Enter the repository.

    cd ORBIT
    
  4. Install ORBIT.

    pip install .
    

    For an editable installation that updates the installed version of ORBIT with any local changes, use the -e flag.

    pip install -e .
    

Development Setup

For more advanced users, such as those interested in building the documentation locally, running tests, or even contributing code back to the library, please use the following instructions.

  1. Open a terminal/Anaconda Prompt session and navigate to your desired folder location

    cd /path/to/desired/folder
    
  2. If you are going to contribute code back to the library, fork the repository as you will not be able to push your code changes to the library otherwise.

  3. Clone the repository (or your fork). If cloning your own fork, replace "NLRWindSystems" with your GitHub username.

    git clone https://github.com/NLRWindSystems/ORBIT.git
    
  4. Enter the repository.

    cd ORBIT
    
  5. Install an editable version of ORBIT.

    pip install -3 .
    

    For developers install the developer dependencies in addition:

    pip install -e .[dev,docs]
    
    • dev: automated code linting and formatting tools, plus the testing suite.
    • docs: documentation building tools
  6. If contributing code back to the library, install the pre-commit hook to enable automated formatting and linting. If this step is skipped, your PR will fail in the CI pipeline, and code will not be reviewed until at least this step passes.

    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.3.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orbit_nrel-1.3-py3-none-any.whl (180.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orbit_nrel-1.3.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orbit_nrel-1.3.tar.gz
Algorithm Hash digest
SHA256 3cf16a4f4dec822c85b04743ca1ab6eebb830e47d2205b7cdcf95cb7ccc05537
MD5 a470ca8740b9c8d23da70d5df77ad77f
BLAKE2b-256 b90fbf6fcfccaebba2a4146c2bac74a8bab9121f3277f16d8d4effb46ad2d192

See more details on using hashes here.

Provenance

The following attestation bundles were made for orbit_nrel-1.3.tar.gz:

Publisher: publish-to-pypi.yml on NLRWindSystems/ORBIT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: orbit_nrel-1.3-py3-none-any.whl
  • Upload date:
  • Size: 180.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orbit_nrel-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 011925d18deb982f8265f35c4af30047807f5a08dc0b0fcb5f594b4eab15c8a2
MD5 9fff8431838cb9924f701d38d562ecf9
BLAKE2b-256 ca28522536acc2559980c46ff50d5591e8e33dd9de707b6f2f6e8a0a82b10678

See more details on using hashes here.

Provenance

The following attestation bundles were made for orbit_nrel-1.3-py3-none-any.whl:

Publisher: publish-to-pypi.yml on NLRWindSystems/ORBIT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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