Three Phase Fault Analysis with Auto Reset on Temporary Fault and Permanent Trip Otherwise