Skip to content

Main content

Garden Resource Exchange Balance

Reconcile explicit compatible resource quantities and preserve a signed shortfall without assigning exchange values.

Loading tool…

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

  1. Enter openingResource, receivedResource, sentResource. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read closingResource. Use the output convention below.

Require nonnegative opening/received/sent quantities; return opening+received-sent.1

Input fieldMeaning and unitsAccepted input
openingResourceOpening ResourceRequired. Finite number; minimum 0.
receivedResourceReceived ResourceRequired. Finite number; minimum 0.
sentResourceSent ResourceRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
closingResourceClosing ResourceRequired. Finite number.
json
{
  "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

  1. Calculation and input contract: permaculture/garden-resource-exchange-balance — tool.io

Similar or alternative tools