Random pulse simulation