Skip to content

Methods and checksMethods

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

Methods and checks pages

Molar flows and equivalents delivered by pump flow rates and stock concentrations, version 1.0.2

rxn-flow-stoichiometry@1.0.2: 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; one solute per stream, or solvent only; equivalents as molar-flow ratios; nominal combined concentrations. Reference kind: our own exact-arithmetic script and a hand-worked case.

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 1.0.2

Level: Checked against a reference; one solute per stream, or solvent only; equivalents as molar-flow ratios; nominal combined concentrations. Reference kind: our own exact-arithmetic script and a hand-worked case. rxn-flow-stoichiometry@1.0.2

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: Molar flow ṅ = c·Q for each stream, from amount concentration c_B = n_B/V (IUPAC Green Book, 3rd edition, §2.10, p. 48, re-read 14 November 2026, its 2010 errata list not read; NIST SP 811 (2008) §8.6.5, read 14 November 2026) applied per unit time. Equivalents are molar-flow ratios on the reference stream, coefficients not applied. Combined concentrations are nominal, with volumes assumed to add. Each value is read as the decimal of its working value (M, mL/min); results are exact rationals rounded once. Compared with a second implementation in Python by a separate agent of the same model family (32 cases, 21 at the edges). No outside program. Not the concentration in the reactor.

Each solution stream delivers ṅ = c · Q; equivalents are ṅ over the reference stream's ṅ; each stream's nominal concentration in the combined flow is ṅ over the summed pump flow. Each value is read as the decimal of its working value (M, mL/min); results are exact rationals rounded once. The order of notes and flags carries no meaning.

  • How results are reported: none: full double precision from exact rational arithmetic
  • Uncertainty: Exact arithmetic on the stated concentrations and flows; no uncertainty is propagated.
  • Reference, as its record states it: exact arithmetic in a Python program; a second implementation in Python by a separate agent of the same model family
  • Level confirmed by this project's ruling of 14 November 2026

What this page can and cannot show

What was checked

43 cases in 2 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 23 agree within the tolerance the file states, 20 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 11 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-10
    • Reference: Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
    • Tolerance as the file states it: every number relative 1e-12; names, the reference, statuses and codes exact
  • File 2, 32 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-12; names, the reference, statuses and codes 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

Premixed stocks and neat streams (held for 1.1.0, with Drybench's cases S3 and S4); that a stream entered is one stock; the concentration in the reactor; pump calibration.

Definition or model

A closed form: the result follows from the inputs by the equations alone.

Equations

Equation 1

ṅ_i = c_i · Q_i (M × mL/min = mmol/min)
Symbol Meaning and unit
ṅ_i amount flow of stream i, mmol/min
c_i amount concentration of its stock, mol/L
Q_i its pump flow rate, mL/min

Source: Thompson A, Taylor BN. Guide for the Use of the International System of Units (SI), NIST Special Publication 811, Chapter 8: Comments on Some Quantities and Their Units, section §8.6.5: amount-of-substance concentration c_B = n_B/V, as the IUPAC Green Book, 3rd edition, §2.10 p. 48 (re-read 14 November 2026; its 2010 errata list not read); applied per unit time, Drybench's derivation, 2008 edition, the live web chapter, whose bytes change between retrievals (a Cloudflare script), so its text is pinned: read 14 November 2026, SHA-256 of its text 189216de9c6460f6df2ddf13669c29ef7262a06ee8670a10057d1c2060ade1ba (script, style and comment blocks and tags removed, entities decoded, whitespace collapsed to single spaces, UTF-8), equal on two retrievals; the byte SHA-256 is of the first retrieval; read in full on 2026-11-14 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 7225b07fb4bf. Free to read (a US government work; free to read and cite), checked 2026-11-14. No erratum found (searched the SP 811 landing page (nist.gov/pml/special-publication-811) as retrieved 14 November 2026, the Chapter 8 page as retrieved), 2026-11-14.

Equation 2

Definition: equivalents: amount flow of a stream per amount flow of the reference stream.

equiv_i = ṅ_i / ṅ_ref
Symbol Meaning and unit
equiv_i equivalents of stream i on the reference stream (coefficients not applied), equiv

Equation 3

Definition: summed volumetric flow at the pumps.

ΣQ = Σ_i Q_i
Symbol Meaning and unit
ΣQ summed volumetric flow at the pumps, mL/min

Equation 4

Definition: nominal concentration in the combined flow: amount flow per summed pump flow.

c_i,combined = ṅ_i / ΣQ
Symbol Meaning and unit
c_i,combined nominal concentration in the combined flow, M
ΣQ summed volumetric flow at the pumps, mL/min

Constants

Constants: none used.

Worked example

Worked example: one case of rxn-flow-stoichiometry@1.0.2, 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

  • streams[0].name = A
  • streams[0].flowRate = 0.4 mL/min
  • streams[0].concentration = 0.5 M
  • streams[0].reference = true
  • streams[1].name = B
  • streams[1].flowRate = 0.3 mL/min
  • streams[1].concentration = 1 M
  • streams[1].reference = false

Steps

  1. nA = 0.2 mmol/min, from streams[0].concentration, streams[0].flowRate; by equation 1; gives streams[0].molarFlowRate.
  2. nB = 0.3 mmol/min, from streams[1].concentration, streams[1].flowRate; by equation 1; gives streams[1].molarFlowRate.
  3. eqB = 1.5 equiv, from nB, nA; by equation 2; gives streams[1].equivalents.
  4. Q = 0.7 mL/min, from streams[0].flowRate, streams[1].flowRate; by equation 3; gives summedPumpFlowRate.
  5. cB = 0.42857143 M, from nB, Q; by equation 4; gives streams[1].nominalConcentrationInCombinedFlow.

The working, as the case writes it:

ṅ_A = 0.50 × 0.40 = 0.20 mmol/min
ṅ_B = 0.30
equiv_B = 1.5
ΣQ = 0.70 mL/min
c_A = 0.20/0.70 = 2/7 M
c_B = 3/7 M

Answer

  • streams[0].molarFlowRate = 0.2 mmol/min
  • streams[1].molarFlowRate = 0.3 mmol/min
  • streams[1].equivalents = 1.5 equiv
  • summedPumpFlowRate = 0.7 mL/min
  • streams[1].nominalConcentrationInCombinedFlow = 0.42857143 M

Where these values came from: our own exact-arithmetic script and a hand-worked case; worked by hand by Drybench (ruling, Q5).

At build the tool returned this answer within the tolerance the file states: every number relative 1e-12; names, the reference, statuses and codes exact.

Who worked this case: not recorded.

What it refuses, and its input ranges

  • REFERENCE_COUNT (invalid input): not exactly one reagent is the reference
  • REFERENCE_WITHOUT_CONCENTRATION (invalid input): the reference stream has no concentration: a solvent-only stream cannot be the reference

Flags and notes a reply may carry

A note a reply may carry:

  • EQUIV_BASIS: equiv: moles of each reagent per mole of the reference reagent named in the result; mol% is equiv × 100.
  • NOMINAL_COMBINED_CONCENTRATION: Amount flow ÷ summed pump flow. Assumes volumes add on mixing, which they do not exactly; this is not the concentration in the reactor.

Changes

2026-11-24-rxn-flow-stoichiometry@1.0.2-1

2026-11-24 · rxn-flow-stoichiometry@1.0.2 · Corrections to our methods

  • What was wrong: A value whose exact rational was not zero but lay below the smallest double was served as 0: a stream's equivalents or concentration in the combined flow. For example, stored reference values#S1-two-streams with the second stream's flow rate set to 1e-300 mL/min and the first's to 1e300 mL/min: the second stream's equivalents, non-zero but below the smallest double, were served as 0.
  • Affected: rxn_flow_stoichiometry (served, verified, on 24 November 2026 until held by SCI-951) at rxn-flow-stoichiometry 1.0.1 and earlier, at extreme stated values only, where an exact result underflows the double range. No landed case reaches it: every pinned output hash is unchanged.
  • What changed: In 1.0.2 the shared qty in stored reference values gives NaN for a non-zero rational that rounds to 0, which the kit refuses whole as RESULT_OUTSIDE_DOUBLE_RANGE, as a value above the double range or a subnormal one already was. Every pinned output hash is unchanged.
  • How it was found: A sweep of the synthetic-chemistry tools using the shared qty (D-0273 lane A, 24 November 2026; known issue D0273-A2): each pair of numeric arguments of their first three computed fixture cases set to 1e-300 and 1e300, and to 1e-160 and 1e160, before and after the fix.
  • Cases added: None in the fixtures (the kit's own double-range refusal is never a published case); the sweep's changed replies are recorded in stored reference values.

Tools that use it

Cite this version

Molar flows and equivalents delivered by pump flow rates and stock concentrations. Drybench; rxn-flow-stoichiometry@1.0.2; https://www.drybench.com/methods/m/rxn-flow-stoichiometry/1.0.2 (accessed [date]).