Home / Docs / GAT – Grid Analysis Toolkit / Developer Internals

Developer Internals

Technical documentation for Rust developers contributing to GAT

Architecture

Crates

GAT is organized as a Cargo workspace with focused crates:

CratePurpose
gat-coreNetwork graph, data structures, base types
gat-algoSolvers: power flow, OPF, state estimation
gat-ioFile I/O: MATPOWER, PSS/E, CIM
gat-cliCommand-line interface
gat-distDistribution system analysis
gat-admsADMS domain features
gat-dermsDERMS domain features
gat-scenariosScenario management and batch runs

Contributing

API Reference

Rustdoc API documentation:

  • Run cargo doc --open locally for the latest
  • docs.rs will be available when published to crates.io

For Integrators

MCP Server Setup

MCP onboarding for GAT

CI/CD Workflows

CI/CD Workflows

Feature Matrix

gat-cli Feature Matrix and Distribution Builds

Data Flow & Design

How data moves through GAT, from input to solution

CLI Architecture

CLI Architecture

TUI Reference

`gat-tui` architecture, panel registry, and analytics tabs

Scaling Guide

Scaling roadmap

Solver Benchmarks

Complete PGLib-OPF validation results for GAT's SOCP solver

Solver Architecture

How GAT's native solver plugin system works

Packaging & Installation

Building release packages and installing GAT with modular components

Documentation Workflow

Documentation updates and issue tracking workflow

GUI Dashboard

Native desktop application for interactive grid analysis