-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Describe the current behavior
No listener is available in the security analysis.
Describe the expected behavior
Listeners can be injected in the security analysis using the Java ServiceLoader mechanism (same as e.g. LfNetworkLoaderPostProcessor).
Proposed design:
- SecurityAnalysisListener interface, with methods:
- onBasecaseSolved(LfNetwork)
- onContingencySolved(LfNetwork, LfContingency lfContingency, Contingency contingency)
- onOperatorStrategySolved(LfNetwork, LfContingency lfContingency, Contingency contingency, OperatorStrategy operatorStrategy)
the callbacks are called in AbstractSecurityAnalysis#runSimulations
Describe the motivation
Being able to inject externally custom detailled reports about the network state for contingency and operator strategy states.
Extra Information
No response
Metadata
Metadata
Assignees
Labels
No labels