TanishB / Smart-EV

A model that can predict the dynamic price of an EV charging station and the Waiting period persisting at that station.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SmartEV

This project basically aims to predict a dynamic price of EV charging station and the Waiting period which persists at that station. So one can look for the nearby EV station based on DYNAMIC PRICE & WAITING PERIOD
I have taken into account 3 parameters which according to me should be able to predict Dynamic price of EV charging station:

  • Number of Cars

So it all starts with a Object detection model YOLO(You Look Only Once) which is used to detect all the cars from which we can get a count of total cars. For the testing purpose I'm using an image of station with queue of cars.

picture picture

  • Time

Time is nothing but what hour of the day it is, like 3 or 7 or 5 . . . So I have just taken my system's time for testing purpose.

  • Day/Night Time

It just denotes am OR pm which can also be found by system's current time.

So pass these 3 inputs to my trained Model and you'll get Dynamic Price & waiting period as Output!

picture

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

First, download the YOLO Model File
I'm assuming you have Python & basic libraries like Numpy, Pandas etc. already installed.

  • PyTorch
pip3 install torch torchvision

Visit PyTorch to install torch according to your system requirements

  • TensorFlow
pip3 install --upgrade tensorflow
  • OpenCV
pip3 install opencv-python
  • Keras
pip3 install keras
  • ImageAI
pip3 install https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.3/imageai-2.0.3-py3-none-any.whl

Have a Look

  • 01 Data Generation In this notebook you can have an insight of data generation.

  • 02 Car Detection In this notebook you can see the object detection code with the help of ImageAI library.

  • 03 Model Training This notebook is focused on Model training. I've used Regression model for the prediction which is trained with the help of PyTorch Library using our own Dataset that we created in first step.

  • 04 Securing Model This notebook helps you secure the model with the help of Encrypted Deep learning. So you'll passing encrypted data to encrypted model and finally produce encrypted results.

  • 05 Date & Time It's a small and simple notebook that will guide you how we can access system's Date & Time.

Run

The jupyter notebooks I mentioned above are for your understanding, so that you can actually see what's happening under the hood, how data has been generated & how model has been trained.

Finally to see everything running you can just execute run.py file.

Built With

Authors

About

A model that can predict the dynamic price of an EV charging station and the Waiting period persisting at that station.


Languages

Language:Jupyter Notebook 93.7%Language:Python 6.3%