Skip to main content

Mann.rs

DOI PyPI version PyPI downloads GitHub stars GitHub forks

Mann.rs is a high-performance turbulent wind field generator based on the Mann turbulence model, designed for wind turbine and wind farm simulations. It produces three-dimensional coherent wind fields and supports both unconstrained and constrained turbulence generation.

Built in Rust for speed and efficiency, Mann.rs provides seamless Python bindings and a command-line interface for easy integration and scalability into engineering workflows.

Installation

Mann.rs is available for Windows, MacOS, and Linux as a Python package.

pip install mannrs

For more details on the installation process, see the installation Guide.

Usage

Command line

mannrs input.toml

Define your simulation parameters in a TOML file. See the Input file format for details.

Python

from mannrs import Stencil

...

(
    Stencil(**mann_params)    # Define a stencil with Mann parameters
    .constrain(constraints)   # Apply velocity constraints (optional)
    .build()                  # Build the turbulence stencil
    .turbulence(ae, seed)     # Generate turbulent wind field
    .write("out.npz")         # Save windfield to file
)

For a step-by-step walkthrough, visit the Basic usage page.

Contributions

If you have suggestions or issues with Mann.rs, feel free raise an issue in the Mann.rs Github repository. Pull requests are welcome.

Citation

If you want to cite Mann.rs, please use this citation:

Liew, J., Riva, R., & Göçmen, T. (2023). Efficient Mann turbulence generation for offshore wind farms with applications in fatigue load surrogate modelling. Journal of Physics: Conference Series, 2626, 012050. DOI: 10.1088/1742-6596/2626/1/012050

Metadata

Release files for mannrs 2.0.0

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

Source distribution (sdist)

Source distribution for mannrs 2.0.0
File Size Uploaded Provenance Actions
mannrs-2.0.0.tar.gz 1.1 MB Without provenance Details for mannrs-2.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mannrs 2.0.0
File Actions
mannrs-2.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for mannrs-2.0.0-cp313-cp313-win_amd64.whl
mannrs-2.0.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for mannrs-2.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
mannrs-2.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for mannrs-2.0.0-cp312-cp312-win_amd64.whl
mannrs-2.0.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for mannrs-2.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
mannrs-2.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for mannrs-2.0.0-cp311-cp311-win_amd64.whl
mannrs-2.0.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for mannrs-2.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
mannrs-2.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for mannrs-2.0.0-cp310-cp310-win_amd64.whl
mannrs-2.0.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for mannrs-2.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
mannrs-2.0.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for mannrs-2.0.0-cp39-cp39-win_amd64.whl
mannrs-2.0.0-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details for mannrs-2.0.0-cp39-cp39-manylinux_2_28_x86_64.whl
mannrs-2.0.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for mannrs-2.0.0-cp38-cp38-win_amd64.whl

Total release size: 17.1 MB

Release files / mannrs-2.0.0.tar.gz

Download URL mannrs-2.0.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
2c04efac55ef5bb1ab04f30c2da293e4a350b9ee7aeb947fe41ae3a0e20691fb
BLAKE2b-256 checksum
How to use checksums
a6d5c139875353fb4b99f1fcb263b21c63b966034e9dff7fba993c4d29a5f5cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp313-cp313-win_amd64.whl

Download URL mannrs-2.0.0-cp313-cp313-win_amd64.whl
Size 1.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
74be93fc8d292eff5182c005856082856666526531f984c066c7867aec657b9f
BLAKE2b-256 checksum
How to use checksums
ae8ce22d13d7fc789727eea4e449362913016e684dcce66452c75271246711b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mannrs-2.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cdb386b66502fda77dd8fefdb8d8d3cf58e7dfbcebb568f04881ddebe146b6ee
BLAKE2b-256 checksum
How to use checksums
60d1092311d1aebd0a15aee3df71743208a49e7db1943c2e95c2e6b7b7c0e347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp312-cp312-win_amd64.whl

Download URL mannrs-2.0.0-cp312-cp312-win_amd64.whl
Size 1.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4d2cb2248ed3e2d8189cf51901272136a4393aae5528a759c3fb3bbfc6a88b5f
BLAKE2b-256 checksum
How to use checksums
3ec2e8a396b46aaf9f5cd94cdd171d10acbb588fca33a120a41a79c327ebb642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mannrs-2.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bb31e7658782178d4f0fb2d7286b23b4b48c87b4e54352c976559d0aac13b722
BLAKE2b-256 checksum
How to use checksums
366be7aa2bb3ac7a453beb236fa8ab84d207e9a02ea0565ea14534bd59482022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp311-cp311-win_amd64.whl

Download URL mannrs-2.0.0-cp311-cp311-win_amd64.whl
Size 1.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d34e83485545d31864b4365d4d8692f811c387b1aa912f445f47020a7d798288
BLAKE2b-256 checksum
How to use checksums
fdb5c872ad8b929901369c5488298fb5fd5cb2f00cb1643895587529d8121e96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mannrs-2.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
39a23bd70ebcc387ec062323df1440febd5404e72d4bae150f3ce1718cd8f0fa
BLAKE2b-256 checksum
How to use checksums
fb49d73f08a3c3ec33b1fe54d3d27d126b8e1819c4e29e5c115fcb2a69e1ad94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp310-cp310-win_amd64.whl

Download URL mannrs-2.0.0-cp310-cp310-win_amd64.whl
Size 1.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3ca6b9f2983f172dc7379d47c7053c6b5cbdf28fd47d41fa0c8e2a9bc5f7404d
BLAKE2b-256 checksum
How to use checksums
68cab3c7c6d8104f192b30a17c84b869a1ae1361ba24dab7d48c8493a895d480
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mannrs-2.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
975eca3c4b6003cfdc67646a838f6a2753714a69df7630f499de2e30bd237be3
BLAKE2b-256 checksum
How to use checksums
a1eb388c66fc5420007f7cd92f7e7b2f7810b4172090635f6aba41d7a47da9a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp39-cp39-win_amd64.whl

Download URL mannrs-2.0.0-cp39-cp39-win_amd64.whl
Size 1.3 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
fc9bccdcbe5708c77c61cddd41c8b1064abbc1e970d816c2933936e42d4c2d4b
BLAKE2b-256 checksum
How to use checksums
32fe2fd4c3997d03007f42d321cc1103cc74934816eb97b9bfe520b67591698e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL mannrs-2.0.0-cp39-cp39-manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b5da2df37b1a8a5357dd4439fe4bb49b4eafd53caf4c66bfafe03a5f2eb22cf8
BLAKE2b-256 checksum
How to use checksums
096a1cbde64350ee3f16b62fd9b686317fc85870b3dfb08f31a00884456fe958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / mannrs-2.0.0-cp38-cp38-win_amd64.whl

Download URL mannrs-2.0.0-cp38-cp38-win_amd64.whl
Size 1.3 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
68c1a191bb78bea07a986b40b5f622ed3e4d5edf0951a76157d4af46195b060d
BLAKE2b-256 checksum
How to use checksums
00e94904fe53c322023dd0bee2ffbb6cd62cefcda12652ee93eda08a1b7ec4ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for mannrs 2.0.0

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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

12 release files No provenance

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