Class SellToGridLimit
- java.lang.Object
-
- io.openems.edge.controller.ess.gridoptimizedcharge.SellToGridLimit
-
public class SellToGridLimit extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SellToGridLimit(GridOptimizedChargeImpl parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyCalculatedMinimumChargePower(int sellToGridLimit)
protected java.lang.Integer
getSellToGridLimit()
Set active power limits depending on the maximum sell to grid power.protected void
setSellToGridLimitChannelsAndLastLimit(SellToGridLimitState state, java.lang.Integer essMinChargePower)
Set Channels and lastLimit for SellToGridLimit part.
-
-
-
Constructor Detail
-
SellToGridLimit
public SellToGridLimit(GridOptimizedChargeImpl parent)
-
-
Method Detail
-
getSellToGridLimit
protected java.lang.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, java.lang.Integer essMinChargePower)
Set Channels and lastLimit for SellToGridLimit part.- Parameters:
state
- SellToGridLimit stateessMinChargePower
- SellToGridLimit absolute charge limit
-
-