public abstract class AbstractLimitViolationDetector extends AbstractContingencyBlindDetector
LimitViolationDetector
.
Actual implementations will only have to focus on detecting violations element-wise.Constructor and Description |
---|
AbstractLimitViolationDetector() |
Modifier and Type | Method and Description |
---|---|
void |
checkAll(Contingency contingency,
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,
double currentValue,
java.util.function.Consumer<LimitViolation> consumer)
Checks whether the specified current value on the specified side
of the specified
Branch should be considered as a LimitViolation or not. |
void |
checkCurrent(Contingency contingency,
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(Contingency contingency,
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,
double voltageValue,
java.util.function.Consumer<LimitViolation> consumer)
Checks whether the specified voltage value on the specified
Bus
should be considered as a LimitViolation or not. |
void |
checkVoltage(Contingency contingency,
Bus bus,
java.util.function.Consumer<LimitViolation> consumer)
This implementation takes the voltage value to be checked from the Network.
|
void |
checkVoltage(Contingency contingency,
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. |
checkAll, checkCurrent, checkCurrent, checkVoltage, checkVoltage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkCurrent, checkVoltage
public void checkCurrent(Branch branch, Branch.Side side, double currentValue, java.util.function.Consumer<LimitViolation> consumer)
LimitViolationDetector
Branch
should be considered as a LimitViolation
or not.
In case it should, feeds the consumer with it.branch
- The branch on which the current must be checked.side
- The side of the branch on which the current must be checked.currentValue
- The current value to be checked, in A.consumer
- Will be fed with possibly created limit violations.public void checkVoltage(Bus bus, double voltageValue, java.util.function.Consumer<LimitViolation> consumer)
LimitViolationDetector
Bus
should be considered as a LimitViolation
or not.
In case it should, returns the corresponding limit violation.bus
- The bus on which the voltage must be checked.voltageValue
- The voltage value to be checked, in V.consumer
- Will be fed with possibly created limit violations.public void checkCurrent(Contingency contingency, Branch branch, Branch.Side side, java.util.function.Consumer<LimitViolation> consumer)
contingency
- The contingency for which current must be checked, null
for N situation.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(Contingency contingency, Bus bus, java.util.function.Consumer<LimitViolation> consumer)
contingency
- The contingency for which current must be checked, null
for N situation.bus
- The bus on which the voltage must be checked.consumer
- Will be fed with possibly created limit violations.public void checkVoltage(Contingency contingency, 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.contingency
- The contingency for which current must be checked, null
for N situation.voltageLevel
- The voltage level on which the voltage must be checked.consumer
- Will be fed with possibly created limit violations.public void checkCurrent(Contingency contingency, 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.contingency
- The contingency for which current must be checked, null
for N situation.branch
- The branch on which the current must be checked.consumer
- Will be fed with possibly created limit violations.public void checkAll(Contingency contingency, 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.contingency
- The contingency for which current must be checked, null
for N situation.network
- The network on which physical values must be checked.consumer
- Will be fed with possibly created limit violations.Copyright © 2019. All rights reserved.