Skip to contents

Available volume and simulation

Captured-volume relation and the daily water-balance engine.

rh_available_volume()
Available rainwater volume (ABNT NBR 15527:2019)
rh_simulate()
Daily water-balance simulation of a rainwater harvesting reservoir

Metrics

rh_metrics() rh_attendance() rh_deficit_total() rh_overflow_total()
Summary metrics of a rainwater harvesting simulation

Sizing

Guarantee-based sizing of demand, capacity and area.

rh_guaranteed_demand() rh_guaranteed_capacity() rh_required_area()
Guarantee-based sizing of rainwater harvesting systems

Analysis

Parameter sweeps, grids, frontiers, variability and scenarios.

rh_sweep()
Sweep one design parameter and record performance metrics
rh_grid()
Two-parameter grid of performance metrics
rh_guarantee_curve()
Zero-deficit guarantee frontier
rh_size_for()
Size a parameter to reach a target guarantee level
rh_iso_curve()
Iso-guarantee design curves
rh_resource_curve()
Required resources versus guarantee level
rh_series_spread()
Precipitation variability summary
rh_seasonal_demand()
Seasonal (monthly) demand as a daily vector
rh_scenarios_from_years()
Build a stress-test series by ordering whole years
rh_compare()
Compare several simulations

Demand

rh_daily_demand()
Estimate daily water demand from population

Plots

autoplot(<rharv_sim>) plot(<rharv_sim>)
Plot a rainwater harvesting simulation
rh_plot_climatology()
Day-of-year precipitation climatology heatmap
rh_plot_tradeoff()
Trade-off surface: catchment area vs reservoir capacity
rh_plot_levers()
Effect of each design lever on performance
rh_plot_syr()
Storage-yield-reliability (SYR) curves
rh_plot_design_curve()
Dimensionless design curve
rh_plot_iso()
Plot iso-guarantee design curves
rh_plot_resource_curve()
Plot required resources versus guarantee level
rh_plot_behaviour()
Reservoir behaviour over time
rh_plot_monthly_balance()
Monthly water balance
rh_plot_failure_calendar()
Failure (deficit) calendar
rh_plot_spread()
Plot precipitation variability

Interactive app

rh_explore() rh_app()
Launch the rharv explorer (Shiny app)
rh_demo()
Open the rharv demonstration notebook

Datasets

precip_pi
Daily precipitation at Princesa Isabel (1912-2019)
areas_pi
Catchment (roof) areas of the IFPB-PI campus