Description
Return total input, output+recovered+discarded, their signed residual, and output/input yieldFraction.
Manufacturing balances compare recorded quantities on a common material basis. Yield, potency, moisture, and disposition counts answer different questions; a consistent calculation does not by itself authorize a product or establish manufacturing compliance.
Return total input, output+recovered+discarded, their signed residual, and output/input yieldFraction.
When to use this tool
Use GMP Material Yield Component Balance when you need an explicit manufacturing quantity reconciliation or supplied-factor adjustment.
How to use the tool and how it works
- Enter charged, added, output, recovered, discarded. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalInput, accountedOutput, residual, yieldFraction. Use the output convention below.
Require nonnegative mass components with positive charged+added. Return total input, output+recovered+discarded, their signed residual, and output/input yieldFraction.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| charged | Charged | Required. Finite number; minimum 0. |
| added | Added | Required. Finite number; minimum 0. |
| output | Output | Required. Finite number; minimum 0. |
| recovered | Recovered | Required. Finite number; minimum 0. |
| discarded | Discarded | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalInput | Total Input | Required. Finite number. |
| accountedOutput | Accounted Output | Required. Finite number. |
| residual | Residual | Required. Finite number. |
| yieldFraction | Yield Fraction | Required. Finite number. |
{
"input": {
"charged": 100,
"added": 20,
"output": 100,
"recovered": 5,
"discarded": 10
},
"output": {
"totalInput": 120,
"accountedOutput": 115,
"residual": 5,
"yieldFraction": 0.8333333333333334
}
} Limitations and assumptions
- All masses share units; output accounting may exceed input and a yield above one is retained, without resolving losses, measurement uncertainty, or batch acceptability.
- 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 authenticated batch records and approved methods before interpreting the arithmetic. Product release, potency interpretation, and process suitability require the applicable quality procedures and responsible review.
References
Similar or alternative tools
- GMP Quarantine Status Quantity Balance
Validate nonnegative counts and released+rejected+sampled within received.
- GMP Yield Reference Base Token
Select the denominator using useTheoretical and return actual/denominator with that base.