The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Empirical reservoir water quality modelling using Walker's 'BATHTUB' Model 1 (second-order available-phosphorus sedimentation) from Walker (1985) <https://hdl.handle.net/11681/13884> and Walker (1996) <https://hdl.handle.net/11681/4353> as the default retention model. The Vollenweider (1976) hydraulic- residence form and the equivalent formulation of Larsen and Mercier (1976) are available as alternatives. Predicts in-lake total phosphorus, total nitrogen, chlorophyll-a, and Secchi depth from tributary nutrient and hydraulic loading inputs, and computes Carlson (1977) <doi:10.4319/lo.1977.22.2.0361> Trophic State Indices. Optional Oklahoma-specific chlorophyll and Secchi regression coefficients are provided, calibrated from publicly available state lake monitoring data. Supports single-segment and multi-segment reservoir configurations and load-reduction scenario analysis. Designed to complement watershed loading models such as the Soil and Water Assessment Tool ('SWAT'; <https://swat.tamu.edu>) and the U.S. EPA Hydrologic and Water Quality System ('HAWQS'; <https://hawqs.tamu.edu>) in a two-model nutrient management workflow.
| Version: | 0.1.10 |
| Depends: | R (≥ 4.1.0) |
| Imports: | utils |
| Suggests: | ggplot2 (≥ 3.4.0), dplyr (≥ 1.1.0), tidyr (≥ 1.3.0), stringr (≥ 1.5.0), knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-05-29 |
| DOI: | 10.32614/CRAN.package.okBATHTUB |
| Author: | Jordon Henderson [aut, cre, cph] |
| Maintainer: | Jordon Henderson <jordon.henderson at owrb.ok.gov> |
| BugReports: | https://github.com/0011235813/Oklahoma-BATHTUB/issues |
| License: | MIT + file LICENSE |
| URL: | https://0011235813.github.io/Oklahoma-BATHTUB/, https://github.com/0011235813/Oklahoma-BATHTUB |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | okBATHTUB results |
| Reference manual: | okBATHTUB.html , okBATHTUB.pdf |
| Vignettes: |
Getting Started with okBATHTUB (source, R code) Linking OK-HAWQS/SWAT Outputs to okBATHTUB (source, R code) Oklahoma Reservoir Workflow (source, R code) |
| Package source: | okBATHTUB_0.1.10.tar.gz |
| Windows binaries: | r-devel: okBATHTUB_0.1.10.zip, r-release: okBATHTUB_0.1.10.zip, r-oldrel: okBATHTUB_0.1.10.zip |
| macOS binaries: | r-release (arm64): okBATHTUB_0.1.10.tgz, r-oldrel (arm64): okBATHTUB_0.1.10.tgz, r-release (x86_64): okBATHTUB_0.1.10.tgz, r-oldrel (x86_64): okBATHTUB_0.1.10.tgz |
Please use the canonical form https://CRAN.R-project.org/package=okBATHTUB to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.