Mixing time-discrete and time-continuous systems in a simulation

Hi @tqml. To mix a new package into the potential set of solutions here, I wonder if the following is useful for you for this kind of thing? It’s certainly designed for the use case you’re describing. Maybe helps?