The main goal of this paper is to study the possibility of using a stochastic non-homogeneous (without exogenous factors) diffusion process to model the evolution of CO2 emissions in Morocco and concretely using a new process, in which the trend function is proportional to the modified Lundqvist-Korf growth curve. First, the main characteristics of the process are studied, then we establish a computational statistical methodology based on the maximum likelihood estimation method and the trend functions. When we are estimating the parameters of the process, a non-linear equation is obtained and the simulated annealing method is proposed to solve it after bounding the parametric space by a stagewise procedure. Also, to validate this methodology, we include the results obtained from several examples of simulation. Finally, the process and the methodology established are applied to real data corresponding to the evolution of CO2 emissions in Morocco.