A fuzzy reasoning approach for distribution automation