Skip to main content

pyforwind

An open-source package to generate synthetic IEC-conform wind fields with extended turbulence characteristics.

Installation

The pyforwind package is available on pypi and can be installed using pip

pip install pyforwind

How to use this package

Generate superstatistical Kaimal wind field

To use pyforwind to generate a Kaimal wind field u_kaimal and its superstatistical (i.e., non-Gaussian) extension u_super_kaimal, import the SFW with the model parameters: integral length scale L, intermittency coefficient mu, horizontal wind speed at rotor hub V_hub, hub height h_hub, time length and diameter (T, diam), resolution (N_T, N_rotor), and the wind field type kind.

from pyforwind import SFW

swf_kaimal = SWF(L, mu, V_hub, h_hub, (T, diam), (N_T, N_rotor), kind='gauss')
swf_super_kaimal = SWF(L, mu, V_hub, h_hub, (T, diam), (N_T, N_rotor), kind='spatiotemporal')
u_kaimal = swf_kaimal.field(seed)
u_super_kaimal = swf_super_kaimal.field(seed)

References

Friedrich, J., Moreno, D., Sinhuber, M., Wächter, M., & Peinke, J. (2022). Superstatistical wind fields from pointwise atmospheric turbulence measurements. PRX Energy, 1(2), 023006.

Acknowledgments

This project is funded by the European Union Horizon Europe Framework program (HORIZON-CL5-2021-D3-03-04) under grant agreement no. 101084205, and by the German Federal Ministry for Economic Affairs and Energy in the scope of the projects EMUwind (03EE2031A/C) and PASTA (03EE2024A/B).

Metadata

Release files for pyforwind 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyforwind 0.1.3
File Size Uploaded Provenance Actions
pyforwind-0.1.3.tar.gz 18.0 kB Without provenance Details for pyforwind-0.1.3.tar.gz

Release files / pyforwind-0.1.3.tar.gz

Download URL pyforwind-0.1.3.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0dc5b3053edf7c183193842fa3bbb92905c97ce355c9c5dddb5ede2b8f8a2c65
BLAKE2b-256 checksum
How to use checksums
736d93c648e2947372247863239997f6dd49ee59aa4289a5c3b5f871909e9239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.14

Security for pyforwind 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page