Description
Return excessSolute=amount*(concentration-targetConcentration), requiring nonnegative amount and both concentrations as fractions between zero and one.
A component share uses a stated whole and measurement basis. Complement shares should sum to one, while a concentration balance compares material amounts against a target composition. Fractions such as 0.25 represent 25 percent; an amount multiplied by a concentration difference is a signed material contribution.
Return excessSolute=amount*(concentration-targetConcentration), requiring nonnegative amount and both concentrations as fractions between zero and one.
When to use this tool
Use Blend One Ingredient Target Contribution when you need to check a two-share complement or one ingredient's signed contribution to a target composition.
How to use the tool and how it works
- Enter amount, concentration, targetConcentration. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read excessSolute. Use the output convention below.
Return excessSolute=amount*(concentration-targetConcentration), requiring nonnegative amount and both concentrations as fractions between zero and one.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| amount | Nonnegative ingredient amount on the concentration denominator basis. | Required. Finite number; minimum 0. |
| concentration | Ingredient concentration as a fraction on the amount basis. | Required. Finite number; minimum 0; maximum 1. |
| targetConcentration | Target concentration as a fraction on the same amount basis. | Required. Finite number; minimum 0; maximum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| excessSolute | Signed ingredient contribution relative to the target; same amount unit. | Required. Finite number. |
{
"input": {
"amount": 20,
"concentration": 0.6,
"targetConcentration": 0.4
},
"output": {
"excessSolute": 3.999999999999999
}
} Limitations and assumptions
- Use a common amount basis for the two concentration fractions. This is one signed target-balance contribution, not a complete mixture solution or a volume-contraction model.
- 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. Signed zero is exported as zero.
Alternative or Complementary methods
For a complete blend, assemble every component on one amount and concentration basis and solve the full material balance. Check whether the physical mixing process requires density or nonadditive-volume corrections.
References
Similar or alternative tools
- Blend Share Complement Gap
Return expectedComplement=1-firstShare and gap=suppliedComplement-expectedComplement, requiring both supplied shares between zero and one.
- Inertia Parallel Axis Contribution
Apply the parallel-axis theorem to two parallel rotation axes separated by an explicit distance.