Skip to main content

A tool to assess yield uplift of wind turbines

Project description

wind-up

A tool to assess yield uplift of wind turbines

lint-and-test Python 3.10 Lint & Format: Ruff Typing: mypy TaskRunner: poethepoet

Getting Started

See examples folder for example analysis using the wind-up package. smarteole_example.ipynb is a good place to start.

The wind-up package can be installed in a virtual environment with the following commands:

# create and activate a virtual environment, if needed
python -m venv .venv
source .venv/Scripts/activate  # or .venv/bin/activate on linux or ".venv/Scripts/activate" in Windows command prompt
# install the wind-up package in the virtual environment
pip install res-wind-up # alternatively clone the repo, navigate to the wind-up folder and run "pip install ."

Note that the package is named wind_up (with an underscore) in Python code. For example to print the version of the installed package use the following code snippet:

import wind_up
print(wind_up.__version__)

Contributing

To start making changes fork the repository or make a new branch from main. Note main is protected; if a commit fails to push and you want to undo it try git reset origin/main --hard

After cloning the repository (and creating and activating the virtual environment), use the following commands to install the wind-up package in editable mode with the dev dependencies:

git clone https://github.com/resgroup/wind-up # or your fork of wind-up
cd wind-up
# create and activate a virtual environment
python -m venv .venv
source .venv/Scripts/activate  # or .venv/bin/activate on linux or ".venv/Scripts/activate" in Windows command prompt
# install the package in editable mode with the dev dependencies
pip install -e .[dev] # or .[jupyter,dev] if you want jupyter dependencies as well

Use poe all to run all required pre-push commands (make sure the virtual environment is activated)

Running tests

Install dev dependencies and use poe test to run unit tests (make sure the virtual environment is activated)

License

See LICENSE.txt

Contact

Alex.Clerc@res-group.com

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

res_wind_up-0.1.8.tar.gz (74.6 kB view details)

Uploaded Source

Built Distribution

res_wind_up-0.1.8-py3-none-any.whl (80.2 kB view details)

Uploaded Python 3

File details

Details for the file res_wind_up-0.1.8.tar.gz.

File metadata

  • Download URL: res_wind_up-0.1.8.tar.gz
  • Upload date:
  • Size: 74.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for res_wind_up-0.1.8.tar.gz
Algorithm Hash digest
SHA256 fec0b209d4409543c79dbeb7b6f89473de24db7e256e069fb0f5b559d55cb1aa
MD5 62cf5b3ab2f4e4a8fc2dd25e2e5b6e2e
BLAKE2b-256 5415573e46bdbe9d6c2217a7ed8b7118f74f496ba68e3a79803a2dedc8669797

See more details on using hashes here.

File details

Details for the file res_wind_up-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: res_wind_up-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for res_wind_up-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 973c817a475cdc4ab8ac917d5d5d04d60eda9bc7668c2e1efea7fa1076c2eacb
MD5 b7ab4e07421119a2423917c8b08945c5
BLAKE2b-256 46ec3e80ce017620556042905c5c9d2cec9926c552fef5f2313ac384fdb69b22

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