java.lang.Object
io.openems.edge.controller.ess.gridoptimizedcharge.SellToGridLimit

public class SellToGridLimit extends Object
  • Constructor Details

  • Method Details

    • getSellToGridLimit

      protected Integer getSellToGridLimit() throws OpenemsError.OpenemsNamedException
      Set active power limits depending on the maximum sell to grid power.
      Returns:
      result
      Throws:
      OpenemsError.OpenemsNamedException - on error
    • applyCalculatedMinimumChargePower

      protected void applyCalculatedMinimumChargePower(int sellToGridLimit)
    • setSellToGridLimitChannelsAndLastLimit

      protected void setSellToGridLimitChannelsAndLastLimit(SellToGridLimitState state, Integer essMinChargePower)
      Set Channels and lastLimit for SellToGridLimit part.
      Parameters:
      state - SellToGridLimit state
      essMinChargePower - SellToGridLimit absolute charge limit