Skip to main content

Windfarm operations and maintenance cost-benefit analysis tool

Project description

This library provides a tool to simulate the operation and maintenance phase (O&M) of distributed, land-based, and offshore windfarms using a discrete event simultaion framework.

WOMBAT is written around the SimPy framework for discrete event simulation framework. Additionally, this is supported using a flexible and modular object-oriented code base, which enables the modeling of arbitrarily large (or small) windfarms with as many or as few failure and maintenance tasks that can be encoded.

Please note that this is still heavily under development, so you may find some functionality to be incomplete at the current moment, but rest assured the functionality is expanding. With that said, it would be greatly appreciated for issues or PRs to be submitted for any improvements at all, from fixing typos (guaranteed to be a few) to features to testing (coming FY22!).

WOMBAT in Action

There a few Jupyter notebooks to get users up and running with WOMBAT in the examples/ folder, but here are a few highlights:

Setup

Requirements

  • Python 3.7+, see the next section for more.

Environment Setup

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

Using conda, create a new virtual environment:

conda create -n <environment_name> python=3.8 --no-default-packages
conda activate <environment_name>
conda install -c anaconda pip

# to deactivate
conda deactivate

Installation

Pip

pip install wombat

NOTE: For now, you will have to download the data separetely if you’re going to be using the “dinwoodie” or “iea_26” data libraries. This will amended before the end of the year.

From Source

Install it directly into an activated virtual environment:

git clone https://github.com/WISDEM/WOMBAT.git
cd wombat
python setup.py install

or if you will be contributing:

git clone https://github.com/WISDEM/WOMBAT.git
cd wombat
pip install -e '.[dev]'

Required for automatic code formatting!

pre-commit install

or for documentation:

git clone https://github.com/WISDEM/WOMBAT.git
cd wombat
pip install -e '.[docs]'

Build the site

NOTE: You may want to change the “execute_notebook” parameter in the conf.py file to “off” unless you’re updating the coded examples or they will be run every time you build the site.

cd docs/
make html

View the results: docs/_build/html/index.html

or both at once:

git clone https://github.com/WISDEM/WOMBAT.git
cd wombat
pip install -e '.[all]'

Usage

After installation, the package can imported:

python
import wombat
wombat.__version__

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

wombat-0.3.2.tar.gz (48.9 kB view details)

Uploaded Source

Built Distribution

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

wombat-0.3.2-py3-none-any.whl (54.2 kB view details)

Uploaded Python 3

File details

Details for the file wombat-0.3.2.tar.gz.

File metadata

  • Download URL: wombat-0.3.2.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for wombat-0.3.2.tar.gz
Algorithm Hash digest
SHA256 4500fe8d29734730a656404f016de80c11d182c5cd4e5c32e0cd695555a10ca2
MD5 eeb49b484d74dcb2851463a1b94c8de3
BLAKE2b-256 194b9007488e25a47065c71a6a458f06dacd5282d607fa52baad638af779c315

See more details on using hashes here.

File details

Details for the file wombat-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: wombat-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 54.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for wombat-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9734ff59565a1843855a9b3cce80f2da5c0275736e8543a99ea9c115df236ea3
MD5 78a00c450a443c4a71561f889a9744fc
BLAKE2b-256 8142a4fd753d3f75bc637aefa7bcd57338972eed9c30d8181a38f20790abb8a7

See more details on using hashes here.

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