Code Monkey home page Code Monkey logo

loadpredictor's Introduction

Intelligent Load Forecasting for Enhanced Energy Management in Smart Grids

Table of Contents

  1. Overview
  2. Objectives
  3. Key Features
  4. How it Works
  5. Installation and Setup
  6. How to Use
  7. Dependencies
  8. File Structure
  9. Hosted Version

Overview

  • This project is centered around load forecasting for electricity demand in a power grid.
  • The data used for this project was sourced from the Delhi State Load Dispatch Centre.

Objective

  • The main objective was to implement an LSTM model to generate short-term load forecasts, predicting demand 24 hours into the future.

Key Features

  • Short-term load forecasting using LSTM model
  • Data visualization using Streamlit
  • High accuracy with an RSME (Root Mean Square Error) less than 1%

How it Works

  • The LSTM model is trained using the dataset scraped from the Delhi State Load Dispatch Centre (https://www.delhisldc.org/Loaddata.aspx?mode=28/05/2024)
  • The model learns to predict the electricity demand for the next 24 hours based on the previous 10 days.
  • The predictions are then visualized using the Streamlit app.

Streamlit App

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/CubeStar1/LoadPredictor.git
    cd LoadPredictor
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:
      .\venv\Scripts\activate
    • On Unix or MacOS:
      source venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt
    
  5. Run the Streamlit app:

     streamlit run app.py
  6. Use the Jupyter Notebook to train the model and perform data analysis.

How to Use

  • After setting up the project, you can use the Streamlit app to visualize the electricity demand and the model's predictions.
  • You can also use the Jupyter Notebook to train the model and perform data analysis.

Dependencies

  • Python
  • Pandas
  • NumPy
  • Matplotlib
  • Scikit-learn
  • TensorFlow
  • Keras
  • Streamlit
  • BeautifulSoup
  • Jupyter Notebook

File Structure

  • app.py: The Streamlit app for data visualization
  • utilities/datasets/: The dataset used for training the LSTM model
  • scripts/data-scraping.py: Used to scrape data from the Delhi State Load Dispatch Centre
  • utilities/jupyter-notebook/: Jupyter Notebook used for data analysis and model training

Hosted Version

loadpredictor's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.