Skip to main content

Pip installable hawc2 models

Project description

HAWC2 Models

Collection of pip-installable hawc2 models.

Installation

pip install hawc2models

Example

from hawc2models import IEA22MW, DTU10MW

# IEA 22MW Reference turbine
htc = IEA22MW(folder='IEA-22-280-RWT')

# specific version
htc = IEA22MW(folder='IEA-22-280-RWT_v1.0.1', version='refs/tags/v1.0.1')

# DTU10MW Reference wind turbine
htc = DTU10MW(folder='DTU10MW')

Background

Current status

We have reference models in different locations, e.g:

https://www.hawc2.dk/models https://gitlab.windenergy.dtu.dk/rwts/dtu-10mw-rwt (frza’s model source) https://gitlab.windenergy.dtu.dk/hawc-reference-models (rink’s group with models (e.g. a copy of dtu10mw) and utils) https://github.com/IEAWindSystems (IEA3.4, 10, 15, 22)

Moreover, we have copies of the dtu10mw in the test_files folder of wetb, pytest_hawc2, hawc2lib, etc.

The models have very different sets of sensors. IEA22MW, for instance, has ~2000 aerodynamic sensors, which is just slowing down simulations for most users.

dtu10mw.py (https://gitlab.windenergy.dtu.dk/HAWC2/pytest_hawc2/-/blob/master/test_files/DTU10MW/dtu10mw.py?ref_type=heads) contains functionality to

  • Set tilt, cone, yaw
  • Set fixed pitch and rotor speed
  • Make blades stiff
  • Make blades straight
  • Set aero methods: aero_calc, induction, tiploss, dynstall
  • Set wind: wsp, tint, turb_format, shear
  • Set gravity

https://gitlab.windenergy.dtu.dk/hawc-reference-models has functionality to:

Vision

  • From roadmap
    • Reference model with full IEC 61400 DLB data set + post-processing
    • Example-model-library (exercises/walk-throughs)
    • Comparisons with measurements
  • From users’ perspective:
    • One place to find all (up-to-date) HAWC2 reference models or links to source repositories?
    • Model similarity? (same kind of output, wind, aerodynamic, tiploss, tower shadow, turbulence, controllers?)
    • Newest controllers?
    • Including hs2 section
    • Step and turb?
    • Picture of model
    • DLB Reference loads?
    • Our and/or users comments/issues regarding the models? e.g.  DTU10MW has aerodynamic discontinuties along blade due to change of profiles  IEA22MW uses 100 aerodynamic calculation points because…”
  • From test framework perspective
    • Pip installable
    • Download models from source repositories. Consistent or newest version?
    • Update dll’s?
    • Features as in dtu10mw.py. For all or just a subset?
  • Other considerations
    • Should we try to change/fix the source repositories (e.g. reduce the number of sensors of the IEA22MW) or just provide a website with “our” versions?

Open questions

  • Where should model source files be stored
  • How to obtain/download control dlls
  • How to handle updates of control dlls and models
  • What is a standard model (wsp, turbulence, controller/fixed)
  • Which standard sensors should exist

Project details


Download files

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

Source Distribution

hawc2models-0.0.4.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hawc2models-0.0.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file hawc2models-0.0.4.tar.gz.

File metadata

  • Download URL: hawc2models-0.0.4.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for hawc2models-0.0.4.tar.gz
Algorithm Hash digest
SHA256 922200588a4fe0777eb3e5c238df000effc642e3270a40eabd5b136889d5448d
MD5 92e5bbd0697ddf95672752ff016a600c
BLAKE2b-256 9aadf11e888b4d9fd5d8888c8ae18570dd082b976139b45d2c67b40dddbbc8ac

See more details on using hashes here.

File details

Details for the file hawc2models-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hawc2models-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for hawc2models-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 177b0d6a8388a1c25a063f489c6856159aed77fac4e79f1ff21e33382cbf12dc
MD5 9c2e0a9d1b7b7d1c583b1e95a4558416
BLAKE2b-256 e1054104df96beeb8e4c41b4a8e344553e6634a4fd56d332caf80ace583d43dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page