I aim to model traffic accidents with SUMO and simulate VANET communications with NetSim to enable dynamic vehicle rerouting around accident sites. I need to establish a real-time interface between SUMO and NetSim for exchanging traffic updates and rerouting commands. I seek guidance on implementing dynamic rerouting in SUMO based on messages from NetSim. Thank you.