check_applicability_wastewater_characteristics_iiih.RdConfirms wastewater characteristics, baseline configuration, and organic loading support AMS-III.H methane recovery projects.
check_applicability_wastewater_characteristics_iiih(
data,
wastewater_type_col = "wastewater_type",
eligible_types = c("industrial", "agro-industrial", "domestic"),
cod_concentration_col = "cod_mg_l",
minimum_cod_mg_l = 2000,
anaerobic_fraction_col = "anaerobic_fraction",
minimum_anaerobic_fraction = 0.5,
baseline_system_col = "baseline_system",
excluded_baseline_systems = c(
"covered anaerobic lagoon",
"closed digester",
"anaerobic reactor with flare"
),
group_cols = NULL,
output_col = "wastewater_applicable"
)Tibble containing wastewater facility metadata.
Column storing the wastewater classification.
Wastewater types that fall within the AMS-III.H scope.
Column storing influent COD concentration in mg/L.
Minimum COD concentration required for applicability.
Column storing the fraction of flow to anaerobic treatment.
Minimum anaerobic fraction required for applicability.
Column describing the baseline treatment system.
Baseline systems that already capture or destroy methane.
Optional character vector specifying grouping columns.
Name of the logical output column summarising compliance.
Tibble summarising whether each grouping combination meets wastewater requirements.
facilities <- tibble::tibble(
site_id = c("WW1", "WW2"),
wastewater_type = c("agro-industrial", "domestic"),
cod_mg_l = c(3200, 1800),
anaerobic_fraction = c(0.7, 0.3),
baseline_system = c("open anaerobic lagoon", "covered anaerobic lagoon")
)
check_applicability_wastewater_characteristics_iiih(
facilities,
group_cols = "site_id"
)
#> # A tibble: 2 × 2
#> site_id wastewater_applicable
#> <chr> <lgl>
#> 1 WW1 TRUE
#> 2 WW2 FALSE