The Decentralized Energy Market (DEM) leverages smart contracts, federated learning, and edge computing to enable secure, peer-to-peer (P2P) energy trading. This system provides a transparent, scalable, and efficient marketplace for renewable energy integration, empowering prosumers, industries, and microgrid operators.
- 🔄 Multi-Agent Reinforcement Learning (MARL) – Optimizes energy trading dynamically.
- 📊 Federated Learning – Privacy-preserving demand forecasting without data sharing.
- 🔋 Vehicle-to-Grid (V2G) Integration – Allows EVs to sell excess power to the grid.
- 🌱 AI-powered Carbon Tracking – Tracks energy consumption and rewards green behavior.
- Frontend: Next.js, Tailwind CSS, Zustand
- Backend: Node.js, FastAPI
- Database: PostgreSQL, MongoDB, IPFS
- AI/ML: TensorFlow, Scikit-learn, Apache Kafka
- Blockchain: Hyperledger Fabric, Solidity, Web3.js
- Edge Devices & Sensors: Raspberry Pi, ACS712, PZEM-004T
- Data Transmission: ESP8266
- IoT Integration: MQTT, Firebase
- Cloud Server: Local PC for blockchain nodes and AI model
- 🏡 Residential Prosumers – Sell excess solar energy with instant payments & fair pricing.
- 🏭 Commercial & Industrial Consumers – Buy cheaper renewable energy directly.
- ⚡ Microgrid Operators – Enable seamless P2P energy trading for remote areas.
- 🔌 Plug-and-play IoT API – Easily integrates with energy systems.
- ⚡ Scalable Architecture – Supports micro to national grids with real-time edge computing.
- 🌍 Open-source & Modular – Designed for global adoption and mobile-friendliness.
- Clone the repository
git clone https://github.com/your-username/DEM.git cd DEM - Install dependencies
npm install # For frontend pip install -r requirements.txt # For backend
- Run the Blockchain Network
cd blockchain ./start-network.sh # Start Hyperledger Fabric
- Start the Backend
cd backend uvicorn main:app --reload - Run the Frontend
cd frontend npm run dev
We welcome contributions! Feel free to open issues and submit pull requests.
For any queries, reach out via jsammureddy140804@gmail.com or create an issue in the repo.
🚀 Join us in revolutionizing energy markets with decentralization! ⚡
