Morning guys hope someone can shed some light for me. I have a single phase ups 3kva connect to a 3 phase system. I have a live and neutral feeding a change over switch with the ups feeding in other side. The output supplies its own earth leakage which supplies 3 x c/b for dedicated plugs. When I simulate a outage by switching of c/b supplying change over everything works perfectly. However if I trip main incoming c/b the ups switches off and if you try to switch the ups on in this condition my lights start flashing. If I switch off the supply to the ups off first and then the main switch it runs as it should. The neutrals from mains and ups are not connected anywhere and my wiring seems to be correct. Any ideas?