Control of arrivals and departures in a state-dependent input-output system · Study