This repository contains the source code of the Open Source Spatial Electrification Tool OnSSET.
OnSSET can be run using interactive Jupyter Notebooks. First, the input file with GIS data extracted for each settlement should be created using the codes in the OnSSET_GIS_Extraction_notebook repository.
Next, run the Calibration.ipynb to calibrate the start year information.
Finally, run the OnSSET_Scenarios.ipynb, or the OnSSET_Scenarios_MultipleTimeSteps.ipynb if you want to run the code in multiple time-steps.
OnSSET is run using Python, most easily through Jupyter Notebook, but can also be run using another Python IDE. It is recommended to install OnSSET using Anaconda.
-
Download or clone the repository.
-
Open Anaconda prompr. Navigate to the folder where the OnSSET code is installed.
-
Install all the packages required in a new environment called "OnSSET" using:
conda env create -n OnSSET -f onsset_env.yml
- Activate the environment using:
conda activate OnSSET
- Finally, to run OnSSET using Jupyter Notebook, run the following command:
jupyter notebook
For more information regarding the tool, its functionality and implementation please visit OnSSET on LinkedIn or go to the OnSSET forum.