hypatia.Plotter.plot_hourly_prod_by_tech

Plotter.plot_hourly_prod_by_tech(path, tech_group, year, regions='all', kind='area', freq='h', function='sum', start='01-01 00:00:00', end='12-29 23:00:00', mode='updatemenus', aggregate=False)

Plots hourly tech production

Parameters:
  • path (str) – Defines the path and the name of the file to save

  • tech_group (str) – the techn_group to plot based on config excel file.

  • regions (list[str]) – Which regions to plot

  • year (int,str) – hourly plot can be used for one year only

  • kind (str, optional) – Type of the plot can be area or bar. The default is “area”.

  • freq (str, optional) – Defines the frequencey of data.Follows the pd.Datetime rules. The default is “h”. for example for a 3 hours frequency ‘3h’ should be passed.

  • function (str, optional) – In case of resampling data, the function can be specified. The default is “sum”.

  • start (str, optional) – the starting datetime for the plot. The default is “01-01 00:00:00”.

  • end (str, optional) – the ending datetime for the plot. The default is “12-29 23:00:00”.

  • mode (str, optional) – defined the mode when multiple regions are plotted. Acceptable values are “updatemenus” and “sliders”. The default is “updatemenus”.

  • aggregate (boolean, optional) – If True will aggregated the regions into one singel region. The default is False.