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?