Electricity is essential to poverty alleviation and sustainable development. Over 1.1 billion people lack access to electricity, making it a central priority for the United Nations’ 2030 Agenda for Sustainable Development. However, the goal of providing universal access to electricity carries significant challenges. Nearly 97% of people who lack access to electricity live in poor, remote and sparsely populated regions of Sub-Saharan Africa and developing Asia, and the infrastructure required to bring electricity to these areas can be extremely costly. As a result, viable policy solutions are generally limited to:
● connecting to the country’s central grid;
● building or connecting to a small network powered locally by diesel, wind, or solar technologies (known as a “mini-grid”); or
● using stand-alone, off-grid solar and diesel small generators
The costs of these options vary based on a complex set of factors such as distance to the grid; difficulty in sourcing diesel fuel; solar, wind or water availability; topography; and consumption levels. With these challenges in mind, the KTH Royal Institute of Technology(KTH) of Sweden, the United Nations Department of Economic and Social Affairs (UN-DESA), and other partners developed an electrification tool: Access to Universal Electricity. This tool provides an overview of the challenges inherent in providing electricity for all by incorporating relevant cost, feasibility and local factors to identify the lowest cost option available.
"The work carried out by KTH Royal Institute of Technology of Sweden and the United Nations Department of Economic and Social Affairs (UN-DESA), is a key milestone in giving support and capacity building to developing countries in different governmental areas and across public officers, in order to improve energy and economic planning skills with the use of these important models. I do believe that we are in a special moment where developing countries need to strengthen the planning units in order to better inform policy makers on the best options to fulfill the development goals, enhancing effectiveness and efficiency on the use of economic resources and social impact, throughout national actions combined with international cooperation."
Jorge Leitón, Director of Energy Planning and Integration, Ministry of Hydrocarbons and Energy of Bolivia
#Electricity4All challenges participants to convert the current electrification tool from Microsoft Visual Basic (VBA) to Python. The current model uses open geospatial data to predict the mix of technologies that will provide universal access to electricity at the lowest cost and calculates the lowest investment cost for electrification of a certain country or region given its population density, per capita electricity consumption levels and diesel prices. This code is part of a multistep analysis and constitutes a major computational component in the overall electrification planning. While this model provides important and novel insights, it is developed using a proprietary programming language that takes an average of 50 hours to run for the 44 African countries that were considered in the analysis. In order to provide analysts with the greatest flexibility, it is essential to minimize computational time. Initial experimentation suggests the model scenario processing time can be reduced to less than 5 hours with Python. Therefore, the challenge objectives are as follows:
● Provide an elegant and well-written code (in Python) that reduces model run time from 50 hours to less than 5 hours; and
● Make the electrification code accessible to all (e.g. other researchers, organizations, energy planners and governments) as an open source solution.
The results of the challenge will be beneficial in facilitating further analysis of electrification policies in other countries and allow UN-DESA and KTH policy researchers to update and expand on comprehensive electrification planning studies. Furthermore, other researchers, organizations, energy planners and governments may use this code as part of their overall electrification planning analysis. The winning solution will be used to run several new scenarios that will feed UN-DESA modeling tools for Sustainable Development Policies, including the Universal Access to Electricity Model.
The final deadline is Sunday 15 May, 2016 at 23:59 PM EST. See details on prizes and recognition here
Q&A Session on 6 May, 2016
KTH hosted an online Q&A sessions on Friday 6 May, 2016 at 9:00AM EST where participants had a chance to ask questions related to this challenge directly to the KTH Royal Institute of Technology personnels. You can watch the recording on the Q&A here. If your question wasn't answered during the session. Please email your question(s) to email@example.com.
The datasets associated to this challenge:
1. Dataset “Algorithm-High 5” includes the algorithm and results for scenario one, which refers to High Diesel Price and Tier 5 electrification as shown in the Electrification analysis on the UN website. This scenario is the most time consuming.
2. Dataset “Inputs for other scenarios_Electrification challenge” includes inputs for 7 more scenarios.
3. UPDATE! The challenge host has now added a smaller dataset and a detailed description of the dataset to the dataset folder.
The datasets can be found here.
The solutions should be submitted through Unite Ideas platform ("Propose a Solution" at the bottom of the challenge page). Participants should deliver their solution as a link to their github repository or cloud development environment, such as free Cloud9 ( https://c9.io/ ) workspace. To ensure comparability, the submissions should include a readme file with the code running time together with the RAM and the processor specifications of the computer used.
Important: In case you use a cloud environment (such as Cloud9) please share your workspace with firstname.lastname@example.org for the judges to be able to test run your submission.
Participants’ workspace should include:
1. The code written in Python (with comments as in Visual Basic),
2. A .txt input and a .txt output file with the results, and
A readme file including (a) description of the code, (b) instructions on how the program works and how to use it, (c) Code running time (the amount of time it takes from when the program is started to when the complete results are obtained), the RAM and the processor specifications of the computer used to run the code. This documentation should ensure clear code documentation for the other users and programmers who wish to further use or contribute to the code. (Find a resource on basic code documentation here.)
The winner and the winning solution will:
● Be officially announced during the High Level Political Forum on Sustainable Development in July, 2016 at the United Nations as part of the UN-DESA modeling tools initiative.
● Receive a letter of recognition from Lenni Montiel, the United Nations Assistant Secretary-General for Economic Development in UN-DESA.
● Be featured and referenced on KTH Royal Institute of Technology and UN-DESA Modeling tools for Sustainable Development websites.
● Be offered the opportunity to have an advisory role in the further development of the submitted code.