PyPSA / pypsa-ariadne

High resolution, sector-coupled model of the German Energy System
https://ariadneprojekt.de/en/model-documentation-pypsa/
MIT License
12 stars 4 forks source link

Co2 accounting refactor #197

Closed lindnemi closed 1 week ago

lindnemi commented 1 week ago

Another refactor of how we account CO2 emissions. Most important guidelines:

Before asking for a review for this PR make sure to complete the following checklist:

github-actions[bot] commented 1 week ago

Validator Report

I am the Validator. Download all artifacts here. I'll be back and edit this comment for each new commit.

:warning: Config changes detected! Results may differ due to these changes: ```diff diff --git a/config/config.yaml b/config/config.yaml index 7f6a4c8..9ad25fa 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -4,7 +4,7 @@ # docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#run run: - prefix: 240919_nep_2021_costs + prefix: 240919_emissions_accounting name: # - CurrentPolicies - KN2045_Bal_v4 ```

Ariadne Variables No significant changes in variables detected. :white_check_mark:

General

Plots comparison
Main branch Feature branch
Image not available Image not available
Image not available Image not available
Image not available Image not available
Image not available Image not available
Image not available Image not available
Image not available Image not available
Files comparison
Status NRMSE MAE (norm)
csvs/nodal_capacities.csv :white_check_mark: Almost equal 0.000 0.00
csvs/nodal_supply_energy.csv :white_check_mark: Almost equal 0.000 0.01
csvs/costs.csv :white_check_mark: Almost equal 0.002 0.01
csvs/cfs.csv :white_check_mark: Almost equal 0.027 0.01
csvs/cumulative_cost.csv :white_check_mark: Almost equal 0.003 0.11
csvs/price_statistics.csv :white_check_mark: Almost equal 0.006 0.18
csvs/nodal_cfs.csv :white_check_mark: Almost equal 0.053 0.00
csvs/nodal_costs.csv :white_check_mark: Almost equal 0.001 0.00
csvs/curtailment.csv :white_check_mark: Almost equal 0.000 0.13
csvs/metrics.csv :white_check_mark: Almost equal 0.003 0.16
csvs/supply.csv :white_check_mark: Almost equal 0.001 0.01
csvs/capacities.csv :white_check_mark: Almost equal 0.000 0.00
csvs/energy.csv :white_check_mark: Almost equal 0.000 0.02
csvs/supply_energy.csv :white_check_mark: Almost equal 0.000 0.03
csvs/prices.csv :white_check_mark: Almost equal 17.612 0.00
csvs/market_values.csv :white_check_mark: Almost equal 0.009 0.10
csvs/weighted_prices.csv :white_check_mark: Equal
NRMSE: Normalized (min-max) Root Mean Square Error MAE (norm): Mean Absolute Error on normalized Data (min-max Status Threshold: MAE (norm) > 0.05 and NRMSE > 2

Model Metrics

Benchmarks Image not available Image not available Image not available

Comparing co2_accounting_reform (9d9c00e) with main (9193691). Branch is 3 commits ahead and 0 commits behind. Last updated on 2024-09-19 19:07:47 CEST.

lindnemi commented 1 week ago

Open points: