Description
Return stock/draw and its difference from required duration.
Stock planning relates quantities to use rates, reservations, losses and package sizes. The resulting coverage is a model of supplied inventory, not assurance of edibility, safe storage, adequate nutrition or actual recipient eligibility.
Return stock/draw and its difference from required duration.
When to use this tool
Use Food Stock Drawdown Time Gap when you need an explicit food-inventory or distribution-budget calculation.
How to use the tool and how it works
- Enter usableStock, drawPerTime, requiredDuration. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read duration, gap. Use the output convention below.
Require nonnegative stock and required duration and positive drawPerTime. Return stock/draw and its difference from required duration.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| usableStock | Usable Stock | Required. Finite number; minimum 0. |
| drawPerTime | Draw Per Time | Required. Finite number; strictly above 0. |
| requiredDuration | Required Duration | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| duration | Duration | Required. Finite number. |
| gap | Difference on the stated unit and subtraction basis. | Required. Finite number. |
{
"input": {
"usableStock": 100,
"drawPerTime": 10,
"requiredDuration": 8
},
"output": {
"duration": 10,
"gap": 2
}
} Limitations and assumptions
- The time unit follows the draw rate. Constant consumption and usability are assumed, without determining intake requirements or safe emergency provisioning.
- 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 physical stock and the applicable handling and distribution procedures. Assess food condition and appropriate nutritional requirements independently of inventory arithmetic.
References
Similar or alternative tools
- Household Food Stock Duration
Optionally exclude reserve and divide the stock base by daily draw.
- Household Food Stock Days Cover Factor
Divide unreserved mass by people×daily mass.