Code Monkey home page Code Monkey logo

wombat's Introduction

WOMBAT: Windfarm Operations & Maintenance cost-Benefit Analysis Tool

pre-commit https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336

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

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__

wombat's People

Contributors

rhammond2 avatar gbarter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.