Status: brief note after a discussion with Charlie.
Is it always preferable to have a larger catchment area? Larger catchment areas are likely to contain more shedding events, but are also likely to process a higher volume of wastewater. Smaller catchment areas are likely to contain less shedding events, and process less volume of wastewater.
One approach to investigating this problem could be to consider nested catchment areas as follows:
library(sf)
## Linking to GEOS 3.10.2, GDAL 3.4.2, PROJ 8.2.1; sf_use_s2() is TRUE
center <- c(0, 0)
r1 <- 1
r2 <- 2
p <- st_point(center)
area1 <- st_buffer(p, dist = r1)
area2 <- st_buffer(p, dist = r2)
geometry <- lapply(list(area1, area2), function(area) list(area) %>% sf::st_multipolygon()) %>%
sf::st_sfc() %>%
sf::st_sf()
plot(geometry)
K <- 1000
V1 <- K * st_area(area1)
V2 <- K * st_area(area2)
lambda <- 5
X <- rpois(1, 5)
X
## [1] 6
s <- st_sample(area2, size = X, type = "random")
plot(geometry)
plot(s, add = TRUE)
s1 <- lengths(st_intersects(area1, s))
s2 <- lengths(st_intersects(area2, s))