Skip to contents

Opens an interactive Shiny app to explore a rainwater harvesting system: move sliders for catchment area, reservoir capacity, demand, runoff, efficiency and initial storage, pick the performance metric, and watch the reservoir behaviour, the metrics, the area-capacity trade-off surface and the guarantee values update live. A "fast mode" simulates on the day-of-year climatology so the trade-off grid recomputes quickly.

Usage

rh_explore(...)

rh_app(...)

Arguments

...

Passed to shiny::runApp().

Value

Invisibly NULL; called to launch the app.

Details

Requires the suggested packages shiny, bslib and ggplot2.

Examples

if (FALSE) { # \dontrun{
rh_explore()
} # }