SkillAgentSearch skills...

Welib

Wind energy library, python and matlab tools for wind turbines analyses

Install / Use

/learn @ebranlard/Welib
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build status Buy Me a Coffee

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 | | 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.

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 | | 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 - 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 | | | | | | Beam - Analytical mode shapes of a beam | | | | |

dyninflow: dynamic inflow

Sample figures from examples:

| | | :-------------------------: | | Dynamic Inflow - Oye - induction step | | 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 | | 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 | | 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 | | 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 | | 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 | | PartDyn - Gravitational and spring interactions | PartDyn - Gravitational interaction - Moon Orbit |

plot

Sample figures from examples:

| | | :-------------------------: | | Plot - 3D blades | | Plot - 3D blades |

stoch: stochasticity

Manipulate stochastic variables. Sample figures from examples:

| | | | | :-------------------------: | :-------------------------: | :-------------------------: | | Stochastic - Correlated variables | Stochastic - Distributions | Stochastic - Independent and standardized | | Stochastic - Correlated variables | Stochastic - Distributions | Stochastic - Independent and standardized |

system: sys

Related Skills

View on GitHub
GitHub Stars110
CategoryDevelopment
Updated7d ago
Forks39

Languages

Python

Security Score

100/100

Audited on Mar 19, 2026

No findings