The flood and drain times need to be determined by you. You need to experiment and not over think it. Turn on the pump and see how long it takes. Add 20% to account for bio-fouling. Make sure it stays drained for at least 20 minutes before it floods again.

Check my signature. These things are not automatic. You need to baby sit it. If you don't pay attention, it goes off the rails.