CityWaterBalance: Tracks flows of water through the urban system

Description Usage Arguments Value Examples

View source: R/CityWaterBalance.R

Description

This function tracks flows of water as they move through pathways and storages within the urban system. Data can be in any self-consistent units.

Usage

1

Arguments

data

xts or zoo object with date index and columns of data for:
precipitation (prcp)
evapotranspiration (et)
streamflow in (inflow)
streamflow out (outflow)
water supply imports (ws_imports)
other imports (etc_imports)
surface water for industrial uses (sw_ind)
surface water withdrawals for potable use (sw_pot)
surface water withdrawals for nonpotable use (sw_npot)
groundwater withdrawals for industrial uses (gw_ind)
groundwater withdrawals for potable use (gw_pot)
groundwater withdrawals for nonpotable use (gw_npot)
deep groundwater recharge (dgr)
wastewater treatment plant effluent (wtpe)
baseflow estimate (baseflow)

p

list of fixed parameter values for:
multiplier for prcp (prcp_mult)
multiplier for et (et_mult)
multiplier for outflow (flow_mult)
multiplier for baseflow (bf_mult)
multiplier for deep pumping replaced by lateral flow (dgw_rep)
fraction of study area that is impervious (imperv)
fraction of pet lost to interception (interc)
fraction of area that is open water (open_wat)
fraction of runoff diverted to combined sewer system (run_css)
fraction of runoff diverted to separated sewer system (run_sss)
fraction of potable water supply lost to leaks (nonrev)
fraction of industrial water that evaporates (ind_evap)
fraction of potable use that returns to sewers (wast_gen)
fraction of potable use that evaporates (pot_atm)
fraction of nonpotable use that infiltrates (npot_infilt)
fraction of wastewater that evaporates from sludge (slud_evap)
fraction of wastewater effluent from gw infiltration (leak_css)
fraction of separated sewer effluent from gw infiltration (leak_sss)
fraction of groundwater from deep, confined aquifers (dgw)

print

option to print messages

Value

list of dataframes:

all_flows

all flows

state_vars

state variables

global_balance

global water balance

internal_balance

internal water balance

Examples

1
2
3
4
5
p <- list("prcp_mult" = 1, "et_mult" = 1, "flow_mult" = 1, "bf_mult" = 1, "dgw_rep" = 0.5,
         "imperv" = 0.2, "interc" = 0, "open_wat" = 0.02, "run_css" = 0.3, "run_sss" = 0.05,
          "nonrev" = 0.08, "ind_evap" = 0.012, "wast_gen" = 0.85, "pot_atm" = 0.13, "npot_infilt" = 0.5, 
         "slud_evap" = 0, "leak_css" = 0.05, "leak_sss" = 0.05, "dgw" = 0.5)
m <- CityWaterBalance(cwb_data, p) 

USEPA/CityWaterBalance documentation built on Feb. 17, 2018, 6:26 a.m.