The two cases use different methods: trade-content attribution for nickel and structural path analysis for motor vehicles. Each has its own notebook and source years.
Nickel: trade, embodied impacts and exposure#
Inputs · EXIOBASE monetary product-by-product archives for 2013 and 2014. Item · Nickel ores and concentrates. Outputs · Trade matrices, embodied value added and CO2, concentration and exposure indicators.
Bilateral trade in the example’s first year. Domestic flows are part of the returned trade matrix.#
Analysis steps#
1 · Align years
Parse 2013, rename its baseline to "2013", and import 2014 as a
second scenario. Keep the same native classification across both.
2 · Locate trade
trade = db.calc_trades(
item="Nickel ores and concentrates", scenario="2013",
aggregate=False, total=True,
)
Separate intermediate and final transactions, then compare years or group origin regions into continents.
3 · Attribute impacts
content = db.calc_trades_content(
indicator="total value added",
item="Nickel ores and concentrates", scenario="2013",
method="upstream", breakdown=True,
)
The contributor breakdown identifies production behind each trade pair, beyond the observed exporter.
4 · Measure dependence
Compare concentration across contributors with exposure to a chosen
group of regions. Repeat for an available satellite account such as
CO2 - combustion - air.
Interpretation: concentrated supply and high exposure answer different questions. Neither measures the absolute size of a flow. Signed indicators need additional care because shares can involve cancellation.
Method definitions and a runnable small example: Trade and supply-chain analysis.
Motor vehicles: structural paths#
Input · EXIOBASE 3.10.1, product-by-product IOT, 2022, with emissions. Question · Which production paths contribute to the selected German final-demand bundle’s combustion CO2 footprint?
Example output from the companion notebook. Only retained paths are shown; the plot is not the complete footprint.#
Analysis steps#
1 · Select demand
Parse IOT_2022_pxp.zip. Select Motor vehicles, trailers and
semi-trailers (34) and rank its German final-demand categories.
The notebook chooses the largest non-zero bundle.
2 · Set the threshold
Calculate the bundle’s total footprint first. The example sets the pruning threshold to 0.1% of its absolute value and explores at most ten upstream rounds.
3 · Trace and inspect
spa = db.calc_spa(
indicator="CO2 - combustion - air",
item=SECTOR, final_demand_region=FOCUS_REGION,
final_demand_category=FOCUS_CATEGORY,
max_depth=10, cutoff=CUTOFF, top_n=20,
plot="sankey", show_plot=True,
)
spa.attrs["coverage_share"]
The notebook defines the selectors and CUTOFF in the preceding steps.
Compare reported contribution with the full bundle total.
Compare paths with the depth summary
Repeat with top_n=None and plot="depth" to group retained
contributions by upstream round. This removes the returned-row cap, but
depth and pruning limits still apply.
For a small runnable example, output definitions and limitations, start with Structural path analysis.