Battery failure prediction and predictive maintenance are highly complex operations dependent on evaluating continuous streams of voltage, current, and temperature data over cycle intervals. Identifying capacity fade and predicting Remaining Useful Life (RUL) before unexpected cascading failures occur is essential for electric scaling and grid storage safety.
- Predictive Maintenance: Calculates precise Remaining Useful Life (RUL).
- Condition Monitoring: Real-time evaluation of health scores via cycle arrays.
- RESTful Endpoints: Fully typed APIs for triggering AI heuristics.
- Scalable Architecture: Designed explicitly for cloud-native deployment.
- FastAPI (Python backend core)
- Docker (Containerization pipeline)
- Microsoft Azure App Service (Cloud hosting)
- Azure Container Registry (Image distribution)
- Azure SQL Database (ODBC connected data lake)
- Vercel Frontend (React user interfaces)
- Machine Learning (Scikit-learn / LSTM predictive analytics)
The application is bifurcated internally where operations trigger horizontally scalable actions inside a Dockerized App Service boundary reporting centrally. (See docs/architecture.md for details).
Frontend (Vercel) → Backend Container via Azure Container Registry (ACR) deployed onto Azure App Service connecting privately to an Azure SQL Database.
The production API Base URL serves publicly from: https://voltai-api-prod.azurewebsites.net
- Navigate to the
backend/directory from the root.
cd battery-intelligence-platform/backend- Create your
.envand configureDATABASE_URL(SQLite will default). - Install project dependencies.
pip install -r requirements.txt- Run the backend correctly with the startup script explicitly supporting auto table mapping configurations.
./startup.shYou can rebuild the native Azure ODBC compatible Docker container locally:
docker build -t voltai-backend .
docker run -p 8000:8000 voltai-backend- Authenticate with your Azure infrastructure using the Azure CLI (
az login). - Tag your local Docker image towards your specific Azure Container Registry explicitly.
- Push via
docker push <your-acr-name>.azurecr.io/voltai-backend. - Trigger a restart hook on your App Service to pull the latest changes seamlessly.
- integration with Azure Blob Storage.
- Automated pipelines managed via Azure Machine Learning.
- Time-series metric streaming to an Event Hub Telemetry ecosystem.
- Dedicated unified Fleet Monitoring Dashboard.
- Fully automated Push/SMS Alert System.
- Live synchronization to a Battery Digital Twin.