Method Error object of type AgentBasedModel is not callable

Without having a closer look at your code

should probably be function go2!(model).

should probably be step!(model, dummystep, go2!, 1).

2 Likes