Skip to content

Repository files navigation

Power-Rangers

Electricity demand forecasting and peak-demand projection system for the Delhi power grid.

This repository currently uses:

  • Python for data processing, model training, inference, and exports
  • React + Vite for the frontend dashboard

Project Structure

  • src/: forecasting pipeline modules (feature engineering, training, inference, evaluation)
  • data/: raw and generated forecast artifacts
  • config/: runtime configuration
  • frontend/: React dashboard (Vite + TypeScript + Tailwind)

Setup

Create Virtual Environment

python -m venv .venv

Activate Virtual Environment

Linux/Mac:

source .venv/bin/activate

Windows:

.venv\Scripts\activate

Backend (Python) Setup

  1. Create and activate a virtual environment (see steps above).

  2. Install dependencies:

pip install -r requirements.txt
  1. Seed the admin account:
python src/auth/seed_admin.py
  1. Start the uvicorn server:
uvicorn backend.main:app --reload

Frontend (React + Vite) Setup

cd frontend
npm i
npm run dev

About

To develop a model for electricity demand for electricity demand projection including peak demand projection for Delhi Power System

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages