odileeds / northern-powergrid

Northern Powergrid's potential future scenarios as defined in the National Grid Future Energy Scenarios (DFES).
https://odileeds.org/projects/northernpowergrid/dfes/
Other
6 stars 4 forks source link

Update Graphs Page #55

Closed mary-black closed 3 years ago

mary-black commented 3 years ago

I have added the csv files and amended the index file to remove unwanted graphs

mary-black commented 3 years ago

I have also put them in the graphs html body - but of course no sgvs generated yet

mary-black commented 3 years ago

Here is the spec (see Issue 56 for the two extra ones on the end) Figure 1:Annual carbon emissions (MtCO2) "data/graphs/Annual carbon emissions (MtCO2).csv"

Figure 2:Cumulative carbon emissions (MtCO2) "data/graphs/Cumulative carbon emissions (MtCO2).csv"

Figure 3:Network annual carbon emission breakdown - Net Zero Early (MtCO2) "data/graphs/Network annual carbon emission breakdown - Net Zero Early (MtCO2).csv"

Figure 4: Electric vehicle uptake forecast. "data/graphs/Total number of EVs (#).csv"

Figure 5:Electric vehicle penetration of total car stock (%) "data/graphs/Electric vehicle penetration of total car stock (%).csv"

Figure 6:Total number of heat pumps "data/graphs/Total number of heat pumps (#).csv"

Figure 7:Battery storage capacity installed (GW) "data/graphs/Battery storage capacity installed (GW).csv"

Figure 8:Renewable generation installed (GW) "data/graphs/Renewable generation installed (GW).csv"

Figure 9:Annual peak demand (GW)
"data/graphs/Annual peak demand (GW).csv"

Figure 10:Network peak demand breakdown - Net Zero Early (GW) "data/graphs/Network annual gross peak demand breakdown - Net Zero Early (GW).csv"

Figure 11:Network energy consumption breakdown - Net Zero Early (TWh) "data/graphs/Network energy consumption breakdown - Net Zero Early (TWh).csv"

Figure 12:Annual network energy consumption (TWh) "data/graphs/Annual network energy consumption (TWh).csv"

Figure 13:Network annual fuel consumption breakdown - Net Zero Early (GWh-yr) "data/graphs/Network annual fuel consumption breakdown - Net Zero Early (GWh-yr).csv"

Then two new graph breakdownd=s using the following colour codes. Electric HGVs R255 G153 B102 Electric Buses R70 G98 B40 Electrolysers R75 G172 B198 Large industry Fuel Switching R128 G128 B128

Figure 14:Additional industrial peak demand breakdown - Net Zero Early (MW) "data/graphs/Industry additional peak demand breakdown - Net Zero Early (MW).csv"

Figure 15: Additional industrial energy consumption breakdown - Net Zero Early (GWh) "data/graphs/Industry additional energy consumption breakdown - Net Zero Early (GWh).csv"

slowe commented 3 years ago

Because of the mistakes with the hand generation I've switched to making my code generate the HTML

fragments. That removes some flexibility. That means that if you edit the graphs.html page, but later want me to update it, your changes may be lost (if they are in the figures section). The data/graphs/index.json file now has a "title" property for each graph and the order of the graphs in that file now matters.

slowe commented 3 years ago

The new colours need to be hex colours and added to colours.csv. I shall convert them using https://www.rgbtohex.net/

slowe commented 3 years ago
slowe commented 3 years ago

Because of the addition of 2019 data (which wasn't there in 2020 Emerging Thinking) my code created 2010 columns so I've had to add extra error checking.

slowe commented 3 years ago

@mary-black Please review the graph page and see if all the changes you wanted are there.

mary-black commented 3 years ago

Thanks Stuart