Package: okBATHTUB 0.1.10

Jordon Henderson

okBATHTUB: Empirical Reservoir Eutrophication Modelling with Oklahoma Calibration

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.

Authors:Jordon Henderson [aut, cre, cph]

okBATHTUB_0.1.10.tar.gz
okBATHTUB_0.1.10.tar.gz(r-4.7-any)okBATHTUB_0.1.10.tar.gz(r-4.6-any)
okBATHTUB_0.1.10.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
okBATHTUB/json (API)
NEWS

# Install 'okBATHTUB' in R:
install.packages('okBATHTUB', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/0011235813/oklahoma-bathtub/issues

Datasets:

On CRAN:

Conda:

3.18 score 21 exports 0 dependencies

Last updated from:4004f46444. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK141
source / vignettesOK180
linux-release-x86_64OK149
wasm-releaseOK117

Exports:ok_hydraulicsok_inlakeok_lake_ecoregionok_loadok_load_multiok_plot_responseok_plot_scenariook_plot_segmentsok_plot_tsiok_reservoirok_reservoir_summaryok_retentionok_scenariook_scenario_sweepok_segmentok_segment_chainok_segment_summaryok_themeok_trophic_colorsok_tsiok_tsi_observed

Dependencies:

Getting Started with okBATHTUB

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-05-29
Started: 2026-05-29

Linking OK-HAWQS/SWAT Outputs to okBATHTUB

Rendered fromhawqs-linkage.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-05-29
Started: 2026-05-29

Oklahoma Reservoir Workflow

Rendered fromoklahoma-workflow.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-05-29
Started: 2026-05-29