hydro-topmodel 0.1.0

TOPMODEL hydrological model (Beven & Kirkby 1979, 11-param distributed, bit-exact vs R topmodel)
Documentation
  • Coverage
  • 18.75%
    6 out of 32 items documented0 out of 6 items with examples
  • Size
  • Source code size: 1.27 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 684.5 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • virki

TOPMODEL(Beven & Kirkby 1979;1995 Fortran 版)——忠实分布式实现。

Clean-room 从 R topmodel 包 v0.7.5 的 C 数值核心(core_topmodel.c/get_f.c/ param_init.c/misc.c)移植:算法(Beven 公式)不可版权,C 源仅作行为 oracle。 11 参数 + TWI 直方图 + 河道延迟;单位 mm / hour(与 R 参考一致,便于 bit-exact 校验)。 交叉验证:tests/topmodel_crosscheck.rs(待加)vs R topmodel on huagrahuma 数据集。

关键方程(eq 号同 Beven HESS 2021 / R 源注释):

  • 基流退水 qs = qss·exp(-S_mean/m)(eq 6.33),qss = exp(lnTe + ln(dt) - λ)
  • 局部亏缺 S[j] = S_mean + m·(λ - atb[j])(eq 18.8)
  • 非饱和排水 qv = Suz/(S·td)·dt(eq 6.26)
  • 下渗 Green-Ampt/Morel-Seytoux(Newton-Raphson,get_f)
  • 路由:河道延迟 Qt[k] += qt·Ad[j],k = i + j + ndelay