Skip to content

Conversation

@chengts95
Copy link
Owner

No description provided.

tianshi cheng and others added 30 commits April 29, 2025 11:36
- Introduced Bus components including OutOfService, BusID, BusType, VmLimit, VNominal, and Zone with serialization support.
- Created BusBundle for easy entity creation from Bus data.
- Implemented snapshot registration for Bus components.
- Developed systems for updating node lookup based on BusID changes.
- Added Switch component with state management and node merging logic.
- Implemented node aggregation and power flow matrix updates in response to Switch states.
- Created utility functions for building aggregation matrices and handling node merges.
- Added unit tests for Bus and Switch functionalities, ensuring correct behavior in power flow calculations.
- Refactored existing code to integrate new components and systems, enhancing modularity and maintainability.
…aer and KLUSolvers; refactor Cargo.toml for new dependencies
…and transformer modules; update serialization for components
…tity management; enhance elements with new snapshot registration and testing
…eBuilder; update related usages in the codebase
…agement and add new attributes for various bundles
…ctionality; refactor snapshot registration and streamline entity spawning
…update related usages in generator elements
…ments and add new components for improved power flow management
… initialization and update systems for buses and lines
tianshi cheng and others added 28 commits May 28, 2025 09:22
…se file

feat: fix snapshot for TargetVaDeg in generator module
refactor: improve PowerFlowConfig struct with default values and optional serialization
- Removed unused imports from bevy_archive and rustpower.
- Added a timeit macro call to measure performance of pf_net.update().
- Removed deprecated components and streamlined node representation in the ECS.
- Updated the power flow system to utilize new structures for bus power injections.
- Introduced a new nonlinear scheduling system to handle convergence checks during power flow calculations.
- Enhanced the archive plugin to support multiple snapshot registries for different application states.
- Improved the handling of bus types and power flow results extraction.
- Added new modules for nonlinear scheduling and result extraction, ensuring better organization and maintainability.
- Updated various system configurations and event handling to align with the new architecture.
…hancing readability; update network and solver structures for better resource management
…aths

- Updated the file path in `time_series.rs` to point to `time_series.toml`.
- Introduced `TimeSeriesArchivePlugin` in `archive.rs` to manage time series data.
- Registered necessary resources for time series functionality within the plugin.
- Modified `mod.rs` to include the new `TimeSeriesArchivePlugin` under the archive feature.
- Cleaned up unused code and comments for better readability.
…on and structural improvements

- Added comprehensive documentation for generator, line, static generator (SGen), shunt, switch, transformer, and unit components, improving clarity on their roles and parameters.
- Introduced new ECS bundles for generator and external grid initialization, facilitating easier integration and configuration.
- Enhanced the power flow module with improved system parameters for node operations, including PQ, PV, and Slack bus definitions.
- Implemented a QLim plugin to enforce generator reactive power limits, ensuring compliance during power flow simulations.
- Updated structure update mechanisms to handle changes in bus types and power injections, ensuring matrix consistency.
- Refactored various systems to improve readability and maintainability, including event handling for voltage and power injection changes.
- Added new traits and macros for unit handling and snapshot registration, enhancing type safety and serialization capabilities.
@chengts95 chengts95 merged commit daeb032 into main Jun 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants