Method for optimizing the arrangement of pressure sensors and device obtained by this method