File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1818ZMQ = " c2297ded-f4af-51ae-bb23-16f91089e4e1"
1919
2020[compat ]
21- LinearAlgebra = " 1.12.0"
2221OMJulia = " 0.3.3"
2322julia = " 1.10.10, 1.12.5"
2423
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ import ModelingToolkit
88import Printf: @sprintf
99
1010""" Module-level default simulation settings. Modify via `configure_simulate!`."""
11- const _SIM_SETTINGS = SimulateSettings (solver = DifferentialEquations. Rodas5P ())
11+ const _SIM_SETTINGS = SimulateSettings (solver = DifferentialEquations. Rodas5Pr ())
1212
1313"""
1414 configure_simulate!(; solver, saveat_n) → SimulateSettings
1515
1616Update the module-level simulation settings in-place and return them.
1717
1818# Keyword arguments
19- - `solver` — any SciML ODE/DAE algorithm instance (e.g. `FBDF()`, `Rodas5P ()`).
19+ - `solver` — any SciML ODE/DAE algorithm instance (e.g. `FBDF()`, `Rodas5Pr ()`).
2020- `saveat_n` — number of uniform time points for purely algebraic systems.
2121
2222# Example
@@ -93,8 +93,6 @@ function run_simulate(ode_prob,
9393 count (! iszero, LinearAlgebra. diag (M))
9494 end
9595
96- @show n_diff
97-
9896 kwargs = if n_unknowns == 0
9997 # No unknowns at all (e.g. BusUsage): the solver takes no
10098 # internal steps with saveat=[], leaving sol.t empty.
You can’t perform that action at this time.
0 commit comments