Skip to main content

WindreX - Wind Resource eXchange: wind resource assessment, wake modeling, and site analysis

Project description

WindreX — Wind Resource eXchange

Tests DOI

A Python library for wind resource assessment, wake modeling, turbine database management, MCDA-based site suitability analysis, and capacity factor computation.

Features

  • Weibull Analysis: MLE fitting, PDF, mean power density
  • Wind Rose: Directional frequency and speed distributions
  • Wind Shear: Power-law extrapolation to hub height
  • Wake Modeling: Jensen/Park single-wake deficit, array efficiency with RSS superposition
  • Capacity Factor: Hourly CF from Open-Meteo, NASA POWER, or ERA5 data
  • Turbine Database: atlite YAML + OEDB REST API
  • MCDA: Multi-criteria site suitability (entropy, PCA, manual weights)
  • Economics: LCOE, NPV, IRR, sensitivity analysis
  • Regional Analysis: Grid-based resource assessment with development zones

Installation

pip install windrex

With ERA5 support:

pip install windrex[era5]

Quick Start

from windrex import fit_weibull, weibull_pdf, compute_wind_rose
import numpy as np

# Fit Weibull to measured speeds
speeds = np.random.weibull(2.0, 10000) * 7.0
k, A = fit_weibull(speeds)
print(f"Weibull k={k:.2f}, A={A:.2f}")

# Compute wind rose
directions = np.random.uniform(0, 360, len(speeds))
rose = compute_wind_rose(speeds, directions)

License

MIT

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

windrex-0.1.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

windrex-0.1.0-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file windrex-0.1.0.tar.gz.

File metadata

  • Download URL: windrex-0.1.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for windrex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca911255430ac0b516140fe10eaaea0358326cf0e19061bce7afadffe1c5518c
MD5 f284aa385652870961f6921a3549330e
BLAKE2b-256 25cbf374466b1b5119d53ed04eb24055dd854178f2b819c6415d1206d4fdef29

See more details on using hashes here.

File details

Details for the file windrex-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: windrex-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for windrex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9b2a0446b37948c8d1ece80cf1bf7c0daefc12f028d0d42e32d0df37c9e9bd3
MD5 1e7a256524c675b10c11790cfb54c02f
BLAKE2b-256 ed4be7f8dfa844b6bac3ccf6b2ce307062acf2a1c487149b447dd72dbae4cff7

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