This paper suggests a simulation model to investigate how science and technology fuel economic growth. This model is built upon a synthesis of technological capabilities represented by national innovation systems. This paper gathers data of papers and patents for 183 countries between 1999 and 2003, as well as GDP and population for 2003. These data show a strong correlation between science, technology and income. Three simulation exercises are performed. Feeding our algorithm with data for population, patents and scientific papers, we obtain the world income distribution. These results support our conjecture on the role of science and technology as sources of the wealth of nations.