Thank youOkay. Now I have the picture of what you are doing. You are making an Uninterrupted Power Supply, a.k.a. UPS. Wouldn't it be easier, perhaps cheaper, to buy one? The schematic you are showing for the inverter section is only a 500 Watt inverter. You can quite possibly purchase a larger UPS for about the same money you would spend on making this one.
These are just a few of my thoughts please do not take offense to them. I am uncertain how you need to integrate everything together like you are wanting. Now that there is a clearer picture as to what you are trying to achieve, maybe some of the more knowledgeable members can help.
But I want, I make the device, but their costs will be cheaper, especially in my country Palestine