History of Changes
Version 0.5.3 (08.04.2022)
Bug fix for renewable power plants from OPSD
Version 0.5.2 (07.04.2022)
The overall config setting was fine-tuned in order to improve the matching results.
New scripts were added to the folder matching_analysis
Version 0.5.1 (04.04.2022)
The IRENASTATS data is now available containing powerplant capacities for all countries from 2000 to 2020.
The url of the
powerplantsfunction was fixed.
The removal of the column
DateMothBallwas caught up on.
The manual corrections were reactivated.
Improved country code and name conversion by using
Version 0.5 (04.04.2022)
This release contains many breaking changes. Due to time-constraints we cannot ensure a smooth transition to the new release. If you are using a custom config file (e.g.
~/powerplantmatching_config.yaml) please be aware of the following config changes:
The custom configuration now only updates the package default configuration, which makes the compatibility of configuration updates much easier. So, instead of replacing the whole package configuration (the default config provided by powerplantmatching), the new purpose of the custom config is to adjust individual values. So, please make sure to only add keys to the custom config which you want to change in comparison to the default config.
The following sections of the configuration file
~/powerplantmatching_config.yamlchanged: * the
target_fueltypessection is now mapping the representative fueltypes to the regular expressions that are used in order to determine them. * the
target_technologiessection is now mapping the representative technologies to the regular expressions that are used in order to determine them. * the
target_setsection is now mapping the representative sets to the regular expressions that are used in order to determine them. * a section
clean_namewas added. This section contains the regular expressions and lists of words that are used to clean the names of the plants.
In order to ensure compatibility with the new code, please delete these sections in your custom config.
CARMAdataset was deprecated as the data is not publicly available anymore.
IWPDCYdataset was deprecated in the favor of the JRC data.
WEPPdataset was deprecated due to restrictive license.
UBAdataset was deprecated in the favor of the
BENTZAdataset was deprecated in the favor of the
IRENA_statsdataset was deprecated as the data is not publicly available anymore.
The following functions were deprecated and will be removed in
powerplantmatching.export.fueltype_to_abbrev` ` * ``powerplantmatching.heuristics.set_denmark_region_id*
extendby_kwargsin the function
powerplantmatching.collection.matched_datawas deprecated in the favor of
The BEYOND COAL data is now available as an data source.
A new dataset
WIKIPEDIAon nuclear powerplants in europe from wikipedia was added.
GEOdataset returns powerplant blocks instead of whole plants.
All scripts were aligned with the
A documentation on readthedocs was added.
The config has now a key main_query which is applied to all datasets.
A CI was added.
A new function
powerplantmatching.heuristics.isinwas added. It checks which data entries of a non-matched dataset is included in a matched dataset.
Breaking Code Changes:
The argument rawDE and rawEU in
powerplantmatching.data.OPSDwas deprecated in the favor of raw. If
Truethe function returns a dictionary with the raw datasets.
All keyword arguments of the data functions in
powerplantmatching.datawere sorted according to
config. This lead to some breaking changes of the arguments order.
The Fueltype Other was replaced by NaN.
The GEO data now returns a dataset containing power plant units.
ESEdataset was removed due the hosting website taken down.
powerplantmatching.cleaning.aggregate_unitsdoes not support the arguments use_saved_aggregation and save_aggregation anymore due to it’s unsecure behavior.
powerplantmatching.matching.compare_two_datasetsdoes not support the arguments use_saved_matches anymore due to it’s unsecure behavior.
Version 0.4.6 (25.11.2020)
DateIn(reflects when a station/block had initially started operation) - rename
DateRetrofit(reflects when a station/block has been retrofitted) - add
DateMothball(reflects when a station/block has been mothballed) - add
DateOut(reflects when a station/block has been finally decommissioned)
EIC(the European Energy Identification Code) - add
StorageCapacity_MWh- update JRC Hydro Database to v5 and add quick workaround so that pm can deal with non-unique identifiers - replace deprecated by current pandas functions - custom configuration and package configuration are now merged when calling
get_config()(values in the custom configuration are prioritized) - fix retrieving BNETZA data
Version 0.4.1 (02.08.2019)
abolish git lfs in the favour of direct url parsing
store data in user folders
move necessary files to package_data in powerplantmatching folder (such as duke binaries, xml files etc.)
include JRC Hydro Database
get rid of mutual module imports
speed up grouping (cleaning.py, matching.py)
revise/rewrite code in data.py
enable switch for matching powerplants of the same country only (is now default, speeds up the matching and aggregation process significantly)
boil down plot.py which caused long import times
get rid of config.py in the favour of core.py and accessor.py
drop deprecated functions in collection.py which now only includes collect() and matched_data()