global-electrification-platform / explorer

Global Electrification Platform (Web)
https://electrifynow.energydata.info/
MIT License
11 stars 7 forks source link

Add baseline to summary and tooltips #188

Closed vgeorge closed 4 years ago

vgeorge commented 5 years ago

As described by @bpstewar at https://github.com/global-electrification-platform/explorer/issues/144, it is necessary to include baseline information (population) to provide the full context for scenario analysis.

vgeorge commented 5 years ago

More specifics on this issue by Chiara:

At the moment we are only providing the technology breakdown, but we are not showing the overall progress toward electrifying the population without access. We would like to show the number and percentage of the population already electrified and then the contribution of each technology, by 2025 and 2030.

To address the above, I believe we would need to replace the first pie chart ("People connected") with something like this:

image

Chiara and @bpstewar what do you think about this approach?

Regarding the input data, some questions for @akorkovelos:

akorkovelos commented 5 years ago

@vgeorge responding to your questions:

vgeorge commented 5 years ago

@akorkovelos @bpstewar please review the current implementation of the charts with real data:

Malawi (mw-1)

mw-1

Gabon (ga-1)

ga-1

Eswatini (es-1)

es-1

Are those samples in line with the expected model outputs?

akorkovelos commented 4 years ago

@vgeorge from a first look summaries seem correct for most scenarios but not the densification/intensification scenarios. For those two, summed population accounts only for grid connected population rather than the whole country.

Look for example Rwanda, grid densification can reach about 8.92 million people which is about 56% of population in 2030. Yet the graph indicates 100% connected people. This call for: a. Changing the legend to something Population Connected per Technology b. Review the way that summaries are calculated

Also, rounding up summaries make results look slightly odd on the graphs. I suggest allowing for 2 decimal precision when aggregating summaries, if possible.

olafveerman commented 4 years ago

@akorkovelos We have a couple of questions about this. Can we jump on a quick call?

akorkovelos commented 4 years ago

Sure, available now.

vgeorge commented 4 years ago

@akorkovelos @babakkhavari here are fields used for calculating total and connected population (relevant code here and here):

We are reviewing the code that generate the summaries, if seems that the total pop is not correct in intermediate years. As discussed, it is helpful if you can provide scenarios with errors.

cc @danielfdsilva

AndreasSahlberg commented 4 years ago

Dear all,

To follow up on the discussion we had, please see an example of Burundi. If choosing the High demand target, and selecting 2025 we get the following results:

As we can see, there are a lot of PV mini-grids deployed between 2018-2025. This is also displayed in the summary chart on the right, where the summaries are correct for 2025. However, many of the mini-grids get connected to the grid between 2025-2030, which is shown when we switch the year:

image

In this case, the summaries to the right are correct for 2030. However, the mini-grids that were there in 2025 are no longer seen in the summary chart. For this scenario he summary charts should display (regardless of which year is selected) deployment of mini-grids between 2018-2025, which is then phased out in favor of grid between 2025-2030.

image

It is worth pointing out that a settlement (cluster) can have different technology selections by 2025 and 2030, which is causing this.

vgeorge commented 4 years ago

We have deployed changes correcting the way of calculating summaries, could you please review?

cc @akorkovelos @AndreasSahlberg @babakkhavari

I've moved the precision issue to #214, we didn't tested the impact of decimal places yet.