Repository navigation
First release of the HAMT calculation library with TRNSYS Type 395.
Full Changelog: https://github.com/JunfXiao/hamt/commits/release-0.2.1
Build & test
- Commit:
d7af8a6· Toolchain:rustc 1.100.0-nightly(2026-09-21) ·win25-vs2026 hamt-coretests: 136 passed, 0 failed, 5 ignoredtrnsys_hamt_rstests: 25 passed, 0 failed, 0 ignored- CI run: https://github.com/JunfXiao/hamt/actions/runs/43240668753
DIN EN 15026 benchmark (Annex B) — BlockTridiagonal dt=2h
Finished in 1.92s.
Criteria: temperature |ΔT| ≤ 0.3 K; water content |Δw|/w_ref ≤ 2.5%.
| Day | max |ΔT| [K] | at depth [m] | max |Δw|/w_ref | |Δw| [kg/m³] | at depth [m] | Result |
|---|---|---|---|---|---|---|
| 7 | 0.025 | 2.5 | 0.74% | 0.32 | 0.02 | pass |
| 30 | 0.009 | 5 | 1.62% | 1.35 | 0.01 | pass |
| 365 | 0.004 | 4 | 1.52% | 1.15 | 0.04 | pass |
Final profile, day 365
| Depth [m] | T [°C] | T_ref [°C] | |ΔT| [K] | Result |
|---|---|---|---|---|
| 0.5 | 29.54 | 29.54 | 0.004 | pass |
| 1 | 29.06 | 29.06 | 0.004 | pass |
| 1.5 | 28.58 | 28.58 | 0.001 | pass |
| 2 | 28.11 | 28.11 | 0.003 | pass |
| 2.5 | 27.64 | 27.64 | 0.003 | pass |
| 3 | 27.19 | 27.19 | 0.004 | pass |
| 4 | 26.30 | 26.30 | 0.004 | pass |
| 5 | 25.47 | 25.47 | 0.003 | pass |
| Depth [m] | w [kg/m³] | w_ref [kg/m³] | |Δw| [kg/m³] | |Δw|/w_ref | Result |
|---|---|---|---|---|---|
| 0.01 | 119.76 | 119.70 | 0.06 | 0.05% | pass |
| 0.02 | 106.33 | 106.60 | 0.27 | 0.25% | pass |
| 0.03 | 89.59 | 90.80 | 1.21 | 1.33% | pass |
| 0.04 | 74.55 | 75.70 | 1.15 | 1.52% | pass |
| 0.05 | 64.27 | 64.90 | 0.63 | 0.96% | pass |
| 0.06 | 57.38 | 57.80 | 0.42 | 0.73% | pass |
| 0.08 | 49.97 | 50.00 | 0.03 | 0.06% | pass |
| 0.1 | 46.34 | 46.30 | 0.04 | 0.08% | pass |
Assets
| File | SHA256 |
|---|---|
din_en_15026_benchmark.csv |
ca4592494e6a6821cf7ee61f50dfeb4b91d1c6179f3d7079ac12a43754cf788d |
libhamt_core.rlib |
2464fb1fe6990b7e2016842c472e23bcc9fa98071d98a97d4c04673ade5b8764 |
trnsys_hamt_rs.dll |
db498a7457cb8b616aded42718befd220d706356fa587b7d4320059f84b6b7ad |