Description
Return totalVolume, preRemovalMass = firstVolume*firstConcentration+secondVolume*secondConcentration and finalConcentration = preRemovalMass*(1-removalFraction)/totalVolume.
A mixture concentration follows the amount of substance carried by each component, not an unweighted average of concentrations. Flow-weighted and volume-weighted balances require compatible units and assumptions about mixing, losses and treatment.
Return totalVolume, preRemovalMass = firstVolume*firstConcentration+secondVolume*secondConcentration and finalConcentration = preRemovalMass*(1-removalFraction)/totalVolume.
When to use this tool
Use Drinking Water Source Blend One Contaminant when checking a conservative mixture or a supplied proportional-removal term.
How to use the tool and how it works
- Enter firstVolume, secondVolume, firstConcentration, secondConcentration, removalFraction. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalVolume, preRemovalMass, finalConcentration. Use the output convention below.
Require nonnegative firstVolume, secondVolume and concentrations and positive total volume; removalFraction must be in [0,1]. Return totalVolume, preRemovalMass = firstVolume*firstConcentration+secondVolume*secondConcentration and finalConcentration = preRemovalMass*(1-removalFraction)/totalVolume.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstVolume | First Volume | Required. Finite number; minimum 0. |
| secondVolume | Second Volume | Required. Finite number; minimum 0. |
| firstConcentration | First Concentration | Required. Finite number; minimum 0. |
| secondConcentration | Second Concentration | Required. Finite number; minimum 0. |
| removalFraction | Removal Fraction | Required. Finite number; minimum 0; maximum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalVolume | Total Volume | Required. Finite number. |
| preRemovalMass | Pre Removal Mass | Required. Finite number. |
| finalConcentration | Final Concentration | Required. Finite number. |
{
"input": {
"firstVolume": 100,
"secondVolume": 300,
"firstConcentration": 10,
"secondConcentration": 2,
"removalFraction": 0.2
},
"output": {
"totalVolume": 400,
"preRemovalMass": 1600,
"finalConcentration": 3.2
}
} Limitations and assumptions
- Use a coherent volume and mass/volume basis. This assumes uniform mixing and proportional removal without volume change or reactions; the supplied removal fraction is not validated treatment performance or evidence of potable water.
- 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 a dynamic mass-balance or reaction model when storage, incomplete mixing, changing inputs or chemical transformations matter.
References
Similar or alternative tools
- Water Quality Mixing Conservative One Inflow
Return total flow and concentration = (baseFlow*baseConcentration + inflow*inflowConcentration)/(baseFlow+inflow).
- Household Water Filter Throughput Factor Tool
Calculate household water filter throughput factor from explicit caller-supplied inputs.