Create function to get the value of the three phase power and generate e conditional status for connection type.