qsim
A Rust library for power grid modeling and simulation.
Features
- Power Flow Analysis — DC and AC power flow solvers
- Modular Architecture — Pluggable solvers and elements
- High Performance — Pure Rust, parallel computation with Rayon
- Graph-Based Topology — Flexible network representation
Quick Start
use *;
// Create a simple 3-bus network
let mut network = new;
// Add buses
network.buses.push;
network.buses.push;
network.buses.push;
// Add branches
network.branches.push;
network.branches.push;
// Save to JSON
network.to_file?;
Crate Structure
qsim-core— Core engine, traits, state managementqsim-elements— Grid elements (Bus, Branch, Generator, Load)qsim-solvers— Power flow solvers (DC, AC)qsim-io— JSON I/O, serialization, persistence