Overview: Why PyWAsP?

PyWAsP provides a Python API to the core WAsP Fortran library and allows for easy and intuitive development of wind resource assessment (WRA) applications using the industry-standard procedures from WAsP, combined with the flexible and developer-friendly Python programming environment. With PyWAsP, common wind resource assessment tasks become simple:

  • Make wind histograms and fit distributions

  • Preprocess terrain data

  • Estimate terrain effects

  • Extrapolate wind climates horizontally and vertically

  • Estimate Annual Energy Production, including wake effects

PyWAsP leverages the powers of the open-source Python ecosystem of packages for scientific programming. The data structures in PyWAsP are Xarray or GeoPandas objects, which makes it easy to work with multidimensional labeled arrays and geospatial vector data. PyWAsP uses PyWake for calculating wind farm effects, such as wakes and blockage, and allows users to use all the open-source submodels available in PyWake.

PyWAsP is developed alongside the open-source WindKit library, which provides:

  • I/O to and from many different WRA file-types to PyWAsP supported data objects

  • Support for geospatial referencing and common geospatial transformations

  • Plotting for most WRA objects

Goals and aspirations

PyWAsP contributes access to a fast flow models for WRA purposes and aims to make automatization, optimizing, and exploratory WRA work easier to do. Our aim is to grow the capabilities of PyWAsP to serve the wider WRA community:

  • Improve the usefulness of WAsP APIs: more power to the users

  • Compatibility with broader Python ecosystem: allow you to work with tools you know

  • Support reporting, standardization, and versioning: easy documentation and no suprises

PyWAsP is developed by a dedicated team at DTU Wind and Energy Systems. Our target audience is WRA experts in industry and academia who are proficient in Python and wants to harness the powers of WAsP in their workflows. See our Developetment roadmap for details about our plans for future improvements and features. If you have questions about PyWASP, feel free to reach out to us through pywasp@dtu.dk