Skip to content

Some data and models used for the DEC report 🌎πŸ”₯

Notifications You must be signed in to change notification settings

Whiax/DemographyEnergyClimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DEC : Demography Energy Climate

This repository contains some data and models used to produce the DEC report.
The DEC report is freely accessible:

(Sources are detailed in the report)

Examples

Installed nuclear capacity in France in 2015:

cym2eleccapa = load_object('energy/cym2eleccapa_export')
c,y,m = 'France', 2015, 'Nuclear'
print(f'{m} capacity in {c} in {y}: {cym2eleccapa[c][y][m]:.2f} GW')

Nuclear capacity in France in 2015: 63.13 GW

Wind electricity production in Spain in 2018:

cym2elecprod = load_object('energy/cym2elecprod_export')
c,y,m = 'Spain', 2018, 'Wind'
print(f'{m} production in {c} in {y}: {cym2elecprod[c][y][m]:.2f} TWh')

Wind production in Spain in 2018: 49.65 TWh

Coal consumption in Germany in 2013:

cyf2fossilcons = load_object('energy/cyf2fossilcons_export')
c,y,f = 'Germany', 2013, 'Coal'
print(f'{f} consumption in {c} in {y}: {cyf2fossilcons[c][y][f]:.2f} TWh')

Coal consumption in Germany in 2013: 979.27 TWh

Map of warming distribution on Earth for +2.5Β°C

warming = 2.5 #Β°C
new_temp = pre_industrial_temperature + warming
after = temp_to_latlon2temp_cmip6_loclin(new_temp)
before = temp_to_latlon2temp_cmip6_loclin(pre_industrial_temperature)
plt.imshow((after-before), vmin=-6, vmax=6, cmap='jet')

te

Hydroelectricity potential

print(f'Max potential for hydroelectricity: {latlon_to_dam_maxpotentialtwh1800x3600.sum()/1e3:.2f} PWh')

Max potential for hydroelectricity: 51.71 PWh

Proportion of land

plt.imshow(latlon_to_landprop1800x3600)

landprop

Reserves of Cobalt in Russia in 2022

cyr2reserve = load_object('energy/cyr2reserve_exp')
c,y,r = 'Russia', 2022, 'Cobalt'
print(f'Reserves of {r} in {c} in {y}: {cyr2reserve[c][y][r]} t')

Reserves of Cobalt in Russia in 2022: 250000.0 t

Map of environmental constraints for nuclear reactors

nukeenv

Data on civilian nuclear accidents:

accidentsourcecause_to_deaths = load_object('energy/accidentsourcecause_to_deaths')
a,s,c='chernobyl', 'unscear_2000V2J', 'short_term_deaths'
print(f'Deaths ({c}) in {a} according to {s}: {accidentsourcecause_to_deaths[a][s][c]}')

Deaths (short_term_deaths) in chernobyl according to unscear_2000V2J: 31

Data on nuclear reactors

nuclear_reactors = load_object('energy/nuclear_reactors')
nuc_construction_delays = []
for r in nuclear_reactors:
    if 'construction_delay' in r and r['capa_mw'] > 500:
        nuc_construction_delays += [r['construction_delay'] ]
plt.hist(nuc_construction_delays, 40)

ezfze

Nuclear reactor status / closure reasons

nuclearreactor_to_state = load_object('energy/nuclearreactor_to_state')
n = 'Fukushima Daiichi 1'
print(f'Nuclear reactor: {n} | Closure reason: {nuclearreactor_to_state[n]}')

Nuclear reactor: Fukushima Daiichi 1 | Closure reason: internal_accident

Releases

No releases published

Packages

No packages published

Languages