Exactly.
This way the export is maximised until the battery reaches your set cut-off point (say 40%), then the battery stops exporting to the grid. But the solar still continues to export to the grid the whole peak period until peak period ends.
Priorities to run the house during peak hours to maximise full export to the grid.
The solar has priority to run the house during the peak hours until the battery has reached it's set cut-off point (say 40%).
When battery has reached its cut off point (say 40%), and has stopped exporting to the grid, then the priority shifts to the Battery to run the house, while the solar continues to export to the grid.
At the end of peak hours then normal ECO is resumed and the battery can then be charged by solar again.
Does this make sense.
However as always there is another variable.
On very sunny days where you have a 5kWh inverter and the sun is knocking out 5kWhs from your solar panels (unlikely at 4-7pm but possible), then of course you would want all the solar to be exported, as I understand it, you can't export over your 5 kWh limit using both solar and battery together. Might as well save your battery until the solar power drops below the 5kwh output as the afternoon wears on, and then just enough battery to keep it up to 5 Kwh output.
That is getting more and more complicated! But I think that would be all the variables for a system like mine (5 kWh inverter, 5.46 kWh solar panel array and 8.2 kWh battery) I will be getting an additional 9.5 kWh battery at the end of the year which means I should be able to export the whole three hours at 3.2 kWh?