Simulation of the competition among traditional and on-demand software vendors