An acausal modeling framework for automatically parallelized scientific machine learning (SciML) in Julia. A computer algebra system for integrated symbolics for physics-informed machine learning and automated transformations of differential equations
ERROR: No methods were found for the model function passed to the equation solver.
The function `f` needs to have dispatches, for example, for an ODEProblem
`f` must define either `f(u,p,t)` or `f(du,u,p,t)`. For more information
on how the model function `f` should be defined, consult the docstring for
the appropriate `AbstractSciMLFunction`.
Offending function: f
Stacktrace:
[1]
@ SciMLBase ~/.julia/packages/SciMLBase/sakPO/src/utils.jl:250
[2] isinplace (repeats 2 times)
@ ~/.julia/packages/SciMLBase/sakPO/src/utils.jl:243 [inlined]
[3] SDEProblem(f::ODESystem, g::Vector{…}, u0::Tuple{…}, tspan::Vector{…}, p::SciMLBase.NullParameters; kwargs::@Kwargs{})
@ SciMLBase ~/.julia/packages/SciMLBase/sakPO/src/problems/sde_problems.jl:124
[4] SDEProblem
@ ~/.julia/packages/SciMLBase/sakPO/src/problems/sde_problems.jl:123 [inlined]
[5] SDEProblem(f::ODESystem, g::Vector{Pair{Num, Float64}}, u0::Tuple{Float64, Float64}, tspan::Vector{Pair{Num, Float64}})
@ SciMLBase ~/.julia/packages/SciMLBase/sakPO/src/problems/sde_problems.jl:123
[6] top-level scope
@ ~/Desktop/Julia Playground/Environment - Catalyst test/test_playground.jl:108
Some type information was truncated. Use `show(err)` to see complete types.
In this example: https://docs.sciml.ai/ModelingToolkit/stable/tutorials/stochastic_diffeq/, if I change
to
then I receive a
when I run
Full code: