Skip to main content
Tayyab Manan
Home
Alt+H
Projects
Alt+P
Blog
Alt+B
About
Alt+A
Contact
Alt+C
Resume
Tayyab Manan
HomeProjectsBlogAboutContactResume
  1. Home
  2. Projects
  3. Geospatial AI

EV Suitability Analysis

Geospatial Analysis for EV Infrastructure Planning

Multi-criteria spatial optimization for EV charging station site selection in Lahore using weighted scoring algorithms, demographic analysis, and geospatial data to find the best locations for charging infrastructure.

November 2024
PythonQGISArcGISOpen Street MapDemographic Data
Live DemoSource Code
Next project TeacherRank
Back to all projects
HomeProjectsBlogAboutContactResume
 

Islamabad, Pakistan · UTC+5

Tayyab Manan

©

    Overview

    A geospatial project for figuring out where to put EV charging stations in Lahore. The system combines demographic data, economic indicators, infrastructure networks, and spatial analysis to score and rank potential sites across Lahore's 5 tehsils using multi-criteria decision analysis and weighted scoring.

    the site-selection map · 10 ranked sites across 3 rollout phases
    the site-selection map · 10 ranked sites across 3 rollout phases

    Key Features

    • Site Selection Algorithm: Multi-criteria optimization for EV charging station placement across Lahore's 5 tehsils
    • Weighted Scoring Model: Scoring algorithm that integrates demographic, accessibility, and growth factors with tunable weights (population 30%, growth 20%, accessibility 25%, infrastructure 15%, economic 10%)
    • Interactive Maps: Dynamic geospatial visualizations showing suitability scores and ranked results
    • Reproducible Pipeline: Python-based analysis pipeline that can be rerun with updated data
    • Results: 5 priority sites identified and ranked, 3-phase deployment strategy, 90%+ coverage target
    • Multi-Source Data: 2023 Pakistan Census, OpenStreetMap, administrative boundaries

    Technical Architecture

    Python-based geospatial pipeline using GeoPandas and Shapely for spatial operations, NumPy for numerical computation, and Folium for interactive map visualizations. OpenStreetMap Overpass API pulls infrastructure data. The core algorithm is a multi-criteria decision analysis (MCDA) with weighted linear combination for site scoring. The frontend is HTML/JavaScript for exploring the ranked results. CSV/JSON data interchange keeps the analysis reproducible.

    Environmental Impact

    Impact AreaHow
    Air QualitySite selection targets areas where EV adoption would reduce the most vehicle emissions
    Greenhouse Gas ReductionCoverage optimization aims for maximum carbon offset per station
    Noise PollutionPlacement prioritizes high-traffic areas where EVs would reduce noise
    Urban PlanningAnalysis accounts for green infrastructure and urban heat considerations

    Data Sources

    SourceDescription
    OpenStreetMapFreely available geospatial data
    Census DataDemographic data from the 2023 Pakistan Census

    What I Learned

    Technical Skills

    Working with multiple GIS platforms (QGIS, ArcGIS) taught me their different strengths for spatial analysis tasks. Implementing the MCDA algorithm was where I learned the most about balancing competing priorities in site selection. I got comfortable with the OpenStreetMap Overpass API for extracting real-world infrastructure data, and with GeoPandas and Shapely for geometric operations and spatial joins. Folium turned out to be a good fit for communicating spatial results to people who don't work with GIS.

    Problem-Solving

    The hardest part was weight optimization: finding the right balance between demographic, accessibility, and infrastructure factors. There's no objectively correct answer, which made it interesting. Combining census data, OSM data, and administrative boundaries with different coordinate reference systems was a recurring headache. I also had to develop ways to validate the algorithmically-generated recommendations against real-world feasibility, things like whether a site actually has available land or grid capacity. The pipeline is designed to be reproducible and applicable to other cities with minimal changes.

    Domain Knowledge

    I came into this thinking it was mostly a technical problem, but urban infrastructure planning has layers I didn't expect. Accessibility and equity matter as much as optimization scores. EV adoption barriers go beyond charging availability. And the gap between what an algorithm recommends and what's actually buildable is real. Understanding how this kind of analysis can inform government investment decisions gave the project more weight than a pure technical exercise.

    Key Insights

    Geospatial analysis lives and dies by coordinate reference systems and data quality. Multi-criteria optimization always involves tradeoffs that benefit from domain expertise, not just parameter tuning. Visualization matters more than I initially thought for communicating spatial results to non-technical audiences. And real-world constraints (land availability, grid capacity) can override what the algorithm thinks is optimal.

    Future Development

    The next steps include deep learning for demand prediction, scaling the pipeline to other Pakistani cities, and integrating real-time traffic data for dynamic optimization. I'd also like to add economic feasibility modeling for ROI estimates, energy grid capacity analysis for load balancing, and satellite imagery analysis for automated site validation.