Migration flow modeling