Transferring pharmaceutical batch technology to continuous flow