Conversation
Synchronize IRT SysX repo with latest updates
…wergrid-simu-proxy Fix/session refresh and powergrid simu proxy
Author
|
My commits are only related to the forecasting. Other ones were there before, but were not merged to the main |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failure forecasting integration
Failure forecasting is integrated directly into the existing PowerGrid simulator pipeline.
Execution flow
app/models/Simulator.py:102-117.app/models/Simulator.py:197-200.app/models/Simulator.py:354-365.app/models/Simulator.py:366-378.app/models/Simulator.py:379-387.Grid observation
→ Overload detected
→ Overload event sent
→ Failure forecast executed
→ Linked forecast event sent
The inference pipeline and forecast output are implemented in
app/models/failure_forecast.py:238-301.The output includes:
The linked event payload is created in
app/models/failure_forecast.py:304-346and published through the simulator’s existing event mechanism inapp/models/Communicate.py:515-533.Getting pre-trained model:
The train models are available as artifacts in the latest release here: https://github.com/ainetus/RL_agent_failure_forecast/releases/tag/v2.0-docker
It is required to download
ai4realnet_small-curriculum-v2026.09.18-models.ziparchive and unzip thefailure_forecastersubdirectory to the project root.