Description
Calculate a signed garden resource-exchange balance.
Garden-resource planning uses supplied geometry, material stocks, visit counts and accounting boundaries. Water elevation difference gives nominal head before losses, while a screened reject fraction uses the screened total. Local arithmetic does not establish plant compatibility, suitable animal care, drainage performance or a safe structural design.
Calculate a signed garden resource-exchange balance.
When to use this tool
Use Garden Resource Exchange Balance when you already have openingResource, receivedResource, sentResource and need to calculate a signed garden resource-exchange balance.
How to use the tool and how it works
- Enter openingResource, receivedResource, sentResource. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read closingResource. Use the output convention below.
Require nonnegative opening/received/sent quantities; return opening+received-sent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| openingResource | Opening Resource | Required. Finite number; minimum 0. |
| receivedResource | Received Resource | Required. Finite number; minimum 0. |
| sentResource | Sent Resource | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| closingResource | Closing Resource | Required. Finite number. |
{
"input": {
"openingResource": 20,
"receivedResource": 8,
"sentResource": 5
},
"output": {
"closingResource": 23
}
} Limitations and assumptions
- All quantities need compatible units and scope; negative balances are retained and no availability or ownership is 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
Measure actual site geometry and reconcile resource stocks, transfers and observation periods. For water delivery, account for the complete hydraulic path and losses; nominal head and local garden margins remain preliminary bookkeeping or geometry.
References
Similar or alternative tools
- Garden Plot Volunteer Hour Share
Calculate a plot's share of recorded volunteer hours.
- Community Harvest Donation Share
Calculate a community harvest's donated mass share.