aggregate_VRE_by_commissioning_year

aggregate_VRE_by_commissioning_year#

powerplantmatching.heuristics.aggregate_VRE_by_commissioning_year(df, target_fueltypes=None, agg_geo_by=None)#

Aggregate the vast number of VRE (e.g. vom data.OPSD_VRE()) units to one specific (Fueltype + Technology) cohorte per commissioning year.

Parameters:
  • df (pd.DataFrame) – DataFrame containing the data to aggregate

  • target_fueltypes (list) – list of fueltypes to be aggregated (Others are cut!)

  • agg_by_geo (str) –

    How to deal with lat/lon positions. Allowed:

    NoneType : Do not show geoposition at all ‘mean’ : Average geoposition ‘wm’ : Average geoposition weighted by capacity