A CONWIP model for FMS control