A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

NRWAL

A library of offshore wind cost equations.
https://github.com/NREL/NRWAL

Category: Renewable Energy
Sub Category: Wind Energy

Keywords from Contributors

solar-energy climate-data renewable-energy

Last synced: about 18 hours ago
JSON representation

Repository metadata

The National Renewable Energy Laboratory Wind Analysis Libray (NRWAL)

README.rst

          *****************
Welcome to NRWAL!
*****************

.. image:: https://github.com/NREL/NRWAL/workflows/Documentation/badge.svg
    :target: https://nrel.github.io/NRWAL/

.. image:: https://github.com/NREL/NRWAL/workflows/Pytests/badge.svg
    :target: https://github.com/NREL/NRWAL/actions?query=workflow%3A%22Pytests%22

.. image:: https://github.com/NREL/NRWAL/workflows/Lint%20Code%20Base/badge.svg
    :target: https://github.com/NREL/NRWAL/actions?query=workflow%3A%22Lint+Code+Base%22

.. image:: https://img.shields.io/pypi/pyversions/NREL-NRWAL.svg
    :target: https://pypi.org/project/NREL-NRWAL/

.. image:: https://badge.fury.io/py/NREL-NRWAL.svg
    :target: https://badge.fury.io/py/NREL-NRWAL

.. image:: https://anaconda.org/nrel/nrel-NRWAL/badges/version.svg
    :target: https://anaconda.org/nrel/nrel-NRWAL

.. image:: https://anaconda.org/nrel/nrel-NRWAL/badges/license.svg
    :target: https://anaconda.org/nrel/nrel-NRWAL

.. image:: https://codecov.io/gh/nrel/NRWAL/branch/main/graph/badge.svg?token=NB29X039VU
   :target: https://codecov.io/gh/nrel/NRWAL

.. image:: https://zenodo.org/badge/319377095.svg
   :target: https://zenodo.org/badge/latestdoi/319377095

.. image:: https://mybinder.org/badge_logo.svg
    :target: https://mybinder.org/v2/gh/NREL/NRWAL/HEAD


.. inclusion-intro

The National Renewable Energy Laboratory Wind Analysis Library (NRWAL):

#. A library of offshore wind cost equations (plus new energy technologies like marine hydro!)
#. Easy equation manipulation without editing source code
#. Full continental-scale integration with the NREL Renewable Energy Potential Model (reV)
#. Ready-to-use configs for basic users
#. Dynamic python tools for intuitive equation handling
#. One seriously badass sea unicorn

To get started with NRWAL, check out the `NRWAL Config documentation `_ or the `NRWAL example notebook `_. You can also launch the notebook in an interactive jupyter shell right in your browser without any downloads or software using `binder `_. 

Ready to build a model with NRWAL but don't want to contribute to the library? No problem! Check out the example getting started project `here `_.

Here is the important stuff:

 - `The NRWAL Equation Library `_.
 - `Default NRWAL Configs `_.

Installing NRWAL
================

Option 1: Install from PIP or Conda (recommended for analysts):
---------------------------------------------------------------

1. Create a new environment:
    ``conda create --name nrwal``

2. Activate directory:
    ``conda activate nrwal``

3. Install reVX:
    1) ``pip install NREL-NRWAL`` or
    2) ``conda install nrel-nrwal --channel=nrel``

Option 2: Clone repo (recommended for developers)
-------------------------------------------------

1. from home dir, ``git clone https://github.com/NREL/NRWAL.git``
    1) enter github username
    2) enter github password

2. Create ``NRWAL`` environment and install package
    1) Create a conda env: ``conda create -n nrwal``
    2) Run the command: ``conda activate nrwal``
    3) cd into the repo cloned in 1.
    4) prior to running ``pip`` below, make sure the branch is correct (install
       from master!)
    5) Install ``NRWAL`` and its dependencies by running:
       ``pip install .`` (or ``pip install -e .`` if running a dev branch
       or working on the source code)

NRWAL Variables for Offshore Wind (OSW)
=======================================

.. list-table:: NRWAL Inputs
    :widths: auto
    :header-rows: 1

    * - Variable Name
      - Long Name
      - Source
      - Units
    * - `aeff`
      - Array Efficiency
      - `array_efficiency` input layer, computed from ORBIT
      - `%`
    * - `capex_multi`
      - CAPEX Multiplier
      - Supplied by user
      - unit-less
    * - `depth`
      - Water depth (positive values)
      - `bathymetry` input layer
      - m
    * - `dist_a_to_s`
      - Distance from assembly area to site
      - Computed from `assembly_area` input layer
      - km
    * - `dist_op_to_s`
      - Distance from operating port to site
      - `ports_operations` input layer
      - km
    * - `dist_p_to_a`
      - Distance from port (construction no-limit) to assembly area
      - `assembly_area` input layer
      - km
    * - `dist_p_to_s`
      - Distance from construction port to site
      - `ports_construction` input layer
      - km
    * - `dist_p_to_s_nolimit`
      - Distance from no-limit construction port to site
      - `ports_construction_nolimit` input layer
      - km
    * - `dist_s_to_l`
      - Distance site to nearest land
      - `dist_to_coast` input layer
      - km
    * - `fixed_downtime`
      - Average weather downtime for fixed structure turbines
      - `weather_downtime_fixed_bottom` input layer
      - fraction
    * - `floating_downtime`
      - Average weather downtime for floating structure turbines
      - `weather_downtime_floating` input layer
      - fraction
    * - `gcf`
      - Gross capacity factor
      - Computed by reV / SAM with losses == 0
      - unit-less
    * - `hs_average`
      - Significant wave height to determine weather downtime
      - `weather_downtime_mean_wave_height_buoy` input layer
      - m
    * - `num_turbines`
      - Number of turbines in array
      - Supplied by user
      - unit-less
    * - `transmission_multi`
      - Tranmission cost multiplier
      - Supplied by user
      - unit-less
    * - `turbine_capacity`
      - Capacity of each turbine in the array
      - Supplied by user
      - MW

Recommended Citation
====================

If using the NRWAL software (replace with current version and DOI):

 - Grant Buster, Jake Nunemaker, and Michael Rossol. The National Renewable Energy Laboratory Wind Analysis Library (NRWAL). https://github.com/NREL/NRWAL (version v0.0.2), 2021. https://doi.org/10.5281/zenodo.4705961.

If using the Offshore Wind (OSW) cost equations:

 - Beiter, Philipp, Walter Musial, Aaron Smith, Levi Kilcher, Rick Damiani, Michael Maness, Senu Sirnivas, Tyler Stehly, Vahan Gevorgian, Meghan Mooney, and George Scott. “A Spatial-Economic Cost-Reduction Pathway Analysis for U.S. Offshore Wind Energy Development from 2015–2030.” National Renewable Energy Lab. (NREL), Golden, CO (United States), September 1, 2016. https://doi.org/10.2172/1324526. https://www.nrel.gov/docs/fy16osti/66579.pdf.

If using the marine energy reference model (RM) cost models:

 - https://energy.sandia.gov/programs/renewable-energy/water-power/projects/reference-model-project-rmp/
 - Jenne, D. S., Y. H. Yu, and V. Neary. “Levelized Cost of Energy Analysis of Marine and Hydrokinetic Reference Models: Preprint.” National Renewable Energy Lab. (NREL), Golden, CO (United States), April 24, 2015. https://www.osti.gov/biblio/1215196-levelized-cost-energy-analysis-marine-hydrokinetic-reference-models-preprint.

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 252
Total Committers: 13
Avg Commits per committer: 19.385
Development Distribution Score (DDS): 0.532

Commits in past year: 14
Committers in past year: 5
Avg Commits per committer in past year: 2.8
Development Distribution Score (DDS) in past year: 0.643

Name Email Commits
grantbuster g****r@n****v 118
Jake Nunemaker j****r@g****m 30
ppinchuk p****k@n****v 22
Michael Rossol m****l@g****m 17
Patrick Duffy P****y@n****v 15
Gabriel Zuckerman g****m@e****v 11
Travis Williams t****s@n****v 9
Gabriel Zuckerman g****m@e****v 7
Rebecca Rolph r****h@e****v 7
Pavlo Pinchuk p****k@e****v 6
Pavlo Pinchuk p****k@e****v 5
Gabriel Zuckerman g****m@e****v 4
Gabe Zuckerman g****n@b****u 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 3
Total pull requests: 45
Average time to close issues: 7 days
Average time to close pull requests: 2 days
Total issue authors: 1
Total pull request authors: 7
Average comments per issue: 1.67
Average comments per pull request: 0.87
Merged pull request: 40
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: 16 minutes
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 1.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/NREL/NRWAL

Top Issue Authors

  • JakeNunemaker (3)

Top Pull Request Authors

  • grantbuster (16)
  • JakeNunemaker (8)
  • gabezuckerman (7)
  • pduff-code (6)
  • ppinchuk (5)
  • WilliamsTravis (2)
  • rrolph575 (1)

Top Issue Labels

  • bug (3)

Top Pull Request Labels


Package metadata

pypi.org: nrel-nrwal

National Renewable Energy Laboratory's (NREL's) Wind AnalysisLibrary: NRWAL

  • Homepage: https://nrel.github.io/NRWAL/
  • Documentation: https://nrel-nrwal.readthedocs.io/
  • Licenses: BSD 3-Clause
  • Latest release: 0.0.11 (published over 2 years ago)
  • Last Synced: 2025-04-26T14:35:10.137Z (2 days ago)
  • Versions: 11
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 1,506 Last month
  • Rankings:
    • Dependent packages count: 3.244%
    • Downloads: 10.395%
    • Average: 13.203%
    • Stargazers count: 14.875%
    • Forks count: 15.416%
    • Dependent repos count: 22.088%
  • Maintainers (3)

Dependencies

docs/requirements.txt pypi
  • ghp-import *
  • sphinx *
  • sphinx_rtd_theme *
requirements.txt pypi
  • PyYAML *
  • click >=7.0
  • numpy >=1.16
  • pandas >=1.0
.github/workflows/codecov.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1 composite
.github/workflows/conda_build.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/gh_pages.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • peaceiris/actions-gh-pages v3.6.1 composite
.github/workflows/linter.yml actions
  • actions/checkout v2 composite
  • docker://ghcr.io/github/super-linter slim-v4 composite
.github/workflows/publish_to_pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/pull_request_tests.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1 composite
.github/workflows/release_drafter.yml actions
  • release-drafter/release-drafter v5.15.0 composite
setup.py pypi

Score: 12.829915298900717