Skip to content

AlierenSafi/gridflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

GridFlow - Power System Load Flow Simulator

Web-based, open-source electrical power system load flow analysis tool.

Features

  • 3 Solution Algorithms: Newton-Raphson, Gauss-Seidel, Fast Decoupled
  • IEEE Test Systems: 14-bus, 30-bus, and 118-bus systems
  • Web-Based: No installation required, runs in browser
  • Open Source: MIT License

Technologies

Backend:

  • Python 3.11+
  • FastAPI
  • NumPy/SciPy

Frontend:

  • React 18 + TypeScript
  • Vite
  • Axios

Installation

Backend

cd backend
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
python run.py

Backend will run at http://localhost:8000

Frontend

cd frontend
npm install
npm run dev

Frontend will run at http://localhost:3000

API Endpoints

  • POST /api/v1/powerflow/solve - Run power flow analysis
  • GET /api/v1/powerflow/algorithms - List algorithms
  • GET /api/v1/test-systems - List test systems
  • GET /api/v1/test-systems/{id} - Get specific test system

Usage

  1. Load IEEE 14-bus system
  2. Select algorithm (Newton-Raphson recommended)
  3. Click "Run Power Flow" button
  4. View results

Roadmap

  • Basic power flow algorithms
  • IEEE 14-bus test system
  • Web API
  • Basic frontend
  • IEEE 30-bus and 118-bus systems
  • Visual SLD editor
  • Graphical results (voltage profile, power flow)
  • OPF (Optimal Power Flow)
  • Short circuit analysis

License

MIT License

About

GridFlow - Web-based Power System Load Flow Simulator with Newton-Raphson, Gauss-Seidel and Fast Decoupled algorithms. Supports IEEE 14, 30, and 118 bus test systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors