A Hybrid Framework for Soft Real-Time WSN Simulation