A tool to assess yield uplift of wind turbines
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file res_wind_up-0.1.6.tar.gz
.
File metadata
- Download URL: res_wind_up-0.1.6.tar.gz
- Upload date:
- Size: 74.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a0fbf4da89e75a663996e2e467aff5ab3121209592a6ffb5c4b313cfbfc6df2 |
|
MD5 | e70186e2f222b07fb97f7cee68629603 |
|
BLAKE2b-256 | c45a122f9e009bbdd3160bf7a136e73a83e7036273ee6189a5e164c71d83bdc7 |
File details
Details for the file res_wind_up-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: res_wind_up-0.1.6-py3-none-any.whl
- Upload date:
- Size: 80.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e260a81793bed34f13b9b42aababf8e35208f0a022dd9dfe790d8b69ad29e54e |
|
MD5 | a16d3c79f1eda283c0ce01bc1abaae1d |
|
BLAKE2b-256 | 45b8d421fd9d3530034fdf807658ead4f290965b3dd9cf2923f2b502ae2cc783 |