Model-based control for postal automation and baggage handling door