@@ -40,7 +40,7 @@ an ODE solve improves as you decrease the tolerance, so you may want to try a
4040smaller ` abstol ` and ` reltol ` . One behavior to watch out for is that if your
4141model is a differential-algebraic equation and your DAE is of high index (say
4242index>1), this can impact the numerical solution. In this case, you may want to
43- use the [ ModelingToolkit.jl index reduction tools] ( https://mtk .sciml.ai/dev/mtkitize_tutorials /modelingtoolkitize_index_reduction/ )
43+ use the [ ModelingToolkit.jl index reduction tools] ( https://docs .sciml.ai/ModelingToolkit/stable/examples /modelingtoolkitize_index_reduction/ )
4444to improve the numerical stability of a solve. In addition, if it's a highly
4545stiff ODE/DAE that is large, and you're using a matrix-free solver (such as GMRES),
4646make sure the tolerance of the GMRES is well-tuned and an appropriate preconditioner
@@ -174,7 +174,7 @@ the ODE solver is still doing its job. If this is a major issue for your applica
174174you may want to write your model to be robust to this behavior, such as changing
175175` sqrt(u[i]) ` to ` sqrt(max(0,u[i])) ` . You should also consider transforming your
176176values, like solving for ` u^2 ` or ` exp(u) ` instead of ` u ` , which mathematically
177- can only be positive. Look into using a tool like [ ModelingToolkit.jl] ( https://mtk .sciml.ai/dev / )
177+ can only be positive. Look into using a tool like [ ModelingToolkit.jl] ( https://docs .sciml.ai/ModelingToolkit/stable / )
178178for automatically transforming your equations.
179179
180180### I'm trying to solve DAEs but my solver is unstable and/or slow, what's wrong with IDA and DFBDF?
@@ -186,7 +186,7 @@ SciMLBenchmarks. Thus it is recommended that in almost all or most situations, o
186186mass matrix form of the DAE solver.
187187
188188However, it is generally recommended that if you are solving a DAE that you use
189- [ ModelingToolkit.jl] ( https://mtk .sciml.ai/dev / ) because it has many utilities for pre-processing
189+ [ ModelingToolkit.jl] ( https://docs .sciml.ai/ModelingToolkit/stable / ) because it has many utilities for pre-processing
190190DAEs to make them more numerically stable. For example, if your algebraic conditions are not
191191uniquely matching to algebraic variables (i.e. you have at least one unique algebraic variable
192192per algebraic condition), then the system is what is known as high index and thus the numerical
@@ -273,7 +273,7 @@ causing a divergence of the solution is the most common reason for reported
273273slow codes.
274274
275275If you have no bugs, great! The standard tricks for optimizing Julia code then
276- apply. Take a look at the [ Optimizing DiffEq Code tutorial] ( https://tutorials .sciml.ai/html/introduction/03-optimizing_diffeq_code.html )
276+ apply. Take a look at the [ Optimizing DiffEq Code tutorial] ( https://docs .sciml.ai/DiffEqDocs/stable/tutorials/faster_ode_example/ )
277277for some tips and pointers.
278278
279279What you want to do first is make sure your function does not allocate.
0 commit comments