Class ActivePowerControlImpl<T extends Injection<T>>

    • Constructor Detail

      • ActivePowerControlImpl

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

      • 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