Class SellToGridLimit
java.lang.Object
io.openems.edge.controller.ess.gridoptimizedcharge.SellToGridLimit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyCalculatedMinimumChargePower
(int sellToGridLimit) protected Integer
Set active power limits depending on the maximum sell to grid power.protected void
setSellToGridLimitChannelsAndLastLimit
(SellToGridLimitState state, Integer essMinChargePower) Set Channels and lastLimit for SellToGridLimit part.
-
Constructor Details
-
SellToGridLimit
-
-
Method Details
-
getSellToGridLimit
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 stateessMinChargePower
- SellToGridLimit absolute charge limit
-