Open RohanRajagopal opened 4 months ago
Thank you for reporting. The docs were built with this configuration: https://bifurcationkit.github.io/BifurcationKitDocs.jl/dev/#Reproducibility
You can perhaps try this interface https://docs.sciml.ai/ModelingToolkit/stable/tutorials/bifurcation_diagram_computation/
maybe @TorkelE knows
Since its recent update, ModelingToolkit requires the system independent variable to be given to ODESystem
s. I.e. you have to add t
after adding the equations:
# define the model
@named NMmodel = ODESystem([SS0 ~ J * u * x * E + E0,
SS1 ~ α * log(1 + exp(SS0 / α)),
D(E) ~ (-E + SS1) / τ,
D(x) ~ (1.0 - x) / τD - u * x * E,
D(u) ~ (U0 - u) / τF + U0 * (1 - u) * E],
t,
defaults = Dict(E => 0.238616, x => 0.982747, u => 0.367876,
α => 1.5, τ => 0.013, J => 3.07, E0 => -2.0, τD => 0.200, U0 => 0.3, τF => 1.5, τS => 0.007))
Also, at an early stage J
is defined as a parameter, and later overwritten as the Jacobian. The code works perfectly fine, but might be a bit inadvisable, as if someone goes back and modifies the system, or runs it again or something, J
can no longer be used to create equations (I messed this up myself here, hence I am mentioning it).
Also, at an early stage J is defined as a parameter, and later overwritten as the Jacobian.
Oh yes!
I guess related to https://github.com/bifurcationkit/BifurcationKit.jl/issues/154
Greetings,
Thanks very much for your package. I am just trying to run some of the examples in the link. The [MTK_example] is giving an error unfortunately. (https://bifurcationkit.github.io/BifurcationKitDocs.jl/dev/tutorials/ode/NME-MTK/#Neural-mass-equation-MTK)
I get the following error.
I tried to modify the model, creating only one ''parameter'' but I end up with a new error,
isless(::Nothing, ::Int64)
. Am I missing something in the implementation?Thank you very much.