A simulation model for event goodput estimation in real-time sensor networks