Skip to content

Digital Twin representation of Internet of Things Network Traffic data simulated using Simpy. Implemented RNN model to forecast future values for the data

Notifications You must be signed in to change notification settings

fadeldnswr/iot-network-digital-twin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Network Digital Twin - A Fullstack Simulation Prototype

alt text

Project Description

This project is an end-to-end implementation of a Digital Twin system for IoT network performance, focusing on monitoring, anomaly prediction, and comparative simulation between real and synthetic data. The system collects data from a physical IoT network, applies data preprocessing and validation.

🔧 Features

  • 🔁 Preprocessing pipeline with timestamp handling and resampling
  • 📊 Side-by-side visualization of real vs simulated digital twin data
  • ⚙️ API endpoints (FastAPI) for:
    • Manual prediction with input features
    • Batch prediction for N future hours
    • Visualization and user-defined configuration storage
  • 💾 Configuration saving to Supabase (user-defined prediction scenarios)
  • 🐳 Ready for Docker deployment
  • ⚙️ Modular structure for scalability and maintenance

📁 Project Structure

├── dataset/              # Raw and processed data (CSV, JSON, etc.)  
├── model/                # Model outputs and evaluation results  
├── notebook/             # Jupyter notebooks for validation and exploration  
├── src/  
│   ├── api/              # FastAPI initialization (app, CORS, main)  
│   ├── components/       # Ingestion, transformation, trainer modules  
│   ├── db/               # Supabase API config and clients  
│   ├── routes/           # API endpoint definitions  
│   ├── schema/           # Pydantic request/response models  
│   ├── services/         # SimPy model  
│   ├── utils/            # Helper functions and serialization tools  
│   ├── logging/          # Logging configuration  
│   ├── exception/        # Custom exception classes  
│   └── entity/           # Config classes for pipeline  
├── main.py               # Entry point for FastAPI app  
├── Dockerfile            # Docker configuration (optional)  
├── requirements.txt      # Python dependencies  
└── README.md             # Project documentation

About

Digital Twin representation of Internet of Things Network Traffic data simulated using Simpy. Implemented RNN model to forecast future values for the data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published