AnemoCore: Pure-Rust Multi-Scale Physics-Informed Wind Resource, Wake Aerodynamics & Turbine Prognostics Engine
AnemoCore (anemocore) is a pure‑Rust computational engine for wind resource assessment, 3‑D Gaussian‑Curl wake modeling & sectoral AEP, signal processing, and embedded digital twins on micro‑controllers.
It originated during an exchange research stay at Tallinn University of Technology (TalTech), Estonia, funded by the EU Erasmus+ CBHE Project ECO‑WIND (Enhancing Capacity in Condition‑based Maintenance of Wind Energy, Grant No. ERASMUS-EDU-2025-CBHE-101177220).
1. Naming Convention (Hybrid Naming Convention)
- Display / Prose / Repo:
AnemoCore - Code Identifiers:
anemocore(Rust crateanemocore, Python moduleanemocore, R packageanemocore) - WAsP Compatibility: Supports reading and exporting sectoral wind‑rose
.tabfiles via themicrositemodule (trademark‑safe).
2. Architecture – 16 Modules of AnemoCore
Group A: #![no_std] Embedded‑Safe (8 modules — Zero‑Heap, ready for STM32F401)
| Module | Status | Core Functionality |
|---|---|---|
fib_qmc.rs |
Phase 1 | Rank‑1 Fibonacci/Korobov QMC, weyl_convergent_lags, Tent Transform, Golden‑Section Search, Streaming Weibull $E[v^3]$ |
weibull_est.rs |
Phase 1 | FixedWindHistogram (Zero‑Heap) + 6 estimation equations (EMJ, MoM, EPFM/PDM, Raw MLE, Binned MMLE, Graphical LSM) + Goodness‑of‑Fit ($R^2$, RMSE, KS) |
transforms.rs |
Phase 1 | Goertzel single‑bin DFT, microfft 64‑pt FFT/IFFT/Hilbert, Numerical inverse Laplace (Stehfest, Talbot), Tustin $s \to z$ |
thermo.rs |
Phase 4 | First‑law thermal network, Arrhenius CTD_P6, CIPM‑2007 moist air density, ISO 281 |
kam_vsg.rs |
Phase 4 | Two‑mass shaft, four‑stage Foster RC IGBT, KAM golden‑ratio VSG, jacobi_horizon_guard |
quasicrystal_wpt.rs |
Phase 4 | 1D Fibonacci quasicrystal multiplier‑less shift‑add filter bank |
edge_governor.rs |
Phase 5 | 64‑byte aligned lock‑free SPSC ring buffer, branchless Grönwall guard, bartlett_factor_project, stealth_fdia_wind_residual |
pi_emeans.rs |
Phase 4 | Physics‑informed thermodynamic centroid clustering |
Group B: std High‑Performance (8 modules — rayon + faer + rustfft, Peak RSS ≤ 150 MiB on a 2017 MacBook Pro)
| Module | Status | Core Functionality |
|---|---|---|
microsite.rs |
Phase 1 | Monin–Obukhov log‑law, Elliott IBL, CfdSpeedupGrid (f32 trilinear + circular‑sector), .tab I/O, TurbineSpec (IEA‑3.4MW, NREL‑5MW, IEA‑15MW, parametric, auto‑$C_t$), Gross AEP |
phyllotaxis_wake.rs |
Phase 1 | 3D Gaussian‑Curl wake (Bastankhah–Porté‑Agel), RSS superposition, golden‑angle yaw‑staggering, Net AEP & Wake loss (%) |
signal_wpt.rs |
Phase 4 | STFT, FSST, SET, Hertzian–Gabor, Rényi entropy, tacholess resampling, $J=3$ WPT |
fib_liquidity.rs |
Phase 4 | Roll spread, discrete scale invariance, skew‑Brownian HJB‑VI, Pontryagin LATFC |
tribology.rs |
Phase 4 | Hertzian contact, Dowson–Higginson EHL, Roelands–VFT, Lemaitre CDM, Paris–Erdogan |
topology_braids.rs |
Phase 4 | 3D Takens embedding, Artin braid group, Alexander polynomial |
sheaf_graph.rs |
Phase 4 | Cellular cosheaf Laplacian, first cohomology, matrix product states (MPS) |
reg_econ.rs |
Phase 5 | Baron–Myerson audit, ECPR + Pigouvian wake fee, TOTEX PBR, Wasserstein MFG |
Installation
# Python installation via PyPI
pip install anemocore
# Python installation via GitHub repository
python3 -m pip install "git+https://github.com/chatchawich-c/AnemoCore.git#subdirectory=bindings/python"
# R installation via remotes
R -q -e 'remotes::install_github("chatchawich-c/AnemoCore", subdir = "bindings/r")'
# R-universe (optional)
R -q -e 'install.packages("anemocore", repos = c("https://chatchawich-c.r-universe.dev", "https://cloud.r-project.org"))'
3. Quickstart & Verification
# 1. Compile and run all unit tests
cargo test -p anemocore
# 2. Verify no‑std compilation for ARM Cortex‑M4
cargo check -p anemocore --no-default-features --target thumbv7em-none-eabihf
# 3. Run benchmark to measure Peak RSS on a 2017 MacBook Pro
python benchmarks/bench_fib_qmc_mbp2017.py --fib-order 28 --runs 10
4. Authors & Grant Attribution
- Lead Author: Chatchawich Chaihong (
ORCID: 0009-0000-7379-5738,6610130021@email.psu.ac.th), Energy Technology Program, Department of Interdisciplinary Engineering, Faculty of Engineering, Prince of Songkla University (PSU), Hat Yai Campus, Songkhla 90110, Thailand. - Funding: Initiated during an academic exchange at Tallinn University of Technology (TalTech), Estonia, under the EU Erasmus+ CBHE Project ECO‑WIND (Enhancing Capacity in Condition‑based Maintenance of Wind Energy, Grant No.
ERASMUS-EDU-2025-CBHE-101177220). - License: Dual‑licensed under MIT OR Apache‑2.0.
Metadata
Release files for anemocore 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anemocore-0.1.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for anemocore-0.1.0-cp39-abi3-win_amd64.whl |
| anemocore-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.34+ x86-64 | Details for anemocore-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl |
Total release size: 368.6 kB
Release files / anemocore-0.1.0-cp39-abi3-win_amd64.whl
| Download URL | anemocore-0.1.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 143.7 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
37d963d6072ca8432b2afce9c2f0704a2265d9ff82efda2644d1f5d89a97eb2e
|
|
BLAKE2b-256 checksum How to use checksums |
58e0f6ef16528e7ced28fca5ff9ed865433cd99867d777a952881559e7e40b18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / anemocore-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl
| Download URL | anemocore-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 224.8 kB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
13c6dfabafe6058b5ef8f215fe3428cbc3061deb12394672ae19590de7851204
|
|
BLAKE2b-256 checksum How to use checksums |
d126138e71b77d2a6037d135d37942ea951b90fcc62c03e7dd061adaf8350e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for anemocore 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for anemocore-0.1.0-cp39-abi3-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA 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.