Hi there,
I see that you have the function to charge batteries and the charge rate automatically adjusts on every cycle,
can the same function be made for exporting the battery to the grid.
eg export 5kw or 6 over 2-3 hours at auto adjusted rate, or fully drain to midnight until next offpeak rate starts
this could work for other battery systems