Description
Subtract lastServiceCounter and bypassVolume from counter for netThroughput, validating monotonic counters and compatible bypass.
A water balance tracks additions, withdrawals, storage changes, and a residual over one declared interval. A remainder can reveal inconsistency without identifying whether it came from leakage, timing, or measurement error.
Subtract lastServiceCounter and bypassVolume from counter for netThroughput, validating monotonic counters and compatible bypass.
When to use this tool
Use Hydroponic Filter Throughput Service Gap when you need one transparent water-volume or storage-accounting component.
How to use the tool and how it works
- Enter counter, lastServiceCounter, ratedVolume, bypassVolume. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read netThroughput, remaining. Use the output convention below.
Subtract lastServiceCounter and bypassVolume from counter for netThroughput, validating monotonic counters and compatible bypass. Subtract throughput from nonnegative ratedVolume for remaining.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| counter | Counter | Required. Finite number. |
| lastServiceCounter | Last Service Counter | Required. Finite number. |
| ratedVolume | Rated Volume | Required. Finite number; minimum 0. |
| bypassVolume | Bypass Volume | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| netThroughput | Net Throughput | Required. Finite number. |
| remaining | Remaining | Required. Finite number. |
{
"input": {
"counter": 500,
"lastServiceCounter": 100,
"ratedVolume": 600,
"bypassVolume": 20
},
"output": {
"netThroughput": 380,
"remaining": 220
}
} Limitations and assumptions
- Volumes share units; a negative service allowance is retained and ratedVolume is supplied rather than an evaluated filter condition or service-life prediction.
- 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
Reconcile all flows and storage observations on a common interval and investigate residuals using independent measurements.
References
Similar or alternative tools
- Hydroponic Daily Water Balance Residual
Form opening+topup-drain-evaporated for expectedClosing and return measuredClosing minus that expectation, with all inputs nonnegative.
- Hydroponic Reservoir Working Volume Gap
Return workingCapacity, current minus dead volume, and current minus reserve minus dead volume.