-
Notifications
You must be signed in to change notification settings - Fork 2
Home
These pages provide the official documentation for the M-LED (Multi-sectoral Latent Electricity Demand) platform. Information about the customisation parameters and assumptions for the sectoral electricity demand characterisation is presented here. The platform has been developed and tested in a Windows 10 environment.
-
Clone the MLED repository and extract it in a custom location.
-
Download the MLED_database.zip file from the M-LED Zenodo repository [https://zenodo.org/...] and unzip it to a path on your local machine. Ensure to unzip the database in a location where there are several gigabytes of space available, otherwise the process will file. This space will not be occupied permanently, but is required for the data processing to succeed. The folder contains data for replicating the Kenya country study, as well as an 'data_sources.txt' instructions file to support for retrieving data for other countries' data.
-
The M-LED platform is written in the R scientific computing language, but in some processing steps it depends on PyQGIS (Python + QGIS algorithm toolbox). A handy automatic wizard batch file (
.\installdependencies.cmd
) is included in the root of the M-LED repository. The file ensures that the software requirements are met on the local machine, and if they are not, it prompts the user to download and install the required software and libraries.
NB: These steps are only necessary when setting up the environment for the first time. NB2: The .\installdependencies.cmd
file MUST be run with administrator priviledges (right click -> run as administrator)
- Parameters
- Input data
- Electrification estimation
- Population clustering
- Residential demand
- Services (schools and healthcare) demand
- Irrigation and water pumping demand
- Crop processing demand
- Productive and commercial demand
- Nexus economic analysis
-
Open the MLED_hourly.R in RStudio (R 3.6+)
-
Open the manual_parameters.R file and set the correct file path for where you have extracted the M-LED database input data and define other local parameters
-
Run the whole script or source its individual modules
Soft-links with electricity access models have been so far tested with the KTH's OnSSET and JRC's PVGIS.
Giacomo Falchetta et al. (2020), the M-LED documentation