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 <mathieu.bague at rte-france.com>
  • Constructor Details

    • RunningContext

      public RunningContext(Network network, String initialStateId)
  • Method Details

    • getNetwork

      public Network getNetwork()
      Get the network on which computation is carried out.
      Specified by:
      getNetwork in interface SecurityAnalysisResultContext
      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