Class DummyMetaEss

    • Constructor Detail

      • DummyMetaEss

        public DummyMetaEss​(java.lang.String id,
                            Power power,
                            SymmetricEss... esss)
      • DummyMetaEss

        public DummyMetaEss​(java.lang.String id,
                            SymmetricEss... esss)
    • Method Detail

      • getEssIds

        public java.lang.String[] getEssIds()
        Description copied from interface: MetaEss
        Get the Component-IDs of energy storage systems that are handled by this MetaEss.
        Specified by:
        getEssIds in interface MetaEss
        Returns:
        an array of Component-IDs
      • applyPower

        public void applyPower​(int activePower,
                               int reactivePower)
        Description copied from interface: ManagedSymmetricEss
        Apply the calculated Power.

        Careful: do not adjust activePower and reactivePower in this method, e.g. setting it to zero on error. The purpose of this method is solely to apply the calculated power to the ESS. If you need to constrain the allowed power, add Constraints using the ManagedSymmetricEss.getStaticConstraints() method.

        Specified by:
        applyPower in interface ManagedAsymmetricEss
        Specified by:
        applyPower in interface ManagedSymmetricEss
        Parameters:
        activePower - the active power in [W]
        reactivePower - the reactive power in [var]
      • applyPower

        public void applyPower​(int activePowerL1,
                               int reactivePowerL1,
                               int activePowerL2,
                               int reactivePowerL2,
                               int activePowerL3,
                               int reactivePowerL3)
        Description copied from interface: ManagedAsymmetricEss
        Apply the calculated Power
        Specified by:
        applyPower in interface ManagedAsymmetricEss
      • getPower

        public Power getPower()
        Description copied from interface: ManagedSymmetricEss
        Gets an instance of the 'Power' class, which allows to set limitations to Active and Reactive Power.
        Specified by:
        getPower in interface ManagedSymmetricEss
        Returns:
        the Power instance
      • getPowerPrecision

        public int getPowerPrecision()
        Description copied from interface: ManagedSymmetricEss
        Gets the smallest positive power that can be set (in W, VA or var). Example:
        • FENECON Commercial 40 allows setting of power in 100 W steps. It should return 100.
        • KACO blueplanet gridsave 50 allows setting of power in 0.1 % of 52 VA. It should return 52 (= 52000 * 0.001)
        Specified by:
        getPowerPrecision in interface ManagedSymmetricEss
        Returns:
        the power precision