Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Multi-component recipe, version 2.1.0

recipe-table@2.1.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

Every version of this method · Every method · What the levels mean

Version 2.1.0

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. recipe-table@2.1.0

What this page can and cannot show

What was checked

Checked against exact rational arithmetic (Python fractions) on 27 cases, 12 of them refused: each component's mass or volume and the diluent to nine significant figures; refusals, and the 9 recipes with a weighed or volume-fraction component that give no diluent volume, exact; 28 October 2026.

27 cases in 1 file, linked by this exact version.

These cases are stated in the app's own terms, not as the tool's arguments, so the build did not run them through the tool; the app's own tests run them.

  • File 1, 27 cases
    • Where the expected values came from: not recorded. This level uses the apps' wider definition on the levels page
    • Recorded on: 2026-10-28
    • Reference: Python fractions, Python 3.13.16 fractions
    • Tolerance as the file states it: amounts and diluent relative 1e-9; validity, problems, which amount each line has and diluentWithheld exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

Non-additive mixing is not modelled: a recipe with a weighed solid or a volume fraction is made up to volume and no diluent is given, and for liquid stocks additivity is assumed. Whether a component dissolves at the amount given is not checked. No published case set names recipe-table@2.1.0 by its exact key. The hand case is a draft worked by an AI session on 12 November 2026 from the source's equation; this session also ran it through the tool on this repository's head and the tool agreed, a check made once and not kept as a test. The same file holds a second case, an all-liquid recipe with its diluent (hand-all-liquid-diluent). No case runs this method through the served tool on its production runtime. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.

Equations

Equation 1

Definition: Amount of substance n = C·V; the mass of a form of purity p that holds n is n·M/p; a mass concentration ρ in a volume V is a mass ρ·V. A definition, not a model (this project's ruling of 11 November 2026, section S11(a)).

A component weighed as a solid: m = C·V·M/p for a molar target (stock-salt-purity@1.0.0), m = ρ·V/p for a mass-concentration target.
Symbol Meaning and unit
m mass to weigh, g
C molar concentration wanted in the final solution, mol/L
ρ mass concentration wanted in the final solution, g/L
V final volume the recipe is made up to, L
M formula weight of the form weighed, as typed, g/mol
p purity as a mass fraction of the form weighed (1 when not given), 1

Equation 2

Definition: Amount of substance (or mass) is conserved on dilution: C1·V1 = C2·V2. A volume fraction φ of a final volume V2 is the volume φ·V2. A definition, not a model (this project's ruling of 11 November 2026, section S11(a)).

A component taken from a liquid stock: V1 = C2·V2/C1, both concentrations on one basis. Where the target is molar and the stock is by mass, V1 = C2·V2·M/ρ1
where the target is by mass and the stock molar, V1 = ρ2·V2/(C1·M).
Symbol Meaning and unit
V1 volume of stock to take, L
C1, ρ1 the stock's molar or mass concentration, mol/L, g/L
C2, ρ2 the molar or mass concentration wanted, mol/L, g/L
V2 final volume, L

Equation 3

Definition: Amount of substance (or mass) is conserved on dilution: C1·V1 = C2·V2. A volume fraction φ of a final volume V2 is the volume φ·V2. A definition, not a model (this project's ruling of 11 November 2026, section S11(a)).

A component wanted as a volume fraction: V1 = φ·V2.
Symbol Meaning and unit
φ volume fraction of the final volume (0.1 for 10 percent v/v), 1

Equation 4

Definition: Amount of substance (or mass) is conserved on dilution: C1·V1 = C2·V2. A volume fraction φ of a final volume V2 is the volume φ·V2. A definition, not a model (this project's ruling of 11 November 2026, section S11(a)).

Diluent = V2 − ΣV1, given only when every line is taken from a liquid stock.
Symbol Meaning and unit
ΣV1 sum of the stock volumes, L

Constants

Constants: none used.

Worked example

Worked example: one case of recipe-table@2.1.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • finalVolume = 500 mL
  • components[0].name = Solid A
  • components[0].target = 50 mM
  • components[0].formulaWeight = 120
  • components[1].name = Solid B
  • components[1].target = 2 g/L
  • components[1].purityPercent = 98
  • components[2].name = Stock C
  • components[2].target = 150 mM
  • components[2].fromStock = 5 M
  • components[3].name = Liquid D
  • components[3].volumePercent = 10
  • components[4].name = Stock E
  • components[4].target = 0.5 g/L
  • components[4].fromStock = 100 g/L
  • components[5].name = Stock F
  • components[5].target = 1 mM
  • components[5].formulaWeight = 200
  • components[5].fromStock = 20 g/L

Steps

  1. solid-a: m = C·V·M/p = 3 g g, from component = weighed; 50 mM wanted; formula weight 120 g/mol; purity 100 percent, V2 = 0.5 L; gives Solid A.
  2. solid-b: m = ρ·V/p = 1.02040816 g g, from component = weighed; 2 g/L wanted; purity 98 percent, V2 = 0.5 L; gives Solid B.
  3. stock-c: V1 = C2·V2/C1 = 0.015 L L, from component = 150 mM wanted from a 5 M stock, V2 = 0.5 L; gives Stock C.
  4. liquid-d: V1 = φ·V2 = 0.05 L L, from component = 10 percent v/v, V2 = 0.5 L; gives Liquid D.
  5. stock-e: V1 = ρ2·V2/ρ1 = 0.0025 L L, from component = 0.5 g/L wanted from a 100 g/L stock, V2 = 0.5 L; gives Stock E.
  6. stock-f: V1 = C2·V2·M/ρ1 = 0.005 L L, from component = 1 mM wanted (formula weight 200 g/mol) from a 20 g/L stock, V2 = 0.5 L; gives Stock F.
  7. liquids: sum of the volumes taken = 0.0725 L L.
  8. diluent: given only when every line is taken from a liquid stock = not given: two lines are weighed solids and one is a volume fraction, so the recipe is made up to 0.5 L.

The working, as the case writes it:

m = C·V·M/p
m = ρ·V/p
V1 = C2·V2/C1
V1 = φ·V2
V1 = ρ2·V2/ρ1
V1 = C2·V2·M/ρ1.

Answer

  • Solid A = 3 g g
  • Solid B = 1.02040816 g g
  • Stock C = 0.015 L L
  • Liquid D = 0.05 L L
  • Stock E = 0.0025 L L
  • Stock F = 0.005 L L

Where these values came from: our own exact-arithmetic script and a hand-worked case; The definitions (see origin).

The build has not run this example through the tool.

Worked by an AI session on 2026-11-12. No person has yet worked this case.

What it refuses, and its input ranges

  • NEEDS_COMPONENTS: The components array is empty (status refused).
  • INVALID_COMPONENTS: A component gives no valid amount: non-positive target, purity outside (0, 100] %, non-positive stock concentration, or missing formulaWeight where needed (status refused, partial lines carry withheld rules LINE_NEEDS_FORMULA_WEIGHT, LINE_NON_POSITIVE, LINE_INVALID_STOCK, LINE_INVALID_PURITY, LINE_NON_FINITE).
  • STOCKS_EXCEED_FINAL_VOLUME: The stock volumes together exceed the final volume (status refused).
  • WEIGHED_SOLID: Withheld rule on result.diluent when any component is weighed as a solid.
  • VOLUME_FRACTION: Withheld rule on result.diluent when any component specifies volumeShare.
  • WEIGHED_SOLID_AND_VOLUME_FRACTION: Withheld rule on result.diluent when both weighed solids and volumeShare components appear.
  • CONFLICTING_TARGET: A component carries both target and volumeShare, or volumeShare alongside formulaWeight/fromStock (invalid-input).
  • UNKNOWN_ARGUMENT: A field the component does not take (invalid-input).

Changes

No correction is logged for recipe-table@2.1.0.

Tools that use it

Cite this version

Multi-component recipe. Drybench; recipe-table@2.1.0; https://www.drybench.com/methods/m/recipe-table/2.1.0 (accessed [date]).