That is a strange sump design ..........its kind of hard to see exactly where the water is actually flowing.
To get a Herbie overflow to be consistent, you are going to have to find a way to keep the overflow part of the the sump (where the overflow pipes dump into the sump) at a consistent water level . Usually this is achieved by a water dam of sorts with the overflow going towards the rest of the sump. Likewise the return pump chamber should be at a constant water level as well, and thats ideally where the top off sensor / float for the ATO should be placed.
Also, the gate valve would be easier to adjust and keep the system quieter if it was placed as low as possible . Below the bottom union would have been a better location .