SCRAP 2 SPARK is an AI-powered platform that analyzes lithium-ion battery telemetry to predict Remaining Useful Life (RUL), assess battery health, recommend second-life deployment strategies, and estimate sustainability impact.
- 🌐 Live Demo: https://sdg-hackthon.vercel.app/
- ⚡ Backend API: https://sdg-hackathon.onrender.com/
- 📂 Repository: https://github.com/pulkittaneja09/sdg-hackthon
Electric vehicle batteries often retain significant usable capacity even after reaching the end of their primary automotive lifecycle. Identifying whether these batteries should be reused or recycled requires analyzing complex telemetry data, making manual evaluation difficult and time-consuming.
SCRAP 2 SPARK provides an AI-powered decision support system that predicts battery health, estimates Remaining Useful Life (RUL), evaluates operational risk, and recommends appropriate second-life applications using machine learning.
- Battery telemetry upload using CSV files
- Remaining Useful Life (RUL) prediction
- Battery health assessment
- Risk classification
- Second-life deployment recommendation
- Sustainability impact analysis
- Interactive analytics dashboard
- Production-ready REST API built with FastAPI
Battery Telemetry CSV
│
▼
Data Validation
│
▼
Feature Engineering
│
▼
Random Forest Model
│
▼
RUL Prediction
│
▼
Risk Assessment
│
▼
Deployment Recommendation
│
▼
Analytics Dashboard
Random Forest Regressor
- Cycle Count
- Capacity
- Voltage
- Current
- Temperature
- Time
- Capacity degradation trend
- Voltage stability
- Temperature variance
- Current consistency
- Remaining Useful Life (RUL)
- Confidence Score
- Battery Grade
- Risk Category
- Deployment Recommendation
Random Forest performs well on structured battery telemetry data, handles nonlinear relationships, minimizes overfitting, and produces reliable predictions with minimal preprocessing.
- React
- TypeScript
- Vite
- Tailwind CSS
- Axios
- FastAPI
- Python
- Pandas
- NumPy
- Scikit-learn
- Uvicorn
- Random Forest Regressor
- Vercel
- Render
React Frontend
│
REST API Calls
│
▼
FastAPI Backend
│
┌─────────────────┼────────────────┐
│ │ │
▼ ▼ ▼
Data Processing Feature Engineering ML Model
│
▼
Recommendation Engine
│
▼
Sustainability Calculator
│
▼
Interactive Dashboard
SCRAP-2-SPARK
│
├── frontend/
│ ├── src/
│ ├── components/
│ ├── pages/
│ └── assets/
│
├── backend/
│ ├── api/
│ ├── services/
│ ├── models/
│ ├── utils/
│ └── main.py
│
└── README.md
- Python 3.10+
- Node.js 18+
cd backend
pip install -r requirements.txt
uvicorn main:app --reloadRuns on:
http://localhost:8000
cd frontend
npm install
npm run devRuns on:
http://localhost:5173
| Layer | Platform |
|---|---|
| Frontend | Vercel |
| Backend | Render |
Environment Variable
VITE_API_URL=https://sdg-hackathon.onrender.com- Multi-battery batch analysis
- Explainable AI (SHAP)
- IoT telemetry integration
- Battery Passport support
- Authentication and user management
- Enterprise analytics dashboard
This project is licensed under the MIT License.