reho.model.preprocessing.electricity_prices#

Queries the electricity retail and injection prices, from the ELCOM database and pvtarif.ch database respectively.

Functions

get_electricity_prices(city[, year, ...])

Builds a DataFrame with the electricity prices (demand and supply) ready to use for REHO.

get_injection_prices([city, year, category, tva])

get_prices_from_elcom_by_canton([year, ...])

Queries the electricity retail prices from the ELCOM database.

get_prices_from_elcom_by_city([year, city, ...])

Queries the electricity retail prices from the ELCOM database by munipalities.

get_providers_by_municipality_id([city, ...])

Gives the electricity providers for a given municipality.

get_vese_key()

requests_retry_session([retries, ...])

Classes

SparqlClient([base_url, timeout, output, ...])

Exceptions

ExecutionError

GraphlyError

NotFoundError