dynESS feed solar to grid instead to battery

Hey,

I have activated dynamic ESS recently. It does what I expect but sometimes I find counter intuitive behaviour. Like today.
Its a sunny sunday noon. But the system ist feeding to the grid instead of charging the battery. In addition, the system has planned to charge the battery from the grid this afternoon when the price is lowest.

What is the intention of the system to use the pricier grid power instead of solar to charge the battery?


dESS Settings:

Look here: https://community.victronenergy.com/t/dess-hack-unexpected-bat2grid-and-solar-feedin-green-mode/

@grua, The system is apparenty set to trade mode. Your link is for green mode.

Yes, that’s correct

I have the same problem, that’s why I noticed.

I started looking at your code. I think the solution is pretty much the same for Trade mode as well. Even in Trade mode, the system works via the TargetSOC setting. And that’s where the problem starts. TargetSOC == SOC means the system should not take energy from the battery but from the grid, because the grid is cheap. But… hmm… unfortunately this also means that it’s not charging the battery from solar surplus because… yeah… :wink:

It’s not mine, it’s @dognose code :wink:

1 Like

@kairo123 @grua I used this file from current github master:

That fixed the problem for me. It’s not in the latest 3.60 beta version, but it might be a port of the next firmware update.