welib
Wind energy library, Python and matlab tools for wind turbines analyses.
https://github.com/ebranlard/welib
Category: Renewable Energy
Sub Category: Wind Energy
Keywords
modeling wind-energy
Keywords from Contributors
aeroelasticity wind wind-farm wind-power wind-turbine
Last synced: about 11 hours ago
JSON representation
Repository metadata
Wind energy library, python and matlab tools for wind turbines analyses
- Host: GitHub
- URL: https://github.com/ebranlard/welib
- Owner: ebranlard
- License: mit
- Created: 2018-10-17T22:47:46.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-10-07T22:27:34.000Z (3 months ago)
- Last Synced: 2025-12-21T09:58:48.912Z (5 days ago)
- Topics: modeling, wind-energy
- Language: Python
- Homepage:
- Size: 12.2 MB
- Stars: 104
- Watchers: 5
- Forks: 35
- Open Issues: 2
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
README.md
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.
Examples of application
You can have a look at the example gallery below for direct links to examples and associated plots.
-
Aerodynamic applications (package
airfoils,BEM):- Manipulation of airfoil curves, find slopes, interpolate (see airfoils)
- Run different dynamic stall models (e.g Oye or MHH/HGM model) (see airfoils/DS)
-
Hydrodynamics applications (package
hydro): -
Structural dynamics and system dynamics applications (packages
FEM,system,yams):- Setup the equation of motions for a multibody system with flexible members analytically or numerically (see yams)
- Linearize a non-linear system defined by a state and output equation (implicit or explicit) (see system)
- Perform 2d/3d FEM analyses using beam/frame elements (see FEM)
- Craig-Bampton / Guyan reduction of a structure (see FEM)
- Perform time integration of mechanical systems (see system)
-
Controls applications (packages
ctrl,kalman):- Run a kalman filter to estimate states of a system (see kalman)
-
Wind energy applications:
- Run steady state BEM simulations (see BEM/steady 1-2
- Run unsteady BEM simulations (see BEM/unsteady 1-2
- Read and write common wind energy file formats (see weio, a clone of weio)
- Generate stochastic wind and waves times series
- Estimate wind speed (see 'welib\ws_estimator`))
- Theory of optimal circulation
- Standards
-
Other (packages
tools,ode):- Spectral analyses, signal processing, time integration, vector analyses
See also:
- pyDatView: GUI to visualize files (supported by weio) and perform analyses on the data
Libraries
The repository contains a set of small packages, for aerodynamics, structure, control and more:
- airfoils: polar manipulations, dynamic stall models
- beams: analytical results for beams
- BEM: steady and unsteady bem code
- ctrl: control tools
- dyninflow: dynamic inflow models
- fastlib: tools to handle OpenFAST models (run simulations, postprocess, linear model)
- FEM: Finite Element Method tools (beams)
- hydro: hydrodynamic tools
- kalman: kalman filter
- mesh: meshing tools
- ode: tools for time integration of ODE
- standards: some formulae and scripts useful for the IEC standards
- system: tools for dynamic systems (e.g. LTI, state space) and mechanical systems (M,C,K matrices), eigenvalue analysis, time integration
- tools: mathematical tools, signal processing
- weio: library to read and write files used in wind energy, clone of weio
- wt_theory: scripts implementing some wind turbine aerodynamic theory
- ws_estimator: wind speed estimator for wind energy based on tabulated Cp Ct
- yams: multibody analyses
References and how to cite
If you find some of this repository useful and use it in your research, thank you for using the following citations.
- General wind turbine scripts and aerodynamics:
@book{Branlard:book,
author = {E. Branlard},
title = {Wind Turbine Aerodynamics and Vorticity-Based Methods: Fundamentals and Recent Applications},
year = {2017},
publisher= {Springer International Publishing},
doi={10.1007/978-3-319-55164-7},
isbn={ 978-3-319-55163-0}
}
- Structural dynamics:
@article{Branlard:2019,
title = {{Flexible multibody dynamics using joint coordinates and the Rayleigh-Ritz approximation: The general framework behind and beyond Flex}},
author = {E. Branlard},
journal = {Wind Energy},
volume = {22},
number = {7},
pages = {877-893},
year = {2019},
doi = {10.1002/we.2327}
}
Contributing
Any contributions to this project are welcome! If you find this project useful, you can also buy me a coffee (donate a small amount) with the link below:
Owner metadata
- Name: E. Branlard
- Login: ebranlard
- Email:
- Kind: user
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1318316?u=27dc541e04be1cb664eb7585c09ce76466a54a4e&v=4
- Repositories: 61
- Last ynced at: 2025-10-12T00:49:57.143Z
- Profile URL: https://github.com/ebranlard
GitHub Events
Total
- Issues event: 4
- Watch event: 26
- Issue comment event: 2
- Push event: 30
- Pull request event: 2
- Fork event: 4
- Create event: 1
Last Year
- Issues event: 2
- Watch event: 20
- Issue comment event: 2
- Push event: 30
- Pull request event: 2
- Fork event: 2
- Create event: 1
Committers metadata
Last synced: about 17 hours ago
Total Commits: 594
Total Committers: 6
Avg Commits per committer: 99.0
Development Distribution Score (DDS): 0.047
Commits in past year: 21
Committers in past year: 2
Avg Commits per committer in past year: 10.5
Development Distribution Score (DDS) in past year: 0.048
| Name | Commits | |
|---|---|---|
| Emmanuel Branlard | e****d@n****v | 566 |
| Emmanuel Branlard | e****.@g****m | 20 |
| Branlard | e****r@n****v | 5 |
| SimonHH | 3****H | 1 |
| Jeffrey Harris | c****5@g****m | 1 |
| Veronica Liverud Krathe | v****k@n****o | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 27 days ago
Total issues: 4
Total pull requests: 10
Average time to close issues: 14 days
Average time to close pull requests: 9 days
Total issue authors: 4
Total pull request authors: 4
Average comments per issue: 0.75
Average comments per pull request: 0.5
Merged pull request: 10
Bot issues: 0
Bot pull requests: 0
Past year issues: 3
Past year pull requests: 2
Past year average time to close issues: N/A
Past year average time to close pull requests: 5 minutes
Past year issue authors: 3
Past year pull request authors: 1
Past year average comments per issue: 0.67
Past year average comments per pull request: 0.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- s1291 (1)
- Chiaraginko (1)
- Antoine-HENRY-setec (1)
- verlivkra (1)
Top Pull Request Authors
- ebranlard (6)
- jcharris (2)
- verlivkra (1)
- SimonHH (1)
Top Issue Labels
Top Pull Request Labels
- bug (3)
- enhancement (1)
Package metadata
- Total packages: 2
-
Total downloads:
- pypi: 267 last-month
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 6
- Total maintainers: 1
proxy.golang.org: github.com/ebranlard/welib
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ebranlard/welib#section-documentation
- Licenses: mit
- Latest release: v3.5.0+incompatible (published 7 months ago)
- Last Synced: 2025-12-24T05:02:48.956Z (3 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.401%
- Average: 5.583%
- Dependent repos count: 5.764%
pypi.org: welib
Wind Energy Library
- Homepage: http://github.com/ebranlard/welib/
- Documentation: https://welib.readthedocs.io/
- Licenses: MIT
- Latest release: 3.5.0 (published 7 months ago)
- Last Synced: 2025-12-24T05:02:46.800Z (3 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 267 Last month
-
Rankings:
- Dependent packages count: 7.31%
- Forks count: 7.395%
- Stargazers count: 9.574%
- Average: 20.72%
- Dependent repos count: 22.088%
- Downloads: 57.232%
- Maintainers (1)
Dependencies
- chardet *
- future *
- matplotlib *
- numpy *
- numpy >=1.16.5
- pandas >=1.0.1
- pandas *
- scipy *
- sympy *
- xlrd *
- chardet *
- future *
- matplotlib *
- numpy *
- pandas *
- scipy *
- sympy *
- xlrd *
- deap *
- future *
- matplotlib *
- numpy *
- pandas *
- screeninfo *
- actions/checkout main composite
- actions/setup-python v2 composite
Score: 12.04990994294196











-InductionStep.png)






























