Skip to content

Equivalents delivered by pump flow rates and stock concentrations

rxn_flow_stoichiometry

Works out the molar flow and equivalents of each stream from stock concentration and flow rate.

Runs
On the server
Level
Checked against a reference: exact arithmetic in a Python program; a second implementation in Python by a separate agent of the same model family
Ask your assistant

What it is

Returns each stream's molar flow and equivalents on the reference stream, from stock concentration and flow rate. Use when each pump carries a stock of one solute, or solvent only. Not for batch amounts from equivalents: use `rxn_stoichiometry_table`; not for the residence time: use `rxn_flow_residence_time`. A stock carrying two reagents is not taken; do not enter it as two streams.

Field: Medicinal and synthetic chemistry.

What it does

You give

  • streams (required): Every stream fed to the reactor, one marked as the reference.

No request is recorded for this tool.

Limits

  • Bench and process arithmetic on a reaction you write down.
  • Research and education software: it does not predict products or routes, check that the chemistry will work, or assess hazards.
  • Arithmetic on the stock concentrations and pump flows you state.
  • Equivalents are ratios of molar flows to the reference stream; reaction coefficients are not applied.
  • Concentrations in the combined flow divide by the summed pump flow and assume volumes add, which they do not exactly; they are not the concentrations in the reactor, and pump calibration is not checked.
  • Each stream carries one solute in solution, or solvent only.
  • A premixed stock of two or more reagents, and a neat reagent, are not accepted in this version.
  • Do not enter one premixed stock as several streams: its flow would be counted once per stream.
  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

It will not answer when

  • not exactly one reagent is the reference.
  • the reference stream has no concentration: a solvent-only stream cannot be the reference.
Every input, with its units1 input
  • streams (required): Every stream fed to the reactor, one marked as the reference.
Every refusal, with its code2 refusals
CodeWhen
REFERENCE_COUNTnot exactly one reagent is the reference.
REFERENCE_WITHOUT_CONCENTRATIONthe reference stream has no concentration: a solvent-only stream cannot be the reference.

The calculation

The method's equations, constants and worked example.

Molar flows and equivalents delivered by pump flow rates and stock concentrationsrxn-flow-stoichiometry@1.0.2

Equation 1

ṅ_i = c_i · Q_i (M × mL/min = mmol/min)

SymbolMeaning
ṅ_iamount flow of stream i, mmol/min
c_iamount concentration of its stock, mol/L
Q_iits pump flow rate, mL/min

Source 1.

Equation 2

equiv_i = ṅ_i / ṅ_ref

SymbolMeaning
equiv_iequivalents of stream i on the reference stream (coefficients not applied), equiv

Equation 3

ΣQ=ΣiQi
SymbolMeaning
ΣQsummed volumetric flow at the pumps, mL/min

Equation 4

c_i,combined = ṅ_i / ΣQ

SymbolMeaning
c_i,combinednominal concentration in the combined flow, M
ΣQsummed volumetric flow at the pumps, mL/min

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

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.

Sources

  1. 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

    Used for: Molar flows and equivalents delivered by pump flow rates and stock concentrations. At: 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.

    Read in full, 14 November 2026

How it is checked

Level

Checked against a reference.

Checked against

Our own exact-arithmetic script and a hand-worked case.

Cases

No case set is linked to this version.

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.

Changes to its methods1 change
  • 24 November 2026, rxn-flow-stoichiometry@1.0.2: 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.