2 unstable releases

0.2.0 Aug 13, 2024
0.1.0 Dec 17, 2023

#1426 in Algorithms

36 downloads per month
Used in powers-pf

BSD-3-Clause

55KB
1K SLoC

Contains (Zip file, 2KB) casedata/t_case_ext.case, (Zip file, 2KB) casedata/t_case_int.case

powers

Power flow simulation and optimization.

About

This crate contains common structures and auxiliary functions. The case structure is defined in the caseformat crate. The main functions of powers are provided in dependent crates:

  • powers-pf Power Flow
    • Newton's method
    • Fast-Decoupled method
    • Gauss-Seidel method
    • DC power flow

Additional features are available from the author on request:

  • powers-opf Optimal Power Flow
  • powers-cpf Continuation Power Flow
  • powers-ptdf Power Transfer Distribution Factors/Line Outage Distribution Factors

License

Translated from MATPOWER into Rust by Richard Lincoln.

The source code is distributed under the same BSD 3-clause license (LICENSE or https://opensource.org/license/bsd-3-clause/) as MATPOWER.

Dependencies

~26MB
~311K SLoC