Calculations details are here:
https://github.com/tmrowco/electricitymap#carbon-intensity-c...
We use IPCC LCA data for the production mix, and use a coupled linear system of equations to take into account imports in a dynamic manner.
Generation data is realtime and comes from ENTSOE (https://transparency.entsoe.eu)