Effects of Dependence between Solid Solution and Surface Excess in Nanoparticles