Description
Calculate netRemoved=removedMass-returnedMass only when creditReturned, otherwise removedMass; divide by positive producedMass for fraction.
A farm or garden budget depends on a common area, quantity, observation period, and system boundary. Recovery, exclusions, overlap, and allocation change how a share is calculated. Supplied accounting or geometry terms remain separate from measured crop performance and verified environmental outcomes.
Calculate netRemoved=removedMass-returnedMass only when creditReturned, otherwise removedMass; divide by positive producedMass for fraction.
When to use this tool
Use Residue Removal Mass Fraction when you need a clearly bounded area, material, resource, energy, or allocation term for supplied garden or farm records.
How to use the tool and how it works
- Enter removedMass, producedMass, returnedMass, creditReturned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read netRemoved, fraction. Use the output convention below.
Calculate netRemoved=removedMass-returnedMass only when creditReturned, otherwise removedMass; divide by positive producedMass for fraction. Require nonnegative ordered returned, removed, and produced amounts.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| removedMass | Removed Mass | Required. Finite number; minimum 0. |
| producedMass | Produced Mass | Required. Finite number; strictly above 0. |
| returnedMass | Returned Mass | Required. Finite number; minimum 0. |
| creditReturned | Credit Returned | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| netRemoved | Net Removed | Required. Finite number. |
| fraction | Dimensionless fraction under the stated basis. | Required. Finite number. |
{
"input": {
"removedMass": 30,
"producedMass": 100,
"returnedMass": 10,
"creditReturned": true
},
"output": {
"netRemoved": 20,
"fraction": 0.2
}
} Limitations and assumptions
- Returned mass is validated even when not credited. This accounting flag does not determine soil cover, nutrient recovery, environmental effects, or an acceptable residue-removal rate.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- 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. Signed zero is exported as zero.
Alternative or Complementary methods
Verify the system boundary, units, and source records before combining this term into a resource or environmental report. Physical design and crop-performance questions require appropriate measurements and a broader model.
References
Similar or alternative tools
- Compost Recycled Mass Gap
One-boundary supplied mass ledger with recycled input excluded; no compost processing prescription.
- Cover Crop Living Cover Day Fraction Term
Calculate effectiveDays=coveredDays+partialDays*partialWeight and fraction=effectiveDays/seasonDays.