Cumulative process mass intensity of a linear or convergent route, version 1.1.0
rxn-route-pmi@1.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; ACS GCIPR cumulative PMI; masses as entered, intermediates as assay mass; tree routes; no recycling credit. Reference kind: our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18.
Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.
Every version of this method · Every method · What the levels mean
Version 1.1.0
Level: Checked against a reference; ACS GCIPR cumulative PMI; masses as entered, intermediates as assay mass; tree routes; no recycling credit. Reference kind: our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18. rxn-route-pmi@1.1.0
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: Cumulative process mass intensity of a tree route, as the ACS GCI Pharmaceutical Roundtable Convergent PMI workbook computes it (re-read 14 November 2026, SHA-256 unchanged, every cell formula agrees). For each step: each edge's assay mass times its from-step's cumulative PMI, plus the step's own lines, over the step's product assay mass, in total and by ACS category. Catalyst and 'other' lines are counted with substrates and reagents (Drybench's mapping). Exact rational arithmetic, rounded once. Compared with the workbook's printed Basic Example, a linear route (no convergent example is printed), and with a second implementation in Python by a separate agent of the same model family (53 cases, 30 at the edges). Tree routes only; no recycling credit.
The ACS GCI Pharmaceutical Roundtable's cumulative PMI over a tree route: each step's PMI through rxn-step-pmi with its edges as substrate, and its cumulative PMI as every edge's assay mass times its from-step's cumulative PMI plus its own lines, over its product's assay mass; in total and by the ACS categories.
- How results are reported: none: full double precision from exact rational arithmetic (fewer significant bits below 2^−1022); the caller rounds
- Uncertainty: Exact arithmetic on the stated masses; no uncertainty is propagated.
- Reference, as its record states it: exact arithmetic in a Python program, with the ACS Convergent PMI tool's printed Basic Example; a second implementation in Python by a separate agent of the same model family
- Computes through:
rxn-step-pmi@1.0.1 - Level confirmed by this project's ruling of 14 November 2026
What this page can and cannot show
What was checked
77 cases in 3 files, linked by this exact version.
Run through the tool at build against our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18: 47 agree within the tolerance the file states, 30 refuse as the case expects, 0 differ, 0 were not run.
File 1, 22 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 (the water and category PMIs can be 0 and take the near-zero floor); ids, roles, flags, statuses and codes exact
File 2, 2 cases
- Where the expected values came from: the source's own worked example, ACS GCI Pharmaceutical Roundtable Convergent PMI tool, Basic Example sheet, read in full 10 November 2026
- 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: PMIs as printed to one decimal place, absolute 0.05 (half the last printed digit); masses relative 1e-12; ids, roles, statuses and codes exact
File 3, 53 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 (the water and category PMIs can be 0 and take the near-zero floor); ids, roles, flags, 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
Routes that are not trees; recycling and recovery; a convergent printed example (the ACS workbook prints a linear one only); comparability with published route PMIs, which depend on where a route starts.
Definition or model
A closed form: the result follows from the inputs by the equations alone.
Equations
Equation 1
cumPMI_k = (Σ_edges e into k m_e × cumPMI_from(e) + Σ_own lines of k m) / P_k
the same for each category
| Symbol | Meaning and unit |
|---|---|
| cumPMI_k | cumulative PMI of step k |
| m_e | assay mass of the intermediate charged on edge e, g |
| P_k | assay mass of step k's product, g |
Source: ACS GCI Pharmaceutical Roundtable, Convergent PMI tool (convergent-pmi-tool.xlsx), with the Roundtable's 2014 Convergent PMI presentation, equation the cumulative PMI cells of each step's metrics table; the presentation's slide 11, table sheets Instructions, Final Product PMI, Fragment 1–3 PMI, Summary Table rows 139–144 and Basic Example, workbook © 2015 American Chemical Society; presentation © 2014; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 8ae4c74af99b. Free to read (free download; no licence grant stated), checked 2026-11-11. No erratum found (searched acsgcipr.org tools page, the GCI Nexus blog, web search for an update or correction), 2026-11-11.
Two readings: ACS GCI Pharmaceutical Roundtable, Convergent PMI tool (convergent-pmi-tool.xlsx), with the Roundtable's 2014 Convergent PMI presentation, equation the cumulative PMI cells of each step's metrics table; the presentation's slide 11, table sheets Instructions, Final Product PMI, Fragment 1–3 PMI, Summary Table rows 139–144 and Basic Example can be read as 'Fragment PMI' (slide 11) read as the fragment's cumulative PMI, as the workbook computes it; catalyst and 'other' lines counted with substrates and reagents (the record's mapping) or as 'Fragment PMI' as the fragment step's own PMI. This project takes 'Fragment PMI' (slide 11) read as the fragment's cumulative PMI, as the workbook computes it; catalyst and 'other' lines counted with substrates and reagents (the record's mapping), because the workbook's cumulative cells (Basic Example D139–D143, through the Summary Table) take each fragment's cumulative PMI; the workbook has no catalyst or 'other' group. Taking 'Fragment PMI' as the fragment step's own PMI would give a different result.
Equation 2
substrates and reagents: reactant, reagent, catalyst and other lines, and edges
solvents: solvent lines
water: water lines
substrates, reagents and solvents: all but water. In the cumulative sum an edge's own mass is not counted again: it enters only as m_e × the from-step's cumulative PMI, category by category. An edge is listed by role as a reactant
| Symbol | Meaning and unit |
|---|---|
| category | an ACS GCIPR PMI category |
Source: ACS GCI Pharmaceutical Roundtable, Convergent PMI tool (convergent-pmi-tool.xlsx), with the Roundtable's 2014 Convergent PMI presentation, equation the cumulative PMI cells of each step's metrics table; the presentation's slide 11, table sheets Instructions, Final Product PMI, Fragment 1–3 PMI, Summary Table rows 139–144 and Basic Example, workbook © 2015 American Chemical Society; presentation © 2014; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 8ae4c74af99b. Free to read (free download; no licence grant stated), checked 2026-11-11. No erratum found (searched acsgcipr.org tools page, the GCI Nexus blog, web search for an update or correction), 2026-11-11.
Two readings: ACS GCI Pharmaceutical Roundtable, Convergent PMI tool (convergent-pmi-tool.xlsx), with the Roundtable's 2014 Convergent PMI presentation, equation the cumulative PMI cells of each step's metrics table; the presentation's slide 11, table sheets Instructions, Final Product PMI, Fragment 1–3 PMI, Summary Table rows 139–144 and Basic Example can be read as 'Fragment PMI' (slide 11) read as the fragment's cumulative PMI, as the workbook computes it; catalyst and 'other' lines counted with substrates and reagents (the record's mapping) or as 'Fragment PMI' as the fragment step's own PMI. This project takes 'Fragment PMI' (slide 11) read as the fragment's cumulative PMI, as the workbook computes it; catalyst and 'other' lines counted with substrates and reagents (the record's mapping), because the workbook's cumulative cells (Basic Example D139–D143, through the Summary Table) take each fragment's cumulative PMI; the workbook has no catalyst or 'other' group. Taking 'Fragment PMI' as the fragment step's own PMI would give a different result.
Constants
Constants: none used.
Worked example
Worked example: one case of rxn-route-pmi@1.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
- route[0].id = 1
- route[0].name = A to B
- route[0].lines[0].name = substrate
- route[0].lines[0].role = reactant
- route[0].lines[0].mass = 100 kg
- route[0].lines[1].name = reagents
- route[0].lines[1].role = reagent
- route[0].lines[1].mass = 80 kg
- route[0].lines[2].name = solvents
- route[0].lines[2].role = solvent
- route[0].lines[2].mass = 10 kg
- route[0].lines[3].name = aqueous
- route[0].lines[3].role = water
- route[0].lines[3].mass = 250 kg
- route[0].productAssayMass = 50 kg
- route[1].id = 2
- route[1].name = B to C
- route[1].lines[0].name = reagents
- route[1].lines[0].role = reagent
- route[1].lines[0].mass = 250 kg
- route[1].lines[1].name = solvents
- route[1].lines[1].role = solvent
- route[1].lines[1].mass = 500 kg
- route[1].lines[2].name = aqueous
- route[1].lines[2].role = water
- route[1].lines[2].mass = 1000 kg
- route[1].productAssayMass = 100 kg
- route[1].from[0].step = 1
- route[1].from[0].assayMass = 50 kg
Steps
- c1 = 8.8, from route[0].lines[0].mass, route[0].lines[1].mass, route[0].lines[2].mass, route[0].lines[3].mass, route[0].productAssayMass; by equation 1; gives perStep[0].cumulativeProcessMassIntensity.total.
- carried = 440000 g, from route[1].from[0].assayMass, c1; by equation 1.
- own = 1750000 g, from route[1].lines[0].mass, route[1].lines[1].mass, route[1].lines[2].mass; by a rule this method's record does not list as an equation.
- c2 = 21.9, from carried, own, route[1].productAssayMass; by equation 1; gives routeProcessMassIntensity.total.
The working, as the case writes it:
(50 × 8.8 + 250 + 500 + 1000)/100 = 21.9
Answer
perStep[0].cumulativeProcessMassIntensity.total= 8.8routeProcessMassIntensity.total= 21.9
Where these values came from: our own exact-arithmetic script and a hand-worked case; the ACS GCIPR tools' Basic Example, hand-worked.
At build the tool returned this answer within the tolerance the file states: every number relative 1e-12 (the water and category PMIs can be 0 and take the near-zero floor); ids, roles, flags, statuses and codes exact.
Who worked this case: not recorded.
What it refuses, and its input ranges
STEP_TAKEN_TWICE: a step's intermediate is taken by two steps, or listed twice: tree routes only Next: Enter the route as a tree, in which each intermediate feeds one step; a route with a shared intermediate is not computed here.SEVERAL_TARGETS: more than one step is taken by no other step: one target only Next: Enter one route per target, or link the steps so that one step is taken by no other.VALUE_NOT_REPRESENTABLE: a PMI, a role's mass or a contribution is not finite in doubles, or is not zero but rounds to zero. A value below 2^−1022 is served as a subnormal double, with fewer significant bits. Next: Give the masses in a unit nearer their size.DUPLICATE_STEP_ID(invalid input): two steps of the route share an idUNKNOWN_STEP(invalid input): a step takes from an id that is not a step of the routeROUTE_HAS_CYCLE(invalid input): the route has a cycle (a step naming itself included): it is not a routeROUTE_TOO_MANY_LINES(invalid input): the route has more than 1000 lines across its stepsQUANTITY_SOURCE(invalid input): a charge or a line gives not exactly one of its quantities (amount, mass or volume), or a reagent other than the reference carries a scaleDENSITY_MISSING(invalid input): a liquid, a mass-fraction solution or a line given by volume has no densityPRODUCT_EXCEEDS_INPUTS(invalid input): the product's assay mass is more than every line put in plus every intermediate charged into the step
Flags and notes a reply may carry
A flag says a number must be read differently:
CHARGE_ABOVE_PRODUCT_MADE: More of an intermediate is charged than the step that made it produced. Correct if it came from several batches; check that a solution mass was not entered.
A note a reply may carry:
OTHER_WITH_SUBSTRATES: Lines tagged other are counted with substrates and reagents in the ACS categories; the ACS tool has no separate place for them.
Changes
2026-11-14-rxn-route-pmi@1.1.0-1
2026-11-14 · rxn-route-pmi@1.1.0 · Corrections to our methods
- What was wrong: A step that took an intermediate from an earlier step was refused as PRODUCT_EXCEEDS_INPUTS when its product's assay mass was more than its own lines, even though it was not more than its own lines plus the intermediate charged. Such a step can balance: 100 g of intermediate and 20 g of reagent can give 110 g of product.
- Affected: rxn_route_pmi calls in version 1.0.0 with a convergent or linear step whose product outweighed its own lines but not its own lines plus the intermediates charged into it: these were refused where they should have been computed. No served number was wrong.
- What changed: In 1.1.0 PRODUCT_EXCEEDS_INPUTS is decided once, on the step's own lines plus every intermediate charged, as the record's equations already counted them. The own lines' role masses are the step's less the intermediates', exactly. No published case's output moved. The record also states that a PMI below 2^-1022 is served as a subnormal double with fewer significant bits, names the workbook's linear Basic Example as the only printed outside check, and labels the 'Fragment PMI' reading and the catalyst mapping.
- How it was found: A second implementation in Python by a separate agent of the same model family, in the raising run's full check of 14 November 2026 (finding SF-F9), and the CSO's batch-2 memo (RP1).
- Cases added: stored reference values: the second implementation's 53 cases, among them edge#product-above-lines-below-lines-plus-edge, each run through the tool.
Tools that use it
Cite this version
Cumulative process mass intensity of a linear or convergent route. Drybench; rxn-route-pmi@1.1.0; https://www.drybench.com/methods/m/rxn-route-pmi/1.1.0 (accessed [date]).