A study on the condition diagnosis technique and the accident prevention of electrical demend facilities