SEforALL-IEAP / OMG

Quick techno-economic analysis of potential mini-grid sites. The script is based on OnSSET model with modifications to accommodate specifications related to the overall viability of mini-grids.
0 stars 0 forks source link

Develop MST for a given cluster #3

Open akorkovelos opened 9 months ago

akorkovelos commented 9 months ago

In the current version of the model, MST has already been calculated (in this case by VIDA). Given that we now have availability of public building footprints (let's use the VIDA dataset), let's try to develop the Minimum Spanning Tree from scratch. Here is what we foresee:

  1. Load vector polygons representing clusters/mini-grid sites (use existing vida cluster .gpkg)
  2. Load building data and clip buildings within cluster boundaries (perhaps add a small buffer to avoid building separation)
  3. Filter buildings based on rooftop size; add the option of excluding anything outside of m2 boundaries (e.g. 15500)
  4. Use one of the available MST algorithms to estimate the km of lines required to connect all remaining structures
  5. Revert that as an attribute to the polygon/site

We want to have the flexibility to recreate the MST with our own assumptions.

Bonus: Move from MST to routing design e.g., following roads, adding service drop, exploring different line configurations etc. @a-ndorbele you can help draft the engineering details of that, which we can then translate into code.