Monte Carlo Method for Simulating Ideal Gas Rate Distribution and Its Application | Synapse