pyBEMT documentation¶
Introduction¶
pyBEMT is an implementation of the Blade Element Momentum Theory in Python. The model can be used to estimate the thrust generated by a propeller or the power generated by a turbine.
Notable features:
A small and unified implementation for both propellers and turbines
A model for coaxial rotors
Optimization of rotor parameters
Installation¶
To install the package, first ensure that the following required libraries are installed:
numpy
scipy
matplotlib
pandas
sphinx (for documentation)
These can be installed using the provided requirements.txt,
pip install -r requirements.txt
Next, the package can be installed using pythontools:
python setup.py install
Alternatively, just add the pybemt directory to the PYTHONPATH.
Tests¶
Testing is done using the unittest module. To run the tests, enter the tests
directory after installing the package and run
python -m unittest
Examples¶
Examples on how to use the package is given in the examples directory. For a more in-depth description on usage, refer to the usage chapter.
Theory¶
For a description of the BEMT method and its implementation in pyBEMT, see the theory chapter.
Contributions¶
Contributions are encouraged via pull requests, feature requests and bug reports on GitHub.
License¶
This software is released under the MIT license. See the LICENSE file for license rights and limitations.
Contents
API documentation