Safety and reliability analysis of imported flow switches in mining operations