Interface ContingencyList

    • Method Detail

      • getName

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

        List<Contingency> getContingencies​(Network network)
        Return a list of contingency for the given network.
      • 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
      • getValidContingencies

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