Class AbstractContingencyBlindDetector

    • Constructor Detail

      • AbstractContingencyBlindDetector

        public AbstractContingencyBlindDetector()
    • Method Detail

      • checkCurrent

        public void checkCurrent​(Branch branch,
                                 Branch.Side side,
                                 Consumer<LimitViolation> consumer)
        This implementation takes the current value to be checked from the Network.
        Specified by:
        checkCurrent in interface LimitViolationDetector
        Parameters:
        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.
      • checkCurrentDc

        public void checkCurrentDc​(Branch branch,
                                   Branch.Side side,
                                   double dcPowerFactor,
                                   Consumer<LimitViolation> consumer)
        This implementation computes the current value from the power value, if current is not provided (NaN).
        Specified by:
        checkCurrentDc in interface LimitViolationDetector
        Parameters:
        branch - The branch on which the current must be checked.
        side - The side of the branch on which the current must be checked.
        dcPowerFactor - The DC power factor used to convert the active power into current.
        consumer - Will be fed with possibly created limit violations.
      • checkVoltage

        public void checkVoltage​(Bus bus,
                                 Consumer<LimitViolation> consumer)
        This implementation takes the voltage value to be checked from the Network.
        Specified by:
        checkVoltage in interface LimitViolationDetector
        Parameters:
        bus - The bus on which the voltage must be checked.
        consumer - Will be fed with possibly created limit violations.
      • checkCurrentDc

        public void checkCurrentDc​(Branch branch,
                                   double dcPowerFactor,
                                   Consumer<LimitViolation> consumer)
        Description copied from interface: LimitViolationDetector
        Checks whether the current value on both sides of the specified Branch should be considered as LimitViolation(s). In case it should, feeds the consumer with it. In this DC power flow mode, the current is computed using the DC power factor if necessary.
        Specified by:
        checkCurrentDc in interface LimitViolationDetector
        Parameters:
        branch - The branch on which the current must be checked.
        dcPowerFactor - The DC power factor used to convert the active power into current.
        consumer - Will be fed with possibly created limit violations.
      • checkAll

        public void checkAll​(Network network,
                             Consumer<LimitViolation> consumer)
        Description copied from interface: LimitViolationDetector
        Checks whether the current and voltage values on all equipments of the specified Network should be considered as LimitViolations. In case it should, feeds the consumer with it.
        Specified by:
        checkAll in interface LimitViolationDetector
        Parameters:
        network - The network on which physical values must be checked.
        consumer - Will be fed with possibly created limit violations.
      • checkAllDc

        public void checkAllDc​(Network network,
                               double dcPowerFactor,
                               Consumer<LimitViolation> consumer)
        Description copied from interface: LimitViolationDetector
        Checks whether the current and voltage values on all equipments of the specified Network should be considered as LimitViolations. In case it should, feeds the consumer with it. In this DC power flow mode, the current is computed using the DC power factor if necessary.
        Specified by:
        checkAllDc in interface LimitViolationDetector
        Parameters:
        network - The network on which physical values must be checked.
        dcPowerFactor - The DC power factor used to convert the active power into current.
        consumer - Will be fed with possibly created limit violations.