public interface SecurityAnalysis
SecurityAnalysis
is a power system computation which computes, for a Network
,
the LimitViolations
on N-situation
and the ones caused by a specified list of Contingencies
.
Computation results are provided asynchronously as a SecurityAnalysisResult
.
Implementations of that interface may typically rely on an external tool.
Interceptors
might be used to execute client user-specific code
on events such as the availability of N-situation results, for example to further customize the results content
through Extensions
.
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(SecurityAnalysisInterceptor interceptor) |
boolean |
removeInterceptor(SecurityAnalysisInterceptor interceptor) |
java.util.concurrent.CompletableFuture<SecurityAnalysisResult> |
run(java.lang.String workingVariantId,
SecurityAnalysisParameters parameters,
ContingenciesProvider contingenciesProvider) |
default java.util.concurrent.CompletableFuture<SecurityAnalysisResultWithLog> |
runWithLog(java.lang.String workingVariantId,
SecurityAnalysisParameters parameters,
ContingenciesProvider contingenciesProvider) |
void addInterceptor(SecurityAnalysisInterceptor interceptor)
boolean removeInterceptor(SecurityAnalysisInterceptor interceptor)
java.util.concurrent.CompletableFuture<SecurityAnalysisResult> run(java.lang.String workingVariantId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)
default java.util.concurrent.CompletableFuture<SecurityAnalysisResultWithLog> runWithLog(java.lang.String workingVariantId, SecurityAnalysisParameters parameters, ContingenciesProvider contingenciesProvider)