Understanding the characteristics of imported flow switches and optimizing their use in the petroleum industry