Class ActivePowerControlImpl<T extends Injection<T>>

    • Constructor Detail

      • ActivePowerControlImpl

        public ActivePowerControlImpl​(T component,
                                      boolean participate,
                                      double droop,
                                      double participationFactor)
    • Method Detail

      • getDroop

        public double getDroop()
        Description copied from interface: ActivePowerControl
        This is the change in generator power output divided by the change in frequency normalized by the nominal power of the generator and the nominal frequency and expressed in percent and negated. A positive value of speed change droop provides additional generator output upon a drop in frequency.
        Specified by:
        getDroop in interface ActivePowerControl<T extends Injection<T>>
        Returns:
        Governor Speed Changer Droop.
      • setDroop

        public void setDroop​(double droop)
        Specified by:
        setDroop in interface ActivePowerControl<T extends Injection<T>>
        Parameters:
        droop - new Governor Speed Changer Droop value
      • getParticipationFactor

        public double getParticipationFactor()
        Description copied from interface: ActivePowerControl
        Generating unit participation factor. The sum of the participation factors across generating units does not have to sum to one. It is used for representing distributed slack participation factor. The attribute shall be a positive value or zero.
        Specified by:
        getParticipationFactor in interface ActivePowerControl<T extends Injection<T>>
        Returns:
        Generating unit participation factor.
      • setParticipationFactor

        public void setParticipationFactor​(double participationFactor)
        Specified by:
        setParticipationFactor in interface ActivePowerControl<T extends Injection<T>>
        Parameters:
        participationFactor - new Generating unit participation factor value
      • extendVariantArraySize

        public void extendVariantArraySize​(int initVariantArraySize,
                                           int number,
                                           int sourceIndex)
        Description copied from interface: MultiVariantObject
        Called to extend the variant array.
        Specified by:
        extendVariantArraySize in interface MultiVariantObject
        Parameters:
        initVariantArraySize - initial variant array size
        number - number of element to add
        sourceIndex - the variant index to use to initialize new variants
      • deleteVariantArrayElement

        public void deleteVariantArrayElement​(int index)
        Description copied from interface: MultiVariantObject
        Called to delete a variant array element.
        Specified by:
        deleteVariantArrayElement in interface MultiVariantObject
        Parameters:
        index - the index of the variant array to delete
      • allocateVariantArrayElement

        public void allocateVariantArrayElement​(int[] indexes,
                                                int sourceIndex)
        Description copied from interface: MultiVariantObject
        Called to allocate a variant array element. All new variants will be initialize using values of the variant sourceIndex.
        Specified by:
        allocateVariantArrayElement in interface MultiVariantObject
        Parameters:
        indexes - the indexes of the variant array to allocate
        sourceIndex - the variant index to use to initialize new variants