check_applicability_feedstock_characteristics_iiie.RdVerify that feedstock types are eligible and moisture content remains within the limits established by AMS-III.E.
check_applicability_feedstock_characteristics_iiie(
data,
feedstock_type_col = "feedstock_type",
eligible_feedstock = c("agricultural residues", "forest residues", "industrial biomass"),
moisture_content_col = "moisture_fraction",
maximum_moisture = 0.6,
group_cols = NULL,
output_col = "feedstock_applicable"
)Tibble containing feedstock metadata.
Column storing feedstock types.
Character vector listing eligible feedstock types.
Column storing feedstock moisture content.
Maximum allowed moisture fraction.
Optional character vector specifying grouping columns.
Name of the logical output column.
Tibble indicating whether each group satisfies feedstock criteria.
metadata <- tibble::tibble(
plant_id = c("A", "B"),
feedstock_type = c("agricultural residues", "municipal waste"),
moisture_fraction = c(0.45, 0.75)
)
check_applicability_feedstock_characteristics_iiie(metadata, group_cols = "plant_id")
#> # A tibble: 2 × 2
#> plant_id feedstock_applicable
#> <chr> <lgl>
#> 1 A TRUE
#> 2 B FALSE