This paper presents a large-scale comprehensive machine-to-machine NB-IoT (narrowband IoT) traffic simulator designed to study IoT application performance in large-scale environments, such as smart cities. The simulation system uses real geographical data to define a wide range of devices characterized by location, packet generation pattern, and network access properties. Key performance indicator metrics are collected during simulations to evaluate the way that various factors affect the “machine quality of experience.”