breos.plotting.plot_co2_savings#

breos.plotting.plot_co2_savings(cost_projection, results_directory, scenario_name='')[source]#

Plot CO2 emissions avoided over system lifetime.

Creates co2_savings_{scenario}.png showing yearly CO2 avoided (total and self-consumed) as bars with a cumulative line.

Parameters:
  • cost_projection (DataFrame) – DataFrame from cost_analysis_projection() with CO2 columns

  • results_directory (str) – Directory to save plots

  • scenario_name (str) – Optional suffix for filenames

Return type:

None