Changing the system size over time in ModellingToolkit

I apologise if this is answered in the documentation but I couldn’t find it.

I’m modelling a population of biological cells which divide and die over time. These events can be triggered by continious callbacks for example. The DifferentialEquations package has an API that allows the system to dynamically add and remove state vectors from the problem in the afftect! callback that is perfect for modelling cell birth and death. Is there something a corresponding API for adding removing equations in ModellingToolkit?

Not yet.

Hello, are there any plans to implement this?

Yes, but not necessarily soon. It’s not an easy one

1 Like