Examples
Runnable examples
Every page below embeds the full source of real Python scripts from the public VoLCA examples project - the same files the maintainers run. Except the standalone export check, they expect a running VoLCA engine with the relevant database loaded; each page states its exact prerequisites.
Interoperability proof
Agribalyse to ILCD and EcoSpold 1/2
A reproducible check: load the SimaPro CSV, export to ILCD and EcoSpold 1/2, and verify checksums, timings, and dataset counts with a standalone script.
See the runnable example →
What-if analysis
Swap conventional for organic wheat across Agribalyse
Find farm-gate ingredients upstream of processed products and substitute them with alternatives - one guided product, or every affected product in the database.
See the runnable example →
Supply-chain slicing
Split a supply chain by classification path
Group a product’s supply chain by the classifications the database already carries and extract the animal-feed share to CSV - no ML, the categories come from the data.
See the runnable example →
Numerical check
VoLCA EF 3.1 scores vs the official BAFU results
Score BAFU 2026v1 with four EF 3.1 collections, compare against the official BAFU LCIA Results spreadsheet, and get deviation statistics plus an optional HTML report.
See the runnable example →
Linked databases
Trace a supply chain across linked databases
List every activity a computation actually reaches, dump its cross-database exchanges with amounts and units, and diagnose unit or scaling mismatches.
See the runnable example →
Frontend data pipeline
Score every Ecobalyse activity with VoLCA
Load the Ecobalyse SimaPro exports, compute EF 3.1 and single scores per activity, and write Ecobalyse- and EcoFoodChoice-shaped JSON another frontend can consume.
See the runnable example →
Looking for the workflow behind a script?
Each example is attached to a use case that explains the problem it solves and the product surfaces involved.