"One of the IEA scenarios forecasts a rise to 2,400 TWh across the continent by 2040" It was 730 TWh at the end of 2024.
Since then Africa added 100 TWh. That means with a _purely linear track_ Africa will meet the projection.
I predict it will hit that 2,400 TWh in the early 2030s and the majority will be solar.