3 ms·
I don't think you need agent models. You can probably study this directly with the nonlinear transport equation (Lighthill-Witham, I think), or one of the more
by yummyfajitas 15y ago
I don't think you need agent models. You can probably study this directly with the nonlinear transport equation (Lighthill-Witham, I think), or one of the more detailed versions (the Rascall model?).
All you need to do is impose a police-created boundary condition at x=cop_location(t) instead of solving the pde on free space:
velocity(density)|x=cop_location(t) = cop_velocity(t).
- politician 15y agoWould that model take into account the number of lanes and the lane position of the cop?
- yummyfajitas 15y agoIt's been a while since I looked, so I'd need to think carefully. But very likely, yes, you could incorporate such things. What I'd do is in the speed control term V(1-u(x,t)), I'd probably make V vary w.r.t the distance to the cop. I.e., same lane, you'd take something like: [V+(V_cop-V)bump(x-cop_position)](1-u(x,t)) Whereas in different lanes, you'd take: [V+alpha(V_cop-V)bump(x-cop_position)](1-u(x,t)) where alpha < 1 measures the reduced effect the cop has on different lanes. (Alpha might vary from lane to lane if you have more than 2 lanes, i.e. if the cop is in lane 1, alpha_lane_5 might be much smaller than alpha_lane_1.) Here, bump(z) is some sort of bump function - 1 near z=0, dropping off as z moves away.