Modeling egress congestion using a cellular automaton approach