Git Product home page Git Product logo

m-led's Introduction

License: GPL v3 Maintenance

M - LED: the Multi-Sectoral Latent Electricity Demand platform

alt text

The platform has been developed and tested in a Windows 10 environment connected to the Internet (a connection is required to operate Google Earth Engine API calls).

Setting up the environment

  1. Clone the MLED repository and extract it in a custom location.

  2. Download the MLED_database.7z file from the M-LED Zenodo repository DOI 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. The folder contains data for replicating the Kenya country study.

  3. 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)

Operating the platform

  1. Open the MLED_hourly.R in RStudio (R 3.6+)

  2. 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

  3. Run the whole MLED_hourly.R script or source its individual modules

Customising the analysis

-> See the repo's Wiki (https://github.com/giacfalk/M-LED/wiki)

Examining the results

The results of the M-LED platform constist of:

  • A geodatabase (clusters_final.gpkg) (- A collection of raster files (*.tif) with hourly, sector-specific, monthly-variant loads)
  • Figures summarising the results in the 'results_figures' folder in the repo home folder.

Support

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.