Description
Return supplied component-equivalent total and target gap.
Biochemical amounts, ionization and free energies depend on units, standard states, activities and molecular composition. A supplied concentration ratio or independent-group formula is one local model relation rather than a complete equilibrium or verified molecular characterization.
Return supplied component-equivalent total and target gap.
When to use this tool
Use Buffer Component Equivalent Gap when checking the stated biochemical amount, charge, equilibrium or material-basis convention.
How to use the tool and how it works
- Enter amounts, suppliedEquivalentFactors, targetEquivalents. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalEquivalents, gap. Use the output convention below.
Return supplied component-equivalent total and target gap. Require aligned arrays and nonnegative amounts; totalEquivalents sums amount*factor, gap = total-target.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| amounts | Amounts | Required. Array of finite number; minimum 0; maximum items 256. |
| suppliedEquivalentFactors | Supplied Equivalent Factors | Required. Array of finite number; maximum items 256. |
| targetEquivalents | Target Equivalents | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalEquivalents | Total Equivalents | Required. Finite number. |
| gap | Signed difference under the stated comparison convention, with matching units. | Required. Finite number. |
{
"input": {
"amounts": [
2,
3
],
"suppliedEquivalentFactors": [
1,
-1
],
"targetEquivalents": 0
},
"output": {
"totalEquivalents": -1,
"gap": -1
}
} Limitations and assumptions
- Equivalent factors and target may be signed; no chemical identity, reaction stoichiometry or charge balance is independently derived.
- 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
Use compatible standard states, verified chemical identity and an appropriate complete activity/speciation or measurement model for physical interpretation.
References
Similar or alternative tools
- Buffer Total Species Count
Return total supplied conjugate-species amount and base share.
- Henderson Hasselbalch Species Ratio Term
Return monoprotic acid/base concentrations from supplied pH/pKa.