The Cost-Benefit Analysis (CBA) workflow is implemented in rules/cba.smk. Rules are organised into stages: Retrieve, Build MSV, Build rolling, Postprocess, Benchmarking and Collect.
Downloads the CBA project explorer dataset, containing project definitions.
Downloads non-CO₂ emission factors (NOx, SO₂, PM, etc.) used to compute B4 indicators.
Downloads the CBA Implementation Guidelines reference project table
(table_B1_CBA_Implementations_Guidelines_TYNDP2024.csv) used to reconcile SB investments
with CBA project definitions.
Downloads pre-solved SB networks from a previous Open-TYNDP release for use as CBA inputs
when cba.cba_scenario_input.use_presolved is true.
::: clean_projects
::: clean_tyndp_indicators
::: simplify_sb_network
::: fix_reference_sb_to_cba
::: prepare_reference
::: build_msv_snapshot_weightings
::: solve_cba_msv_extraction
::: prepare_rolling_horizon
::: prepare_project
Solves the reference network using the rolling horizon approach. Shares the script with
solve_cba_network.
::: solve_cba_network
Solves the CBA network using the rolling horizon approach. Shares the script with solve_cba_reference_network.
::: solve_cba_network
::: make_indicators
::: collect_indicators
::: plot_indicators
Plots per-project indicator benchmarking charts comparing computed indicators against
TYNDP 2024 reference values. Shares the script with plot_weather_benchmark.
::: plot_benchmark_indicators
Plots weather ensemble benchmarking charts from indicators aggregated across climate years.
Shares the script with plot_cba_benchmark.
::: plot_benchmark_indicators
::: average_indicators
::: summarize_indicators
::: summarize_all
Aggregate rules that run the corresponding base rule across all configured wildcards. They do not have dedicated scripts.
Aggregate prepare_reference outputs.
Collects all per-scenario outputs (indicator plots, benchmark charts) into a single target
for a single climate year run (e.g. NT-cy2009).
Top-level target rule. Collects ensemble outputs from all climate year runs in a collection
scenario (e.g. NT-cyears) and the per-scenario results from nested runs.