rescale_capacities_to_country_totals

rescale_capacities_to_country_totals#

powerplantmatching.heuristics.rescale_capacities_to_country_totals(df, fueltypes=None)#

Returns a extra column ‘Scaled Capacity’ with an up or down scaled capacity in order to match the statistics of the ENTSOe country totals. For every country the information about the total capacity of each fueltype is given. The scaling factor is determined by the ratio of the aggregated capacity of the fueltype within each country and the ENTSOe statistics about the fueltype capacity total within each country.

Parameters:
  • df (Pandas.DataFrame) – Data set that should be modified

  • fueltype (str or list of strings) – fueltype that should be scaled