Class EssSymmetric

    • Field Detail

      • cm

        protected org.osgi.service.cm.ConfigurationAdmin cm
    • Constructor Detail

      • EssSymmetric

        public EssSymmetric()
    • Method Detail

      • handleEvent

        public void handleEvent​(org.osgi.service.event.Event event)
        Specified by:
        handleEvent in interface org.osgi.service.event.EventHandler
      • debugLog

        public java.lang.String debugLog()
        Description copied from interface: OpenemsComponent
        Gets some output that is suitable for a continuous Debug log. Returns 'null' by default which causes no output.
        Specified by:
        debugLog in interface OpenemsComponent
        Returns:
        the debug log output
      • 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
      • applyPower

        public void applyPower​(int activePower,
                               int reactivePower)
                        throws OpenemsException
        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 ManagedSymmetricEss
        Parameters:
        activePower - the active power in [W]
        reactivePower - the reactive power in [var]
        Throws:
        OpenemsException
      • 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
      • getModbusSlaveTable

        public ModbusSlaveTable getModbusSlaveTable​(AccessMode accessMode)
        Description copied from interface: ModbusSlave
        Gets the Modbus-Slave-Table for this OpenEMS-Component.
        Specified by:
        getModbusSlaveTable in interface ModbusSlave
        Parameters:
        accessMode - filters the Modbus-Records that should be shown
        Returns:
        the Modbus-Slave-Table
      • setStartStop

        public void setStartStop​(StartStop value)
        Description copied from interface: StartStoppable
        Starts or stops the device or service represented by this OpenEMS Component.
        Specified by:
        setStartStop in interface StartStoppable
        Parameters:
        value - target StartStop state