Class RunningContext
- java.lang.Object
-
- com.powsybl.security.interceptors.RunningContext
-
- All Implemented Interfaces:
SecurityAnalysisResultContext
public class RunningContext extends Object implements SecurityAnalysisResultContext
TODO: I think having state ID here is broken, as security analysis contract does not guarantee that the corresponding state will be filled with N results- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description RunningContext(Network network, String initialStateId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInitialStateId()
Get the state ID corresponding to the N situation computation.Network
getNetwork()
Get the network on which computation is carried out.
-
-
-
Method Detail
-
getNetwork
public Network getNetwork()
Get the network on which computation is carried out.- Specified by:
getNetwork
in interfaceSecurityAnalysisResultContext
- Returns:
- the network on which computation is carried out
-
getInitialStateId
public String getInitialStateId()
Get the state ID corresponding to the N situation computation. TODO: I think thisis broken, as security analysis contract does not guarantee that the corresponding state will be filled with N results- Returns:
- the state ID corresponding to the N situation computation
-
-