Description
Return a mass-balance residual including sample removal.
Environmental-remediation bookkeeping uses explicit water, soil, dry-mass, concentration and sampling bases. A local mass residual, censored-result bound or supplied target margin does not identify a removal mechanism, establish representativeness or determine an environmentally acceptable contaminant level.
Return a mass-balance residual including sample removal.
When to use this tool
Use Bioremediation Residual Mass Balance Term when checking the stated remediation measurement, mass/volume balance or support convention.
How to use the tool and how it works
- Enter opening, input, output, sampled, measuredClosing. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read expectedClosing, residual. Use the output convention below.
Return a mass-balance residual including sample removal. Require nonnegative opening/input/output/sampled/measuredClosing; expectedClosing = opening+input-output-sampled, residual = measured-expected.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| opening | Opening | Required. Finite number; minimum 0. |
| input | Input | Required. Finite number; minimum 0. |
| output | Output | Required. Finite number; minimum 0. |
| sampled | Sampled | Required. Finite number; minimum 0. |
| measuredClosing | Measured Closing | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| expectedClosing | opening+input-output-sampled; negative expected balances are returned. | Required. Finite number. |
| residual | Signed difference in the direction stated above, with matching units. | Required. Finite number. |
{
"input": {
"opening": 100,
"input": 20,
"output": 30,
"sampled": 5,
"measuredClosing": 80
},
"output": {
"expectedClosing": 85,
"residual": -5
}
} Limitations and assumptions
- Expected closing can be negative because losses are not constrained by availability; actual mass closure, degradation and environmental safety are not verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use verified sampling and analytical data, consistent material/unit bases and a complete transport or treatment model; involve qualified environmental professionals for practical or regulatory decisions.
References
Similar or alternative tools
- Treatment Cell Water Balance Residual
Return treatment-cell water balance and residual.
- Contaminant Mass Closure Gap
Return contaminant mass closure without a sampled-removal term.