Eh up 
I don't do energy storage or solar PV. I came across an Ecoflow Gateway system (battery storage and solar PV) installed by others, on a job where I was installing a new circuit for a hob.
There is an up-front 30mA 100A Type A Hager RCD in the Gateway control box (labelled "House", bottom left, in the picture below)... by up-front I mean before the existing main DB.
Service head -> meter -> Gateway control box -> switches and stuff, gubbins, magic etc -> RCD (inside the contol box) -> DB1
Supply is TN-C-S (PME). They have added an earth rod, for island mode(? see, it almost sounds like I know what I'm talking about. Don't be fooled). The main DB is a metal DB with main switch and RCBOs (most with switched neutrals, apart from shower).
In the event of a fault, there is no selectivity between the RCBOs, and the up-front 30mA RCD.
There must be a better way than this, surely?
I sort of understand the need for fault protection of the tails (from the control box to DB1) in the event of running in island mode (TT), but unless the Ra of the rod they've put in is stupidly high, couldn't they have used a time-delayed 100mA or 300mA RCD instead?
It just seems like really bad design... but then I might be missing something?
I'd welcome thoughts



I don't do energy storage or solar PV. I came across an Ecoflow Gateway system (battery storage and solar PV) installed by others, on a job where I was installing a new circuit for a hob.
There is an up-front 30mA 100A Type A Hager RCD in the Gateway control box (labelled "House", bottom left, in the picture below)... by up-front I mean before the existing main DB.
Service head -> meter -> Gateway control box -> switches and stuff, gubbins, magic etc -> RCD (inside the contol box) -> DB1
Supply is TN-C-S (PME). They have added an earth rod, for island mode(? see, it almost sounds like I know what I'm talking about. Don't be fooled). The main DB is a metal DB with main switch and RCBOs (most with switched neutrals, apart from shower).
In the event of a fault, there is no selectivity between the RCBOs, and the up-front 30mA RCD.
There must be a better way than this, surely?
I sort of understand the need for fault protection of the tails (from the control box to DB1) in the event of running in island mode (TT), but unless the Ra of the rod they've put in is stupidly high, couldn't they have used a time-delayed 100mA or 300mA RCD instead?
It just seems like really bad design... but then I might be missing something?
I'd welcome thoughts


