calc_AML {reasonabletools}R Documentation

Compute AML

Description

Compute average monthly effluent limitation (AML) according to methods in EPA's Technical Support Document for Water Quality-based Toxics Control.

Usage

calc_AML(
  WLAa,
  WLAc,
  WLAhh,
  cv,
  n_samples = 4,
  prob_LTA = 0.99,
  percentile_AML = 0.95
)

Arguments

WLAa

Numeric. Acute wasteload allocation (WLA). All WLA units should be identical.

WLAc

Numeric. Chronic wasteload allocation (WLA). All WLA units should be identical.

WLAhh

Numeric. Human health wasteload allocation (WLA). All WLA units should be identical.

cv

Numeric. Coefficient of variation (CV) of effluent data. See cv_adj function.

n_samples

Numeric. Number of sample observations.

prob_LTA

Numeric (fraction). Allowable exceedance probability of the WLA used to estimate long-term average (LTA).

percentile_AML

Numeric (fraction). Lognormal distribution location for AML.

Value

Numeric value in same units as the WLAs.

Examples

calc_AML(WLAa=4, WLAc=1, WLAhh=10, cv=0.6)


[Package reasonabletools version 0.1 Index]