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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContingencies
(Network network) Return a list of contingency for the given network.getName()
Return the name of this contingency listgetType()
Return the type of this contingency liststatic List<Contingency>
getValidContingencies
(List<Contingency> contingencies, Network network) Return only valid contingencies based on given list of contingencies and networkstatic String
static ContingencyList
load
(String filename, InputStream stream) Load aContingencyList
from an input stream of given file namestatic ContingencyList
Load aContingencyList
from a pathstatic ContingencyList
of
(Contingency... contingencies) Create a contingency list from a set of contingencies
-
Field Details
-
VERSION
- See Also:
-
-
Method Details
-
getVersion
-
getName
String getName()Return the name of this contingency list -
getType
String getType()Return the type of this contingency list -
getContingencies
Return a list of contingency for the given network. -
load
Load aContingencyList
from a path- Parameters:
path
- The file to load- Returns:
- a contingency list
-
load
Load aContingencyList
from an input stream of given file name- Parameters:
filename
- The input file namestream
- The input stream to load- Returns:
- a contingency list
-
of
Create a contingency list from a set of contingencies -
getValidContingencies
Return only valid contingencies based on given list of contingencies and network
-