MultiPlus-II 48/5000/70-50 setup question

Is there an option in the setup of a three-phase (3XMultiPlus-II 48/5000/70-50) configuration to trigger a transfer to the grid when one phase exceeds the maximum kW capacity of the inverter?

I am also facing the following problem: when the batteries are depleted, the system does not switch to the grid, even though it was switching normally a few days ago. What settings are required to fix this?

Bit more info required, as unknown how your system Is configured or set up.
For instance is it grid tied , as you explanation is a bit confusing.

Yes with the limit inverter power option in ess.

Are you always grid connected or do you have a conditional connect?

I have a conditional connect.

Ah ok.
Have you looked at using ess?

It is better to stay connected if overload is what you are trying to avoid.