Welib
Wind energy library, python and matlab tools for wind turbines analyses
Install / Use
/learn @ebranlard/WelibREADME
Wind Energy Library - welib
Wind energy library: suite of python and matlab tools for aero-servo-hydro-elasticity (aerodynanmics, controls, hydrodynamics, structure/elasticity) and wind energy.
Installation and testing
Installing the latest release:
pip install --upgrade welib
Installing the latest dev version and running the unittests:
git clone http://github.com/ebranlard/welib -b dev
cd welib
python -m pip install -r requirements.txt
python -m pip install -e .
pytest
Gallery of example scripts
A sample of the figures generated by the examples in this repository are given below.
Additional examples can be found in the examples and tests folders of the different subpackages.
Click on the links to access the corresponding scripts. Click on the figures to enlarge the figures.
airfoils: airfoil and polar applications
Examples of applications:
- Manipulation of airfoil curves, find slopes, interpolate (see airfoils)
- Run different dynamic stall models (e.g Oye or MHH/HGM model) (see airfoils/DS)
Sample figures from examples:
| | | | | |
| :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: |
| Airfoils - 3D correction | Airfoils - Karman-Trefftz Velocity Field | Airfoils - MGH dynamic stall model | Airfoils - Oye dynamic stall model | Airfoils - Wagner function |
|
|
|
|
|
|
BEM: Blade Element Momentum Theory
Examples of Blade Element Momentum (BEM) Theory applications.
- Run steady state BEM simulations (see BEM/steady 1-2
- Run unsteady BEM simulations (see BEM/unsteady 1-2
Sample figures from examples:
| | | | | |
| :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: |
| BEM - Steady - CP-lambda-pitch | BEM - Steady - High thrust correction | BEM - Steady - Performance curve | BEM - Theory - Ideal rotor planform | BEM - Unsteady - Prescribed surge motion |
|
|
|
|
|
|
beam: beam theory and numerical analyses
Sample figures from examples:
| | | | | |
| :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: |
| Beam - 1D - Analytical and numerical deflections | Beam - 1D - Analytical and numerical modes | Beam - 2D - NREL5MW coupled blade modes | Beam - 2D - NREL5MW deflections | Beam - Analytical mode shapes different BC |
|
|
|
|
|
|
| Beam - Analytical mode shapes of a beam | | | | |
|
| | | | |
dyninflow: dynamic inflow
Sample figures from examples:
| |
| :-------------------------: |
| Dynamic Inflow - Oye - induction step |
|
|
fast: OpenFAST tools
This package led to the openfast\_toolbox
Sample figures from examples:
| | |
| :-------------------------: | :-------------------------: |
| FAST - Average radial outputs | FAST - interpolate radial time series |
|
|
|
FEM: finite element method
Examples of applications:
- Perform 2d/3d FEM analyses using beam/frame elements (see FEM)
- Craig-Bampton / Guyan reduction of a structure (see FEM)
Sample figures from examples:
| | |
| :-------------------------: | :-------------------------: |
| FEM - mode shapes of a beam | FEM - mode shapes of tower |
|
|
|
hydro: hydrodynamics applications
Examples of applications:
- Wave kinematics for linear waves (see hydro/Ex1)
- Generation of wave time series from a given spectrum (see hydro/Ex3)
- Computation of wave loads on a monopile (see hydro/Ex4)
Sample figures from examples:
| | | | |
| :-------------------------: | :-------------------------: | :-------------------------: | :-------------------------: |
| Hydro - Jonswap spectrum | Hydro - Morison loads on monopile | Hydro - wave generation | Hydro - Wave kinematics |
|
|
|
|
|
standards
Sample figures from examples:
| | |
| :-------------------------: | :-------------------------: |
| IEC Standards - Extreme operating gusts | IEC Standards - Turbulence classes |
|
|
|
partdyn: particle dynamics
Sample figures from examples:
| | |
| :-------------------------: | :-------------------------: |
| PartDyn - Gravitational and spring interactions | PartDyn - Gravitational interaction - Moon Orbit |
|
|
|
plot
Sample figures from examples:
| |
| :-------------------------: |
| Plot - 3D blades |
|
|
stoch: stochasticity
Manipulate stochastic variables. Sample figures from examples:
| | | |
| :-------------------------: | :-------------------------: | :-------------------------: |
| Stochastic - Correlated variables | Stochastic - Distributions | Stochastic - Independent and standardized |
|
|
|
|
system: sys
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
