An analog differential model to solve location problems in urban planning