Description
Return initial-collected-knownLoss and collected/initial, or flagged zero when initial is zero.
Food quantities depend on whether their basis is gross, edible, drained, wet, dry or solid mass. Changing the denominator can change a reported concentration or yield without changing the actual sample or proving anything about its safety.
Return initial-collected-knownLoss and collected/initial, or flagged zero when initial is zero.
When to use this tool
Use Food Foam Mass Loss Residual when you need a stated food-mass, composition-basis or yield calculation.
How to use the tool and how it works
- Enter initialMass, collectedMass, knownLoss. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read unexplainedLoss, retainedFraction, defined. Inspect defined before interpreting the associated values.
Require nonnegative initial/collected mass and known loss. Return initial-collected-knownLoss and collected/initial, or flagged zero when initial is zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| initialMass | Initial Mass | Required. Finite number; minimum 0. |
| collectedMass | Collected Mass | Required. Finite number; minimum 0. |
| knownLoss | Known Loss | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| unexplainedLoss | Unexplained Loss | Required. Finite number. |
| retainedFraction | Retained Fraction | Required. Finite number. |
| defined | Whether the stated denominator or normalization exists; inspect before interpreting a zero placeholder. | Required. Boolean. |
{
"input": {
"initialMass": 100,
"collectedMass": 80,
"knownLoss": 15
},
"output": {
"unexplainedLoss": 5,
"retainedFraction": 0.8,
"defined": true
}
} Limitations and assumptions
- Negative unexplained loss and retained fractions above one are retained. The balance does not identify loss mechanisms or confirm product quality.
- 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 measured quantities and preparation records on a common basis. Use the appropriate laboratory, nutritional or safety assessment when arithmetic alone cannot establish the intended property.
References
Similar or alternative tools
- Spray Drying Feed Solids Balance Term
Compute both solid masses and collected/feed solids recovery.
- Drying Sample Mass Loss Step
Return before-after and loss/before, or zero with defined false when before is zero.