8000 GitHub - Vipul-Mhatre/Dynameletric
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vipul-Mhatre/Dynameletric

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynameletric: Intelligent Power Management System

Overview

Dynameletric is an advanced power monitoring and management system designed to optimize energy usage in electronic devices. By integrating IoT, AI, and machine learning technologies, this system provides real-time insights into power consumption, predicts usage trends, and minimizes energy waste. Dynameletric employs intelligent power management by embedding AI-driven models directly into hardware, fostering more sustainable and eco-friendly electronics while helping reduce the overall carbon footprint.

Features

  • Real-Time Data Collection: Continuously monitors power, current, and temperature metrics.
  • AI-Driven Power Optimization: Predicts power usage patterns and optimizes energy consumption.
  • Sustainable Hardware Design: Eco-friendly prototype developed with minimal energy waste.
  • Data Analytics: Embedded data analysis to adjust operations dynamically for optimal power management.

Project Structure

Dynamelectric/
│
│   ├── data.py                 # Data handling and preprocessing
│   ├── data2.py                # Additional data processing code
│   ├── Finalcode.c             # Final embedded code implementation
│   ├── hvac-architecture.mermaid  # Architecture of HVAC system in mermaid diagram format
│   ├── meghacloudidecode.c     # Cloud IDE code for integration
│   ├── modbuscode.c            # Modbus protocol code for hardware communication
│   ├── model.py                # Machine learning model implementation
│   ├── mselect.py              # Model selection for best performance
│   ├── output.png              # Sample output graph/visualization
│   ├── pzem code/              # Contains PZEM sensor-related code
│   ├── PZEM-004TCODE.c         # Code for PZEM-004T sensor for power measurements
│   ├── rmse.py                 # RMSE calculation for model accuracy
│   ├── sensor_data.csv         # Sample sensor data for testing and validation
│   └── Temperaturewithlcddisplaynomodbus.c  # Temperature display code

Getting Started

Prerequisites

  • Python 3.8+: Required for running Python scripts.
  • Embedded C Compiler: For compiling embedded C files.
  • Mermaid: For visualizing system architecture diagrams (e.g., via VSCode extension).
  • Modbus Libraries: Required for communication with Modbus-enabled devices.

Installation

  1. Clone the Repository

    git clone https://github.com/your-username/Dynameletric.git
    cd Dynameletric
  2. Set up Virtual Environment

    python3 -m venv env
    source env/bin/activate  # On Windows use `env\Scripts\activate`
  3. Install Dependencies Install the Python dependencies using:

    pip install -r requirements.txt

Configuration

  • Modbus Setup: Ensure Modbus-compatible devices are connected and configured as specified in modbuscode.c.
  • PZEM Sensor: Connect the PZEM-004T sensors according to the instructions in PZEM-004TCODE.c.
  • HVAC Configuration: Refer to hvac-architecture.mermaid for a visual overview of the HVAC system.

Usage

  1. Running the Model Execute model.py to initiate the AI-driven power optimization model.

    python model.py
  2. Data Processing Use data.py and data2.py for data preprocessing steps, including sensor data transformation.

  3. Final Implementation Compile and run Finalcode.c on the embedded hardware to deploy the optimized power management solution.

Code Explanation

The core embedded code responsible for real-time monitoring and control. It integrates data collection from various sensors and adjusts power output accordingly.

Implements the machine learning model for predicting power consumption patterns. The model is trained using historical data and evaluates performance using rmse.py.

This file contains the architecture diagram for an HVAC system. It provides a comprehensive view of the components involved in power management.

Data

The file sensor_data.csv contains sample data collected from sensors. It includes metrics for temperature, power, and current, essential for testing and evaluating the AI model.

Results

Sample results are visualized in output.png, demonstrating the model's performance in power optimization.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributors

This project is maintained by the following individuals:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.3%
  • C 33.8%
  • Mermaid 5.9%
0