wind-up
A tool to assess yield uplift of wind turbines
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
Metadata
Release files for res-wind-up 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| res_wind_up-0.1.7.tar.gz | 74.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| res_wind_up-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 153.8 kB
Release files / res_wind_up-0.1.7.tar.gz
| Download URL | res_wind_up-0.1.7.tar.gz |
|---|---|
| Size | 74.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4255827852fcf34418f86a3ab792defc778873be6dfa357b7e5b33b6c940500f
|
|
BLAKE2b-256 checksum How to use checksums |
01a176a72e768379a5319eaa2488e65cb0ac398d44755366f491f6639de083de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / res_wind_up-0.1.7-py3-none-any.whl
| Download URL | res_wind_up-0.1.7-py3-none-any.whl |
|---|---|
| Size | 79.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a912061675b9f0189495b7c0b96e0125e9580678292224fb86bd67d9735a8a69
|
|
BLAKE2b-256 checksum How to use checksums |
76e6c51701613ff05026587a0716404192f725c3f3238a550c616dc0a3d62338
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|