Open demeringo opened 2 weeks ago
The documentation states that for usage impacts, the PE factor comes from IRENA (2016). API doc link https://doc.api.boavizta.org/Explanations/usage/elec_factors/
However the wikipedia article states that data is from 2021 (which I also remember from our past exchanges). https://en.wikipedia.org/wiki/List_of_countries_by_renewable_electricity_production
We are likely serving slightly outdated factors.
Short term:
Long term:
Workaround 1: use a custom version of API with updated factors
Workaround 2: pass directly custom factors when calling the API
Factors are defined in boaviztapi/boaviztapi/data/crowdsourcing/electrical_mix.csv
boaviztapi/boaviztapi/data/crowdsourcing/electrical_mix.csv
Adrien mentions that the data was likely extracted from the source DB using SQL query that mentions 2016.
Linked issue is
https://github.com/Boavizta/boaviztapi/issues/117
Problem
The documentation states that for usage impacts, the PE factor comes from IRENA (2016). API doc link https://doc.api.boavizta.org/Explanations/usage/elec_factors/
However the wikipedia article states that data is from 2021 (which I also remember from our past exchanges). https://en.wikipedia.org/wiki/List_of_countries_by_renewable_electricity_production
We are likely serving slightly outdated factors.
Solution
Short term:
Long term:
Alternatives
Workaround 1: use a custom version of API with updated factors
Workaround 2: pass directly custom factors when calling the API
Additional context or elements
Factors are defined in
boaviztapi/boaviztapi/data/crowdsourcing/electrical_mix.csv
Adrien mentions that the data was likely extracted from the source DB using SQL query that mentions 2016.
Linked issue is
https://github.com/Boavizta/boaviztapi/issues/117