Description
Return their depletion and subtract nonnegative servedPours times pourVolume for measuredLoss.
Hospitality plans use room counts, covers, service durations, portions, and stock balances. A local component applies supplied operational rules without confirming actual availability, service quality, or adequate capacity.
Return their depletion and subtract nonnegative servedPours times pourVolume for measuredLoss.
When to use this tool
Use Bar Spirit Yield Measured Loss when you need one explicit hospitality planning or reconciliation component.
How to use the tool and how it works
- Enter openingVolume, closingVolume, servedPours, pourVolume. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read depletion, measuredLoss. Use the output convention below.
Require openingVolume at least nonnegative closingVolume and positive pourVolume. Return their depletion and subtract nonnegative servedPours times pourVolume for measuredLoss.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| openingVolume | Opening Volume | Required. Finite number. |
| closingVolume | Closing Volume | Required. Finite number; minimum 0. |
| servedPours | Served Pours | Required. Safe integer; minimum 0. |
| pourVolume | Pour Volume | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| depletion | Depletion | Required. Finite number. |
| measuredLoss | Measured Loss | Required. Finite number. |
{
"input": {
"openingVolume": 1000,
"closingVolume": 200,
"servedPours": 18,
"pourVolume": 40
},
"output": {
"depletion": 800,
"measuredLoss": 80
}
} Limitations and assumptions
- Signed residual loss is retained; this reconciliation does not identify spillage, overpouring, inventory error, or responsibility.
- 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
Check the complete booking, layout, staffing, and service plan before relying on an operational estimate.
References
Similar or alternative tools
- Restaurant Wine Pour Bottle Remainder
Subtract nonnegative lossVolume from bottleVolume and divide by positive pourVolume.
- Minibar Restock Opening Closing Balance
Validate nonnegative stock counts and closing within opening+restocked.