Hi there! I have been very impressed by Catalyst and using it to solve (stochastic) differential equations, but have been having trouble using the generated equations for other tasks. More specifically, I have been trying to find nullclines of generated systems and to implement the total quasi-steady state approximation (like, for example, is done in * Modeling Networks of Coupled Enzymatic Reactions Using the Total Quasi-Steady State Approximation).
Right now, my approach is to convert the system to an ODESystem and to redefine the species as variables, but I keep running into problems. The closest example I could find was Getting Catalyst and Oscar to work together. I would really appreciate an example of how to use Catalyst and Symbolics/ModelingToolkit together, in order to have more control over what I can do with the generated equations. Does such an example exist already and have I been unable to find it?
If not, could someone maybe show how I would, for example, implement the total-quasi steady state assumption on a simple push-pull cycle like
push_pull=@reaction_network begin
(k_a, k_d), X + K <--> XK
k_cat, XK --> X⁺ + K
(k_a, k_d), X⁺ + P <--> X⁺P
k_cat, X⁺P --> X + P
end
That would really help me out (and hopefully others too)!