activitysim
activitysim copied to clipboard
Numba expression auditing tool
trafficstars
The sharrow package introduced in ActivitySim 1.2 allows Python expressions to be compiled using numba prior to running the full simulation. Because the time needed to compile expressions is relatively short and the runtime savings from compilation are large, the net impact is significant runtime savings. It is, however, not always obvious as to which Python expressions can be compiled using numba and which ones cannot. In version 1.5, ActivitySim will include an auditing tool that will identify expressions used in an ActivitySim modeling system that cannot be compiled with numba. Users can then modify the expressions to get the full benefits of sharrow.