Skip to content

sahiladit/sustainable-automation-ai-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sustainable Automation AI Agent

🚀 An AI-powered decision-making system for optimizing IoT energy consumption

📌 Overview

The Sustainable Automation AI Agent is an AI-driven decision-making system that optimizes IoT device power consumption. It analyzes historical efficiency, real-time energy usage, and usage frequency to determine whether an IoT device should be:

  • Turned off
  • Kept on
  • Reduced in intensity (if applicable)

Unlike traditional machine learning models, this system uses a pre-trained AI agent, eliminating the need for continuous retraining. It provides real-time energy-saving decisions, helping reduce electricity wastage in smart homes, industries, and IoT-enabled environments.


🔧 Features

AI-Powered Decision Making – Determines the optimal power state (ON/OFF/Adjust).
Energy Efficiency Score (EES) Calculation – Computes EES based on power usage, frequency, and historical efficiency.
Real-Time Monitoring – Processes live IoT energy consumption.
Daily & Yearly Energy Savings Estimation – Predicts potential energy savings.
Pre-Trained AI Agent – No continuous training required, ensuring low computational overhead.
Scalable & Modular – Works for individual IoT devices and large-scale industrial systems.


🛠️ Installation & Setup

1️⃣ Clone the Repository

Open a terminal and run:

git clone https://github.com/sahiladit/sustainable-automation-ai-agent.git
cd sustainable-automation-ai-agent

2️⃣ Install Dependencies

Ensure Node.js is installed, then run:

npm install

3️⃣ Set Up API Key (Google Generative AI API)

Create a .env file in the root directory and add:

GEMINI_API_KEY=your_google_ai_api_key

4️⃣ Run the Agent

Provide energy usage data as space-separated values:

node main.js 13478 12865 12577 12670 13692 13038 14297 15009

🖥️ Usage Example

➡️ Input:

node main.js 13478 12865 12577 12670 13692 13038 14297 15009

⬇️ Output:

🔋 Energy Decision System 🔋
📦 Current Usage Pattern: [13478, 12865, 12577, 12670, 13692, 13038, 14297, 15009]
✅ Decision: NO
⚡ Daily Energy Saved: 3692.54 watts
🌍 Yearly Energy Saved: 1,347,777.71 watts
🚀 Energy Efficiency Score: 0.28

📝 How It Works

  1. Receives hourly energy consumption data from IoT devices.
  2. Analyzes power consumption patterns using a pre-trained AI model.
  3. Calculates the Energy Efficiency Score (EES) based on power usage, frequency, and historical efficiency.
  4. Generates an optimal decision to keep the device ON, switch it OFF, or adjust intensity.
  5. Provides energy-saving insights, estimating potential daily and yearly savings.

📊 Comparison with Existing AI Agents

Feature Sustainable AI Agent Google Nest IBM Watson IoT Schneider AI Grid Tesla Autobidder
Works with all IoT devices ❌ (Only HVAC) ❌ (Only grids) ❌ (Only batteries)
Real-time energy decision-making
No continuous retraining needed
Cloud-independent execution
Optimized Energy Efficiency Score (EES)

🚀 Future Scope

📌 Integration with Smart Meters – The AI agent can be integrated with upcoming Smart Meter technology in India to automatically receive energy usage data.
📌 Collaboration with IoT Companies – This system can be embedded into commercial IoT devices for automated energy efficiency management.
📌 Scalability to Smart Cities – The agent can be extended to optimize energy consumption at a city-wide level, reducing overall electricity wastage.


🛡️ License

This project is licensed under the MIT License – feel free to use, modify, and distribute!


👨‍💻 Author

Sahil Adit – Developer & Researcher in AI-driven IoT energy management
📧 Contact: [email protected]
🔗 GitHub: sahiladit


Contribute & Support

Submit pull requests for improvements or suggestions!
If you find this project useful, consider starring the repository! 🚀


Why This README is Optimized?

Well-structured steps for easy setup & execution.
Comparison table for clear feature advantages over existing solutions.
Future Scope to highlight real-world applications.
Proper Markdown Formatting for better readability on GitHub.


Let me know if you need any refinements! 🚀🔥

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published