Having designed / installed etc around 1000+submersible sewage pumping stations in my 50 + years working live, few pointers.
1- Minimum solids handing size for your pump should be 80mm, unless you use a macerator pump, in which case the 50mm discharge would be fine.
2- Fitroy's cmments are...