Theoretical study of the solvation of nitrogen. Two different approaches