These scripts uses input output modelling to calculate the average emission factor of the different EU countries while accounting for their imports and exports. It retrieves the necessary data from ENTSO-E transparency platform. When it was written, Sweden did not have its data their. Their data was retrieved from other sources. It is not maintained since 2019 and can be improved.
Original Matlab version created by John Clauss at NTNU. Port to Python and streamlining of data acquisition by Dimitri Pinel and Kasper E. Thorvaldsen at NTNU.
Clauß, J.; Stinner, S.; Solli, C.; Lindberg, K.B.; Madsen, H.; Georges, L. Evaluation Method for the Hourly Average CO2eq. Intensity of the Electricity Mix and Its Application to the Demand Response of Residential Heating. Energies 2019, 12, 1345. https://doi.org/10.3390/en12071345
Dimitri Pinel, Magnus Korpås, Karen B. Lindberg, Impact of the CO2 factor of electricity and the external CO2 compensation price on zero emission neighborhoods’ energy system design, Building and Environment,Volume 187, 2021, https://doi.org/10.1016/j.buildenv.2020.107418.