Skip to content
Snippets Groups Projects
Select Git revision
  • f060416c3ee13c1d1a11d9450a23321ec60b176e
  • master default protected
  • nicgo_custom_iec_class_good
  • AbhinavANand
  • bhawc_converter
  • nicgo_dlb_offshore
  • dlb
  • rsod-main_body_analysis
  • rsod-offshore
  • rsod-dlchighlevel
  • rsod-pages
  • rsod-coverage_example
  • rsod-crypto
  • data_manager
  • test_doc
  • iodocs
  • licoreim
  • windIO_ozgo
  • 106-save-backslash-forwardslash
  • 106-htcfile-save-method-changes-back-slash-to-forward-slash
  • ModifyHawc2
  • v0.1.31
  • v0.1.30
  • v0.1.29
  • v0.1.28
  • v0.1.27
  • v0.1.26
  • v0.1.25
  • v0.1.24
  • v0.1.23
  • v0.1.22
  • v0.1.21
  • v0.1.20
  • v0.1.19
  • v0.1.18
  • v0.1.17
  • v0.1.16
  • v0.1.15
  • v0.1.14
  • v0.1.13
  • v0.1.12
41 results

WindEnergyToolbox

user avatar
Mads M. Pedersen authored
f060416c
History

build status coverage report

Introduction

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.

Installation

Contents of WindEnergyToolbox, wetb

Overview

hawc2

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

gtsdf

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_tools

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

wind

  • shear: Calculate and fit wind shear

dlc

Module for working with "Design load cases" (Code independent)

  • high_level Class for working with the highlevel dlc excell sheet

prepost

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:

fast

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

utils

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