Class FlowbasedComputationImpl

java.lang.Object
com.powsybl.openrao.flowbasedcomputation.impl.FlowbasedComputationImpl
All Implemented Interfaces:
com.powsybl.commons.config.PlatformConfigNamedProvider, com.powsybl.commons.Versionable, FlowbasedComputationProvider

@AutoService(FlowbasedComputationProvider.class) public class FlowbasedComputationImpl extends Object implements FlowbasedComputationProvider
Flowbased computation implementation
Author:
Sebastien Murgey <sebastien.murgey at rte-france.com>
  • Constructor Details

    • FlowbasedComputationImpl

      public FlowbasedComputationImpl()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.powsybl.commons.config.PlatformConfigNamedProvider
      Specified by:
      getName in interface com.powsybl.commons.Versionable
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface com.powsybl.commons.Versionable
    • run

      public CompletableFuture<FlowbasedComputationResult> run(com.powsybl.iidm.network.Network network, Crac crac, RaoResult raoResult, com.powsybl.glsk.commons.ZonalData<com.powsybl.sensitivity.SensitivityVariableSet> glsk, FlowbasedComputationParameters parameters)
      Specified by:
      run in interface FlowbasedComputationProvider
    • findAllAvailableRemedialActionsForState

      public static Set<NetworkAction> findAllAvailableRemedialActionsForState(Crac crac, State state)
      Find all remedial actions saved in CRAC, on a given network, at a given state.
      Parameters:
      crac - CRAC that should contain result extension
      state - State for which the RAs should be applied
    • findAppliedNetworkActionsForState

      public static Set<NetworkAction> findAppliedNetworkActionsForState(RaoResult raoResult, State state, Set<NetworkAction> networkActions)
      Find network actions saved in CRAC result extension on current working variant of given network, at a given state.
      Parameters:
      raoResult - Result of Rao computation
      state - State for which the RAs should be applied
      networkActions - All network actions
    • findAppliedRangeActionsForState

      public static Map<RangeAction<?>,Double> findAppliedRangeActionsForState(RaoResult raoResult, State state)
      Find range actions saved in CRAC result extension on current working variant of given network, at a given state.
      Parameters:
      raoResult - Result of Rao computation
      state - State for which the RAs should be applied