Jump to content

PyWAsP 1.0.0 and Windkit 1.0.2 released


Recommended Posts

Posted

PyWAsP 1.0.0 and Windkit 1.0.2 released

We have released new versions of PyWAsP and Windkit.

These are major updates with a number of breaking changes. Please read the windkit and pywasp release notes carefully for a full list of changes.  

We recommend pinning to the previous version of (windkit 0.8 and pywasp 0.7) until you are ready to migrate your code to these new versions. 

The main highlights of the releases are:

WindKit:

 - Simplified and Consistent API: The API has been significantly cleaned up. Functions have been renamed and reorganized for better clarity and consistency, making the library more intuitive to use. 
 - Revamped Map Reading and Writing: Generic map functions have been replaced with specific, format-aware functions for elevation, roughness, and landcover maps, which automatically infer the file format.
 - Polygon Representation for Maps: Landcover (roughness) maps now default to using polygon-based geopandas.GeoDataFrame objects, providing a more standard and powerful way to work with GIS data.
 - Unified Wind Climate Statistics API: A new set of generic functions allows for calculating statistics like mean wind speed and power density on any type of wind climate object, simplifying analysis.
 - New Loss and Uncertainty Modeling: The release introduces tools for creating, validating, and summarizing standardized loss and uncertainty tables, which are designed to integrate with PyWAsP for AEP calculations.

PyWAsP:

- Major API Cleanup and Restructuring: The API has been significantly cleaned up with many functions and arguments renamed for better consistency and clarity, alongside the removal of several outdated functions.
- New Pydantic-based Configuration: The user configuration has been modernized, migrating from pywasp.cfg to a more flexible pydantic-based system using pywasp_config.toml or environment variables.
- Enhanced Energy Yield Calculation: New functions have been added for advanced energy yield analysis, such as net_aep to calculate AEP with losses, px_aep for uncertain AEP.
- Improved Landcover and I/O: The release introduces new functions for landcover processing like convert_to_classes and a much faster polygons_to_lines function. TopographyMap now also accepts GeoDataFrames with Polygons.
- Updated Dependencies: PyWAsP 1.0.0 now supports Python 3.11-3.13, NumPy up to version 2.2, PyWake 2.6, and windkit 1.0.

NB! docs for windkit 0.8 and pywasp 0.7 are still available via:
  - https://docs.wasp.dk/windkit/v0.8.0
  - https://docs.wasp.dk/pywasp/v0.7.0

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...