Elementary flow and factor mapping
Explains TianGong LCA's five-tuple elementary flow matching, off-axis factor isolation, 56 environmental compartments, regionalized duplicate convergence, frontend vs. backend uncharacterized-flow evidence boundaries, private dictionary release handoff, and cross-database mapping losses.
In LCA practice, the most deceptive errors rarely come from matrix algebra—they come from elementary flows failing to map onto LCIA characterization factors because of a wrong compartment, a drifted flow version, or collapsed fossil/biogenic carbon during format conversion. This page documents TianGong LCA's exact mapping rules, off-axis factor isolation, compartment hierarchy, gap-evidence security boundaries, private dictionary release requirements, and cross-database troubleshooting checks.
Why elementary flow mapping drives LCIA accuracy
After matrix solving produces the elementary inventory g = B x, impact scoring computes h = C g. Only elementary flows matching an exact characterization factor contribute numerically to the 25 built-in LCIA methods. Unmatched flows are never silently scored as zero (they are logged in coverage evidence), yet they contribute nothing to category totals—so mis-mapping a major fossil carbon dioxide or methane flow can severely understate a carbon footprint.
Five-tuple exact matching and off-axis factor isolation
Frontend and backend apply the same exact five-tuple key across all 25 built-in LCIA methods:
- Canonical method UUID: Identifies one of the 25 built-in methods (with verified alias normalization).
- Method version: For example
01.00.000for Climate change or03.00.014for Water use. - Elementary flow UUID: Uniquely identifies substance, source origin (fossil, biogenic, LULUC), and chemical speciation.
- Exact elementary flow version: Must match the indexed version in the factor bundle; other versions of the same UUID never fall back automatically.
- Exchange direction (Input / Output): Natural resource extractions (coal, freshwater withdrawal, land occupation) match Input; environmental emissions (greenhouse gases, nutrients, heavy metals) match Output.
The backend solver also enforces two architectural isolation rules:
- Off-axis factors never enter matrix
Cor readiness counts: The snapshot builder constructs its biosphere axis exclusively from elementary flow versions actually referenced by the final process dependency set. Any factor outside that biosphere axis or direction ("off-axis factor") never enters characterization matrixC, never triggers source blockers, and never enters provider metrics; valid factor targets must resolve to elementary flows. - Characterization factors never influence supplier selection: LCIA factors act solely during impact assessment and never affect technosphere matrix
Aprovider linking or routing weights.
Why is fuzzy name matching prohibited? "Carbon dioxide" carries sharply different characterization factors across compartments and carbon origins (fossil, biogenic, LULUC), and heavy-metal oxidation states (such as Cr(III) vs. Cr(VI)) differ by orders of magnitude in toxicity. Fuzzy name matching inflates apparent match rates while silently introducing scientific errors.
56 environmental compartments and flow selection rules
TianGong bundles 56 ILCD Format 1.1 / EF 3.1 elementary flow compartments (with project extensions) organized into four top-level ILCD branches—1 Emissions (18 nodes), 2 Resources (34 nodes), 3 Land use (3 nodes), and 4 Other elementary flows (1 node):
| Compartment group (ILCD branch) | Representative sub-compartments | Selection cautions |
|---|---|---|
Emissions to air (1.3 Emissions to air) | Urban air close to ground, non-urban air or high stacks, lower stratosphere and upper troposphere, air unspecified, air unspecified (long-term), indoor | Particulate matter, photochemical ozone, and human toxicity factors are highly sensitive to release height, indoor/outdoor context, and population density; avoid confusing urban ground-level emissions with stratosphere |
Emissions to water (1.1 Emissions to water) | Fresh water, sea water, water unspecified, water unspecified (long-term) | Eutrophication depends on limiting nutrients by receiving water (kg P eq for freshwater, kg N eq for marine); wrong compartments miss factors |
Emissions to soil (1.2 Emissions to soil) | Agricultural soil, non-agricultural soil, soil unspecified, soil unspecified (long-term) | Distinguish agricultural vs. non-agricultural soil for fertilizers and heavy-metal deposition, and note long-term emissions |
Resources (2 Resources) | Renewable and non-renewable material, element, energy, and genetic resources from ground, water, air, and biosphere | Must use Input direction; verify mass (kg), volumetric (m³), or energy (MJ) units and corresponding unit groups |
Land use (3 Land use) | Land occupation (3.1 Land occupation), land transformation (3.2 Land transformation) | Distinguish occupation (area-time m²·a) from transformation (area m²) and land-cover types rather than folding land use into Resources |
Other elementary flows (4 Other elementary flows) | Elementary flows outside the emissions, resources, and land-use branches above | Check whether target LCIA methods publish characterization factors for the chosen flow before use |
Deterministic convergence of regionalized duplicate factors
The upstream EF 3.1 reference package ships both global defaults and hundreds of country/watershed regionalized factors for several categories (notably 36,252 land-use duplicates, 2,299 water-use duplicates, 900 each for acidification and particulate matter, 720 for photochemical ozone, and 540 each for marine and terrestrial eutrophication).
Under TianGong's non-regionalized default profile:
- Build-time indexing uses an XML-verified, byte-locked default mapping file to pick one non-regional default factor per
(method, flow version, direction)key; - Regional variants are never summed together, and process/exchange location codes do not trigger regionalized characterization factors;
- Any unexplained duplicate family fails source integrity validation at build time.
For studies focused on water-scarce basins (regionalized AWARE) or local land-use impacts, disclose that platform scores use non-regional defaults and export the inventory if regionalized post-processing is required.
Frontend vs. backend gap-evidence formats and URL security
Unmatched elementary flows are recorded in separate frontend and backend formats with strict browser link security:
| Origin | Gap-evidence format | Web UI visibility and download policy |
|---|---|---|
| Frontend browser single-process LCIA | Inline v1 uncharacterized JSONL evidence | Embedded inside browser-generated process LCIA coverage evidence and exportable directly |
| Backend Worker calculation service | External v2 uncharacterized JSONL artifact | Raw Worker or object-storage artifact URLs are never treated as trusted browser download links. The production UI hides raw storage URLs, displays the immutable artifact hash and gap count, and lets users download the full calculation evidence JSON for auditing (explicit local loopback URLs remain clickable only in development) |
Release handoff boundary for private third-party flow properties and unit groups
Teams conducting cross-database work may retain private third-party flow properties or unit groups (such as Swiss BAFU dictionaries) inside private workspaces. That isolation is fully compatible with platform contracts; however, promoting private third-party dictionaries to public release requires an explicit publication review documenting all five items below—merely having characterization factors hit is never proof of public-release suitability:
- Exact flow-property and unit-group UUIDs and versions;
- Reviewed static LCIA bundle manifest hash;
- Method-source provenance evidence;
- Unit-conversion decisions and verification rationale;
- Measured impact on coverage across all 25 built-in LCIA methods.
Common cross-database mapping losses and remedies
Migrating packages between TianGong (TIDAS/EF 3.1) and ecoinvent, openLCA, USLCI, or SimaPro commonly triggers five mapping failures:
| Mapping failure | Root cause | Impact and remedy |
|---|---|---|
| Flow UUID absent from built-in factor bundle | Creating a custom elementary flow with the same name in My Data instead of reusing the standard EF/TIDAS flow from Open Data | Zero factor hits; always search and reuse existing Open Data elementary flows first |
| Same UUID, drifted flow version | Importing older ILCD packages whose flow version differs from the indexed bundle version | Exact matching never falls back; audit flow reference versions locally with the TIDAS Toolkit Guide before upload |
| Collapsed fossil/biogenic/LULUC carbon | External inventory merges all releases into generic Carbon dioxide | Distorts climate-change sub-indicators; split flows explicitly by fuel and process origin during conversion |
| Reversed exchange direction | Recording resource extractions as outputs or mixing negative inputs with positive outputs | Misses factors or flips signs; verify resources as inputs and emissions as outputs |
| Incompatible units or flow properties | Using custom unit groups or wiring a mass flow to an energy flow property | Prevents accurate conversion to factor reference units; reuse standard Flow Properties and Unit Groups |
Four-step flow-mapping verification checklist
- Reuse standard elementary flows first: When adding emissions or resource inputs under Inputs and Outputs, search Open Data → Flows by standard English chemical name or CAS number before creating anything new.
- Verify compartment, direction, and unit: Confirm every elementary flow matches its intended compartment branch (emissions, resources, land use, or other elementary flows), direction (resource input, emission output), and standard unit.
- Inspect uncharacterized-flow evidence: Run LCIA or export calculation evidence JSON in Data Processing and verify that major greenhouse gases, acidifying gases, and key process pollutants are not listed as uncharacterized.
- Separate true method gaps from mis-selected flows: Specialty substances genuinely outside EF 3.1 coverage should be disclosed transparently; common pollutants appearing as unmatched indicate wrong UUID, version, or direction and should be corrected immediately.
Technical reference
| Identifier | Plain meaning | Where a user can encounter it |
|---|---|---|
flow_factors.json.gz | SHA-256-locked compressed characterization-factor index (319,575 raw entries) | Platform static manifest cache_manifest.json |
nonregional_defaults.json | Byte-locked default factor table resolving 42,871 regionalized duplicates | Platform and Worker validation contracts |
lcia.factor_index_summary.v1 | Factor index summary object in the manifest (89,070 unique flow-dir keys, 276,704 method-flow-dir keys) | Static site asset /lciamethods/cache_manifest.json and exported calculation evidence JSON |
lcia-uncharacterized-jsonl:v1 / v2 | Inline frontend and external backend formats logging uncharacterized elementary flow pairs | Calculation evidence downloads and audit archives |
elementaryFlowCategorization | 56-compartment environmental hierarchy container on elementary flow objects | Exported TIDAS/ILCD flow JSON and XML |
LCIA method implementation
Lists all 25 built-in static LCIA methods with versions, units, factor counts, and the verified alias, and documents browser SHA-256 cache trust, v2 calculation-evidence completeness invariants, non-regionalized defaults, and frozen metadata on published results.
Generated data and release artifacts
Clarifies TianGong LCA's five generated artifact layers, U(P)/R(P)/M(P) result materialization and one-hop reconstruction, six model-connection conditions, deterministic UUIDv5 identity and batch versioning, derived-result intake, isolated archive readback, and three trust boundaries.