Models of galaxy collisions in Stephan's Quintet and other interacting systems