public abstract class AbstractContingencyBlindDetector extends java.lang.Object implements LimitViolationDetector
LimitViolationDetector
.
Contingency based methods are not implemented, default implementation are left untouched.Constructor and Description |
---|
AbstractContingencyBlindDetector() |
Modifier and Type | Method and Description |
---|---|
void |
checkAll(Network network,
java.util.function.Consumer<LimitViolation> consumer)
Checks whether the current and voltage values on all equipments
of the specified
Network should be considered as LimitViolation s. |
void |
checkCurrent(Branch branch,
Branch.Side side,
java.util.function.Consumer<LimitViolation> consumer)
This implementation takes the current value to be checked from the Network.
|
void |
checkCurrent(Branch branch,
java.util.function.Consumer<LimitViolation> consumer)
Checks whether the current value on both sides of the specified
Branch
should be considered as LimitViolation (s). |
void |
checkVoltage(Bus bus,
java.util.function.Consumer<LimitViolation> consumer)
This implementation takes the voltage value to be checked from the Network.
|
void |
checkVoltage(VoltageLevel voltageLevel,
java.util.function.Consumer<LimitViolation> consumer)
Checks whether the voltage value on the specified
VoltageLevel
should be considered as a LimitViolation or not. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkAll, checkCurrent, checkCurrent, checkCurrent, checkCurrent, checkVoltage, checkVoltage, checkVoltage, checkVoltage
public void checkCurrent(Branch branch, Branch.Side side, java.util.function.Consumer<LimitViolation> consumer)
checkCurrent
in interface LimitViolationDetector
branch
- The branch on which the current must be checked.side
- The side of the branch on which the current must be checked.consumer
- Will be fed with possibly created limit violations.public void checkVoltage(Bus bus, java.util.function.Consumer<LimitViolation> consumer)
checkVoltage
in interface LimitViolationDetector
bus
- The bus on which the voltage must be checked.consumer
- Will be fed with possibly created limit violations.public void checkVoltage(VoltageLevel voltageLevel, java.util.function.Consumer<LimitViolation> consumer)
LimitViolationDetector
VoltageLevel
should be considered as a LimitViolation
or not.
In case it should, feeds the consumer with it.checkVoltage
in interface LimitViolationDetector
voltageLevel
- The voltage level on which the voltage must be checked.consumer
- Will be fed with possibly created limit violations.public void checkCurrent(Branch branch, java.util.function.Consumer<LimitViolation> consumer)
LimitViolationDetector
Branch
should be considered as LimitViolation
(s).
In case it should, feeds the consumer with it.checkCurrent
in interface LimitViolationDetector
branch
- The branch on which the current must be checked.consumer
- Will be fed with possibly created limit violations.public void checkAll(Network network, java.util.function.Consumer<LimitViolation> consumer)
LimitViolationDetector
Network
should be considered as LimitViolation
s.
In case it should, feeds the consumer with it.checkAll
in interface LimitViolationDetector
network
- The network on which physical values must be checked.consumer
- Will be fed with possibly created limit violations.