When the grid is available, I need to limit the discharge current from the battery, while making sure that I use all the available PV power to charge the battery, and power essential and non-essential loads.
I have implemented the following: By reading the irradiance value (W/m^2) and cell temperature from the IMT irradiance sensor (see Venus manual section 1.10), I can calculate the maximum PV power available from the PV array. Taking into account the SOC of the battery, I then calculate the "Maximum Inverter Power". With a low SOC (say below 50%), Maximum Inverter Power is set to a value lower than the maximum PV power available, ensuring that the battery is being charged; while with a high SOC (say above 90%), Maximum Inverter Power is set equal or even slightly higher than maximum PV power available, feeding the load. This is done via a Cron Job calling a Bash Script every minute from 6h00 to 18h00. This implies that the Maximum Inverter Power is adjusted every minute throughout the day. During the night hours, I limit the Maximum Inverter Power to 500 W.
Question: Are there any potential problems or negatives associated with automatically adjusting the Maximum Inverter Power in the ESS every minute or even more frequently perhaps?