Skip to content

Releases: chengts95/rustpower

v0.2.0

21 Nov 22:28
dd9a08f
Compare
Choose a tag to compare

Changelog

[0.2.0] - 2024-11-21

Added

  • World’s First ECS-Based Power Flow Solver:
    Introduced the first-ever steady-state power system analysis program using the Bevy ECS architecture. This groundbreaking update shifts from the legacy PFNetwork to a modular, extensible design, paving the future way for advanced applications such as:

    • Time-Series Simulations
    • Stochastic Power Flow
    • Optimal Power Flow
    • Custom Plugins for Domain-Specific Needs

    Deprecation Notice: The old PFNetwork is now deprecated. While it remains available as a demo for the Newton-Raphson power flow solver, it is no longer suitable for practical problem-solving. Users are encouraged to migrate to the ECS-based version for better scalability and flexibility.

  • Post-Processing Trait:
    Added a post-processing trait to demonstrate Rust's compositional design philosophy and how simulation results can be handled within the ECS framework, similar to working with dataframes. Users can implement their own post-processing methods, with provided examples serving as a starting point.

  • Switch Element Handling (Experimental):
    Introduced experimental support for handling switch elements between buses, offering two optional methods:

    1. Admittance-Based Method: Models switches via admittance adjustments.
    2. Node-Merging Method: Simplifies switches by merging connected nodes.
      These methods are implemented as optional plugins and are disabled by default.

Fixed

  • Improved JSON Parsing for pandapower:
    Enhanced compatibility with pandapower networks, thanks to contributions from @mancioshell.
  • Corrected Shunt Element Behavior:
    Shunt elements are now treated as admittances rather than PQ injections, ensuring consistency with pandapower’s implementation.

What's Changed

  • Update to new zip and nalgebra crate, with real pandapower json support by @chengts95 in #2
  • Merge ECS Implementation and Switch Elements into Main Branch for Enhanced Flexibility in Power System Modeling by @chengts95 in #3

Full Changelog: https://github.com/chengts95/rustpower/commits/v0.2.0