OnSSET (Open Source Spatial Electrification Tool)

OnSSET has been designed for identifying least-cost technology options to electrify areas presently unserved by grid-based electricity and to estimate associated investment needs related to electrification.




Initial contribute: 2019-10-20


Is authorship not correct? Feed back


Application-focused categoriesHuman-perspectiveEconomic activities

Detailed Description

English {{currentDetailLanguage}} English

Quoted from: https://onsset-manual.readthedocs.io/en/latest/Overview.html 



gep_onsset requires Python >= 3.5 with the following packages installed:

  • et-xmlfile>=1.0
  • jdcal>=1.4
  • numpy>=1.16
  • openpyxl>=2.6
  • pandas>=0.24
  • python-dateutil>=2.8
  • pytz==2019.1
  • six>=1.12
  • xlrd>=1.2

Install with pip

` python -m pip install -i https://test.pypi.org/simple/ gep-onsset `

Install from GitHub

Download or clone the repository and install the required packages (preferably in a virtual environment):

` git clone https://github.com/global-electrification-platform/gep-onsset.git `

` cd gep-onsset `

` pip install -r requirements.txt `


The use of GEP generator requires also installation of

  • IPython
  • jupyter
  • matplotlib
  • seaborn

Supporting Methods & Tools

The Open Source Spatial Electrification Tool (OnSSET)

gep_onsset code is a modified version of the OnSSET model, accustomed to serve the Global Electrificatio platform. The methodology behind the model is available in a peer-reviewed academic publication available online since April 2019.

Q-GIS plug-in for developing population clusters

The identification of population settlements is the basis of the electrification analysis in many models. gep_onsset requires that population settlements are represented as vector clusters. KTH dESA has developed a methodology for generating such vector clusters based on open access data. The output dataset is openly accessible. Furthermore, an open source Q-GIS plug-in.


The above methodology requires processing in Q-GIS (an open-source GIS software).

Q-GIS plug-in for extracting GIS information to vector clusters

Geospatial electrification models are inextricably connected with GIS data. Extracting geospatial information to each vector cluster (see above), is therefore a necessary yet time consuming process. The extraction commands can be executed manually in QGIS; however, the KTH team has developed a Q-GIS plugin in order to automate the process.


In order to run succelfully run gep_onsset the vector clusters need to be attributed using 26 GIS layers. An extensive list of those together with open access sources is available here.

Training material

Training material related to the use of gep_onsset package are available on Google’s Open Online Education platform.



KTH division of Energy Systems (2019). OnSSET (Open Source Spatial Electrification Tool), Model Item, OpenGMS, https://geomodeling.njnu.edu.cn/modelItem/c51ad1dc-69ff-4e82-9007-37cff597d01d


Initial contribute : 2019-10-20



Is authorship not correct? Feed back

QR Code


{{curRelation.author.join('; ')}}



Drop the file here, orclick to upload.
Select From My Space
+ add


Cancel Submit
{{htmlJSON.Cancel}} {{htmlJSON.Submit}}
{{htmlJSON.Localizations}} + {{htmlJSON.Add}}
{{ item.label }} {{ item.value }}
{{htmlJSON.Cancel}} {{htmlJSON.Submit}}
名称 别名 {{tag}} +
系列名 版本号 目的 修改内容 创建/修改日期 作者
摘要 详细描述
{{tag}} + 添加关键字
* 时间参考系
* 空间参考系类型 * 空间参考系名称

起始日期 终止日期 进展 开发者
* 是否开源 * 访问方式 * 使用方式 开源协议 * 传输方式 * 获取地址 * 发布日期 * 发布者

编号 目的 修改内容 创建/修改日期 作者

时间分辨率 时间尺度 时间步长 时间范围 空间维度 格网类型 空间分辨率 空间尺度 空间范围
{{tag}} +
* 类型

* 名称 * 描述
示例描述 * 名称 * 类型 * 值/链接 上传

{{htmlJSON.Cancel}} {{htmlJSON.Submit}}
Title Author Date Journal Volume(Issue) Pages Links Doi Operation
{{htmlJSON.Cancel}} {{htmlJSON.Submit}}
{{htmlJSON.Add}} {{htmlJSON.Cancel}}


Authors:  {{articleUploading.authors[0]}}, {{articleUploading.authors[1]}}, {{articleUploading.authors[2]}}, et al.

Journal:   {{articleUploading.journal}}

Date:   {{articleUploading.date}}

Page range:   {{articleUploading.pageRange}}

Link:   {{articleUploading.link}}

DOI:   {{articleUploading.doi}}

Yes, this is it Cancel

The article {{articleUploading.title}} has been uploaded yet.

{{htmlJSON.Cancel}} {{htmlJSON.Confirm}}