I'm currently writing a flow for scheduled discharge, as I want to discharge 4 kW from the batteries, I need to take into account AC loads and Total PV generation.
I currently have the flow working (although not updating the actual grid set point yet), and every second it calculates what the grid set point should be to ensure that the batteries are being discharged by 4 kW's.
However this will mean that the grid set point is changing every second, will this have any negative implications on the system?