A simulation framework to assess pattern matching algorithms in a space mission