<br>
# Hold min SOC -> Optimize Self-Consumption

Initial State: `Hold min SOC`  
Target State:  `Optimize Self-Consumption`  

## Test Procedure

1. `Min SOC` is set to slightly lower than the current SOC
2. `Min SOC` should be 50% or lower
3. `Grid setpoint` is set to a negative value -2000W
4. Wait until the system reaches the `Hold min SOC` state and discharging power falls below 1500W
5. `Grid setpoint` is set to a positive value: 2000W

## Expected Outcome

The system first settles into the `Hold min SOC` state.  
As soon as the `Grid setpoint` is set to positive, the system changes into the `Optimize Self-Consumption` and
charges with ~2000W.

## Tested Outcome

While the system was on `Hold min SOC` state sitting on around 46% SOC, the `Grid setpoint` was set to a 2000W, the system  
started charging with a power of around 1600W until around 70% SOC, then it started throtteling the charging power.

![Hold min SOC -> Optimize Self-Consumption](Test9.png)