Package com.powsybl.shortcircuit
Class FaultParameters
- java.lang.Object
-
- com.powsybl.shortcircuit.FaultParameters
-
public class FaultParameters extends Object
- Author:
- Thomas Adam
-
-
Constructor Summary
Constructors Constructor Description FaultParameters(String id, boolean withLimitViolations, boolean withVoltageMap, boolean withFeederResult, StudyType studyType, double minVoltageDropProportionalThreshold)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
Fault iddouble
getMinVoltageDropProportionalThreshold()
Override general parameter minVoltageDropProportionalThreshold fromShortCircuitParameters
StudyType
getStudyType()
Override general parameter studyType fromShortCircuitParameters
int
hashCode()
boolean
isWithFeederResult()
Override general parameter withFeederResult fromShortCircuitParameters
boolean
isWithLimitViolations()
Whether the result should indicate a limit violationboolean
isWithVoltageMap()
Whether the results should include the voltage map on the whole networkstatic List<FaultParameters>
read(Path jsonFile)
String
toString()
static void
write(List<FaultParameters> parameters, Path jsonFile)
-
-
-
Method Detail
-
getId
public String getId()
Fault id
-
isWithLimitViolations
public boolean isWithLimitViolations()
Whether the result should indicate a limit violation
-
isWithVoltageMap
public boolean isWithVoltageMap()
Whether the results should include the voltage map on the whole network
-
isWithFeederResult
public boolean isWithFeederResult()
Override general parameter withFeederResult fromShortCircuitParameters
-
getStudyType
public StudyType getStudyType()
Override general parameter studyType fromShortCircuitParameters
-
getMinVoltageDropProportionalThreshold
public double getMinVoltageDropProportionalThreshold()
Override general parameter minVoltageDropProportionalThreshold fromShortCircuitParameters
-
write
public static void write(List<FaultParameters> parameters, Path jsonFile)
-
read
public static List<FaultParameters> read(Path jsonFile)
-
-