Interface ContingencyList

All Known Implementing Classes:
AbstractEquipmentCriterionContingencyList, AbstractLineCriterionContingencyList, DefaultContingencyList, GroovyContingencyList, HvdcLineCriterionContingencyList, IdentifierContingencyList, InjectionCriterionContingencyList, LineCriterionContingencyList, ListOfContingencyLists, ThreeWindingsTransformerCriterionContingencyList, TieLineCriterionContingencyList, TwoWindingsTransformerCriterionContingencyList

public interface ContingencyList
Author:
Mathieu Bague <[email protected]>
  • Field Details

  • Method Details

    • getVersion

      static String getVersion()
    • getName

      String getName()
      Return the name of this contingency list
    • getType

      String getType()
      Return the type of this contingency list
    • getContingencies

      List<Contingency> getContingencies(Network network)
      Return a list of contingency for the given network.
    • load

      static ContingencyList load(Path path)
      Load a ContingencyList from a path
      Parameters:
      path - The file to load
      Returns:
      a contingency list
    • load

      static ContingencyList load(String filename, InputStream stream)
      Load a ContingencyList from an input stream of given file name
      Parameters:
      filename - The input file name
      stream - The input stream to load
      Returns:
      a contingency list
    • of

      static ContingencyList of(Contingency... contingencies)
      Create a contingency list from a set of contingencies
    • getValidContingencies

      static List<Contingency> getValidContingencies(List<Contingency> contingencies, Network network)
      Return only valid contingencies based on given list of contingencies and network