Setup and Load Data¶

In [6]:
import cufflinks as cf
cf.set_config_file(offline=True)
In [7]:
import utils
from utils import beccs, fuel, hydrogen, supply
from utils import capacity, activity
from utils import capvars, actvars 
from utils import Analysis
In [8]:
a = Analysis()
a.load_file()
a.df.head()
Out[8]:
case scenario region variable tech policy model unit year value
0 lo R3-B-lo-ready2050 World Primary Energy|Biomass ready2050 B EMF33_V3 EJ/yr 1990 38.861821
1 lo R3-B-lo-ready2050 World Secondary Energy|Electricity|Biomass|w/ CCS ready2050 B EMF33_V3 EJ/yr 1990 0.000000
2 lo R3-B-lo-ready2050 World Secondary Energy|Hydrogen|Biomass ready2050 B EMF33_V3 EJ/yr 1990 0.000000
3 lo R3-B-lo-ready2050 World Secondary Energy|Liquids|Biomass|w/ CCS ready2050 B EMF33_V3 EJ/yr 1990 0.000000
4 lo R3-B-lo-ready2050 World Secondary Energy|Liquids|Biomass|w/o CCS ready2050 B EMF33_V3 EJ/yr 1990 0.183657

Analysis Cases¶

  1. none: no capacity variables, small or no activity variables
  2. nofuel: no liquids biomass capacity, small or no activity
  3. nobeccs: no elec biomass capacity, small or no activity
  4. ready2050: no capacity before 2050, small or no activity before 2050
  5. limbio: supply under criteria

none Cases¶

In [9]:
filters = {'tech': ['none']}
for var in beccs + fuel + hydrogen:
    a.make_traces(var, filters=filters).plot()

nofuel Cases¶

In [10]:
filters = {'tech': ['nofuel']}
for var in fuel:
    a.make_traces(var, filters=filters).plot()

nobeccs Cases¶

In [11]:
filters = {'tech': ['nobeccs']}
for var in beccs:
    a.make_traces(var, filters=filters).plot()

ready2050 Cases¶

In [12]:
filters = {'tech': ['ready2050']}
for var in beccs + fuel + hydrogen:
    a.make_traces(var, filters=filters).plot()

limbio Cases¶

In [13]:
filters = {'tech': ['limbio']}
for var in supply:
    a.make_traces(var, filters=filters).plot()