extend_by_VRE

Contents

extend_by_VRE#

powerplantmatching.heuristics.extend_by_VRE(df, config=None, base_year=2017, prune_beyond=True)#

Extends a given reduced dataframe by externally given VREs.

Parameters:
  • df (pandas.DataFrame) – The dataframe to be extended

  • base_year (int) – Needed for deriving cohorts from IRENA’s capacity statistics

Returns:

df – Extended dataframe

Return type:

pd.DataFrame