Dynamic ESS charge more from excess solar energy and not form grid

I use Dynamic ESS in Green mode because I want to use as much power as possible from my solar panels in my house (so I want to store it in my 15Kwh battery)

Now I notice that if I have overproduction of my solar panels,but 95% of my electricity simply goes into the grid and that Dynammic ESS will buy from the grid at the cheap Dynamic Grid prices.

this feels strange because I expect that excess solar energy is the cheapest energy to charge the battery. Is there a setting that allows you to optimize solar energy storage?

ps. I have a solar edge inverter at the critical loads output and the generation has also added to the CerboGX and therefore VRM

Greetings,
Edwin Guliker

Thank you for your clear explanation, I will start working on your adjustments and test it.

I also came across the video below (it is in Dutch so I don’t know if you speak Dutch, but otherwise for Dutch speaking readers)

Filmpje met uitleg/problemen DESS

Start watching at 21:47 in the video

This also briefly explains that there will be some adjustments to the design, I expect that this will certainly bring improvements.