Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Wind Energy Toolbox

Project Description


The Wind Energy Toolbox (or wetb, pronounce as wee-tee-bee) is a collection of Python scripts that facilitate working with (potentially a lot) of HAWC2, HAWCStab2, FAST or other text input based simulation tools.

Note that this toolbox is very much a WIP (work in progress). For example, some of the functions in the prepost module have a similar functions in Hawc2io. These different implementations will be merged in due time.

Both Python2 and Python3 are supported.

Contents of WindEnergyToolbox, wetb


  • Hawc2io: Read binary, ascii and flex result files
  • sel_file: Read/write *.sel (sensor list) files
  • htc_file: Read/write/manipulate htc files
  • ae_file: Read AE (aerodynamic blade layout) files
  • pc_file: Read PC (profile coefficient) files
  • st_file: Read ST (structural properties) files
  • shear_file: Create user defined shear file
  • at_time_file: Read at output_at_time files
  • log_file: Read and interpret log files
  • ascii2bin: Compress HAWC2 ascii result files to binary


General Time Series Data Format, a binary hdf5 data format for storing time series data. - gtsdf: read/write/append gtsdf files - unix_time: convert between datetime and unix time (seconds since 1/1/1970)


  • fatigue: Rainflow counting, cycle matrix and equivalent loads
  • bearing_damage: Calculate a comparable measure of bearing damage


  • shear: Calculate and fit wind shear


Module for working with “Design load cases” (Code independent) - high_level Class for working with the highlevel dlc excell sheet


Module for creating an arbitrary number of HAWC2 simulations, and optionally corresponding execution scripts for a PBS Torque cluster (Linux), simple bash (Linux), or Windows batch scripts. A post-processing module is also included that calculates statistical parameters, performs rainflow counting for fatigue load calculations, and create load envelopes.

Additional documentation can be found here:


Tools for working with NREL’s FAST code (An aeroelastic computer-aided engineering (CAE) tool for horizontal axis wind turbines) - fast_io: Read binary and ascii result files


Other functions - geometry: Different kind of geometry conversion functions - process_exec: Run system command in subprocess - timing: Decorators for evaluating execution time of functions - caching: Decorators to create cached (calculate once) functions and properties

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wetb-0.0.9-cp27-cp27m-win_amd64.whl (25.7 MB) Copy SHA256 Checksum SHA256 cp27 Wheel Apr 2, 2017
wetb-0.0.9-cp35-cp35m-win_amd64.whl (25.7 MB) Copy SHA256 Checksum SHA256 cp35 Wheel Apr 2, 2017
wetb-0.0.9-cp36-cp36m-manylinux1_x86_64.whl (26.0 MB) Copy SHA256 Checksum SHA256 3.6 Wheel Apr 2, 2017
wetb-0.0.9-cp36-cp36m-win_amd64.whl (25.7 MB) Copy SHA256 Checksum SHA256 3.6 Wheel Apr 2, 2017
wetb-0.0.9.tar.gz (25.5 MB) Copy SHA256 Checksum SHA256 Source Apr 2, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting