Skip to content

Build reference data

API reference for the scripts.build_reference_statistics module, responsible of creating reference statistics from cleaned datasets to validate energy models.

Module

build_reference_statistics

This script collects clean statistics data and merges the datasets to create reference statistics to be used to validate energy systems.

filter_data_by_config(df, column, valid_values)

Filters the dataframe based on the provided column and valid values from config.yaml.

process_reference_statistics(inputs, outputs, config)

Processes demand and installed capacity data based on the specified year and countries.