three phase power supply monitoring and selector