Skip to content

Commit

Permalink
small change in EV figure X axis
Browse files Browse the repository at this point in the history
  • Loading branch information
martavp committed Sep 4, 2020
1 parent a7a3239 commit a307a4d
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 533 deletions.
Binary file modified figures/age_distribution_w_EV_exp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/age_distribution_w_EV_exp_OLD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/deficit_Base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/revenue_vs_expenditure_Base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/revenue_vs_variablecost_Base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/utilisation_factors_Base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions paper_graphics/age_powerplants.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def place_image(im, loc=3, ax=None, zoom=1, **kw):

#future build_rates
idx = pd.IndexSlice
version = 'Base' #'Base' #'w_Tran_exp' #'w_EV_exp' # #'w_Retro' #'w_DH_exp' #'wo_CO2_budget'
version = 'w_EV_exp' #'Base' #'w_Tran_exp' #'w_EV_exp' # #'w_Retro' #'w_DH_exp' #'wo_CO2_budget'
cum_cap=pd.read_csv('results/version-' + version +'/csvs/metrics.csv', sep=',',
index_col=0, header=[0,1,2])
energy=pd.read_csv('results/version-' + version +'/csvs/energy.csv', sep=',',
Expand Down Expand Up @@ -246,7 +246,7 @@ def place_image(im, loc=3, ax=None, zoom=1, **kw):
ax0.invert_yaxis()
ax1.invert_yaxis()
ax0.set_yticks([])
xlim_RES=210
xlim_RES=210
xlim_conv=15
ax0.set_xlim(xlim_conv,0)
ax1.set_xlim(0,xlim_RES)
Expand Down Expand Up @@ -379,7 +379,7 @@ def place_image(im, loc=3, ax=None, zoom=1, **kw):
'2040',
'2045', ], fontsize=12)
ax4.set_xticks(list(range(0,20,5)))
ax5.set_xticks(list(range(0,210,10)))
ax5.set_xticks(list(range(0,xlim_RES,10)))

plt.savefig('../figures/age_distribution_' + version + '.png', dpi=300, bbox_inches='tight')
#%%
Expand Down
52 changes: 26 additions & 26 deletions paper_graphics/notebooks/summary_plot.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit a307a4d

Please sign in to comment.