Prediction method of flux loss in anisotropic NdFeB/SmFeN hybrid magnets