electrical safety analysis