Doom wrote: Well, it will be easier to buy additional 4-8 panels for off-grid and charge the batteries also from microwaves if there is power from the network.
Approx. Only the inverter must have this option to select charging hours.
Doom wrote: In case of failure, disconnect the on-grid and the network from the provider.
There's no need. You power ongrid before offgrid, i.e. it will turn itself off and on without collision.
Doom wrote: So give a hybrid inverter and connect the network and ongrid as input
Only the network, if there is sun, you will indirectly use ongrid, which will then work for this network.
Doom wrote: in case of failure but there will be additional panels that will charge the batteries anyway.
You will use these panels all the time, because the offgrid will continuously supply the loads.
Doom wrote: Which batteries are best to use and how to count them to be enough?
It depends on the length of the emergency operation, the capacity of the panels and the load. After discharging the batteries to the offgrid input, the generator can be switched on, in addition to powering the loads, it will also charge the batteries.
I plan to use a Growatt inverter, 2kWp panels and AGM batteries, initially 4 pieces 100Ah. If it's ok, I'll add another 4.
For batteries of this type, when it comes to service life, temperature and lack of deep discharge are very important. For a temperature of 20C and buffer operation, it is 12 years, but at 40C it is only 3 years, i.e. the battery loses 40% of its capacity. The same is true for discharge cycles. At 100% discharge we have only 300 cycles, 50% 500, and at 30% already 1300.
Therefore, I will try to discharge them to a maximum of 20% during normal operation and up to 50% in an emergency. There will be no warehouse from this huge one, but the power from the panels will be used. There are also gel and lithium batteries, but the price of the latter is five times higher and they can be discharged much deeper and more often. Overall, they seem to be the most profitable. But I don't want to spend too much right now.