Numerical simulation of the pulsed Pirani gauges