Adjust plotting for new CCS scheme
This commit is contained in:
parent
c525e2a6ae
commit
eb2fa1b24e
@ -160,7 +160,7 @@ plotting:
|
||||
costs_threshold: 1
|
||||
|
||||
|
||||
energy_max: 15000.
|
||||
energy_max: 20000.
|
||||
energy_min: -15000.
|
||||
energy_threshold: 50.
|
||||
|
||||
@ -234,6 +234,7 @@ plotting:
|
||||
"DAC" : "#E74C3C"
|
||||
"co2 stored" : "#123456"
|
||||
"CO2 sequestration" : "#123456"
|
||||
"CCS" : "k"
|
||||
"co2" : "#123456"
|
||||
"co2 vent" : "#654321"
|
||||
"solid biomass for industry co2 from atmosphere" : "#654321"
|
||||
@ -277,6 +278,7 @@ plotting:
|
||||
"industry new electricity" : "#222222"
|
||||
"process emissions to stored" : "#444444"
|
||||
"process emissions to atmosphere" : "#888888"
|
||||
"process emissions" : "#222222"
|
||||
"transport fuel cell" : "#AAAAAA"
|
||||
"biogas" : "#800000"
|
||||
"solid biomass" : "#DAA520"
|
||||
|
@ -21,7 +21,8 @@ def rename_techs(label):
|
||||
rename_if_contains_dict = {"water tanks" : "hot water storage",
|
||||
"retrofitting" : "building retrofitting",
|
||||
"H2" : "hydrogen storage",
|
||||
"battery" : "battery storage"}
|
||||
"battery" : "battery storage",
|
||||
"CCS" : "CCS"}
|
||||
|
||||
rename = {"solar" : "solar PV",
|
||||
"Sabatier" : "methanation",
|
||||
@ -133,6 +134,8 @@ def plot_energy():
|
||||
|
||||
print(df.sum())
|
||||
|
||||
print(df)
|
||||
|
||||
new_index = (preferred_order&df.index).append(df.index.difference(preferred_order))
|
||||
|
||||
new_columns = df.columns.sort_values()
|
||||
@ -140,6 +143,8 @@ def plot_energy():
|
||||
fig, ax = plt.subplots()
|
||||
fig.set_size_inches((12,8))
|
||||
|
||||
print(df.loc[new_index,new_columns])
|
||||
|
||||
df.loc[new_index,new_columns].T.plot(kind="bar",ax=ax,stacked=True,color=[snakemake.config['plotting']['tech_colors'][i] for i in new_index])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user