Description
Sum flow times duration over scheduled records, then over scheduled verified records; return their ratio or zero with defined false for zero scheduled volume.
Flow calculations relate volume, time, cross-section, velocity, and supplied model parameters. A local ratio or contribution does not by itself solve a complete hydraulic system.
Sum flow times duration over scheduled records, then over scheduled verified records; return their ratio or zero with defined false for zero scheduled volume.
When to use this tool
Use Irrigation Window Support Share when you need one explicit flow component with coherent units and references.
How to use the tool and how it works
- Enter flows, durations, scheduled, sourceVerified. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read scheduledVolume, verifiedVolume, share, defined. Inspect defined before interpreting the associated values.
Require aligned nonnegative flows and durations with scheduled and sourceVerified flags. Sum flow times duration over scheduled records, then over scheduled verified records; return their ratio or zero with defined false for zero scheduled volume.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| flows | Flows | Required. Array of finite number; maximum items 256. |
| durations | Durations | Required. Array of finite number; maximum items 256. |
| scheduled | Scheduled | Required. Array of boolean; maximum items 256. |
| sourceVerified | Source Verified | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| scheduledVolume | Scheduled Volume | Required. Finite number. |
| verifiedVolume | Verified Volume | Required. Finite number. |
| share | Dimensionless share under the stated denominator and exclusion convention. | Required. Finite number. |
| defined | Whether the associated ratio has its required denominator; inspect before using a zero placeholder. | Required. Boolean. |
{
"input": {
"flows": [
2,
3,
5
],
"durations": [
1,
2,
1
],
"scheduled": [
true,
true,
false
],
"sourceVerified": [
true,
false,
true
]
},
"output": {
"scheduledVolume": 8,
"verifiedVolume": 2,
"share": 0.25,
"defined": true
}
} Limitations and assumptions
- Flow and duration units must combine consistently into volume. Verification flags are supplied and zero share is a placeholder when undefined.
- 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 surveyed geometry, appropriate calibration, and a complete hydraulic model for operational or design decisions.
References
Similar or alternative tools
- Dripper Catch Volume Base Flag
Sum included catches, count them, and divide their mean volume by minutes, returning meanFlow zero with defined false if none remain.
- Hydroponic Pump Flow Per Channel Term
Subtract nonnegative bypassFlow from totalFlow and divide by positive integer channels.