openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
31 stars 13 forks source link

Features/summary plots #582

Closed pieterhexen closed 1 year ago

pieterhexen commented 1 year ago

Hey @ClaraBuettner

I added the plotting functions you were asking for. For the summary plots you can choose between stacked = True / False

I used the following lines to test the functions:

from etrago import Etrago

etrago = Etrago(csv_folder_name='results_data1212_dsm_fix_eGon2035_300ac_80ch4')

etrago.plot_gas_generation(save_path = '1')
etrago.plot_gas_summary(save_path = '2')
etrago.plot_gas_summary(save_path = '3',stacked=False)
etrago.plot_h2_generation(save_path = '4')
etrago.plot_h2_summary(save_path = '5')
etrago.plot_h2_summary(save_path = '6',stacked=False)
etrago.plot_heat_loads(save_path = '7')
etrago.plot_heat_summary(save_path = '8')
etrago.plot_heat_summary(save_path = '9',stacked=False)