Using Integrator in EventQueueABM model

Hello everyone,

I want to include some differential equation based model to my agents model. I want to integrate both of them. so at some points in simulation time, agent model get feed some info from differential model. Now for discrete ABM model its simple - integrator framework can be setup in model_step function which will be for all agents simultaneously. In case of EventQueueABM it doesn’t exist I believe because main functions for event keyword has f(agent, model). So, they are agent step functions and work on individual agents.

Feeding integrator in these function leads to stepping in differential model for each agent separately.

How it can be modified to have a model step function in EventQueueABM model??

Here is example for StandardABM model : DifferentialEquations.jl · Agents.jl

Thank you :slight_smile: