The UK 2050 Calculator Web Flash Excel Wiki
Register or sign in
This is a wiki Anyone can contribute, therefore we don't vouch for its accuracy.

Electricity supply graph

Bugs

Double counting of renewable energy

This bug has now been fixed. Thank you.

It seems that wind generation is double-counted in the electricity supply graph: once as offshore and onshore wind and again under "non-thermal renewables". This produces a figure for total energy generation that is 120 TWh/y too high in 2050

This was first filed on the github issue tracker: https://github.com/decc/twenty-fifty/issues/2

The fix is: in app/assets/javascripts/electricity.js.coffee , line 53, removing "Non-thermal renewable generation" from the definition of titles fixes the double-counting problem.

source line: https://github.com/decc/twenty-fifty/blob/master/app/assets/javascripts/electricity.js.coffee#L53