DataDrivenDiffEq.jl icon indicating copy to clipboard operation
DataDrivenDiffEq.jl copied to clipboard

Error in Nonlinear Time Continuous Problem Tutorial

Open iliailmer opened this issue 3 years ago • 5 comments

When running code from this tutorial, I run into an error at the step defining ContinuousDataDrivenProblem:

> prob = ContinuousDataDrivenProblem(solution)

The error is:

ERROR:"No matching function wrapper was found!"
....

I followed the tutorial step-by-step, here are the package versions I have:

  [2445eb08] DataDrivenDiffEq v0.8.5
  [0c46a032] DifferentialEquations v7.4.0
  [f213a82b] HomotopyContinuation v2.6.4
  [961ee093] ModelingToolkit v8.23.0
  [1dea7af3] OrdinaryDiffEq v6.27.2
  [91a5bcdd] Plots v1.34.1
  [f27b6e38] Polynomials v3.2.0
  [cf7bdac0] SIAN v1.3.1
  [220ca800] StructuralIdentifiability v0.4.1

What could be the issue here?

iliailmer avatar Sep 26 '22 16:09 iliailmer

It would probably help to do: problem = ODEProblem{true, SciMLBase.FullSpecialize}(slow_manifold, u0, tspan, p). That should be done internally to DataDrivenDiffEq.jl

See https://sciml.ai/news/2022/09/21/compile_time/ for details.

ChrisRackauckas avatar Sep 27 '22 13:09 ChrisRackauckas

Thank you, it helped! I still get a Koopman error, I think it's similar to #370 .

iliailmer avatar Sep 27 '22 15:09 iliailmer

I also got this (resolved by specifying FullSpecialize) and the same error from #370.

bgroenks96 avatar Oct 19 '22 17:10 bgroenks96

Yeah, we need to make it so that DataDrivenDiffEq does it automatically internal to the package, I just haven't gotten around to it.

ChrisRackauckas avatar Oct 19 '22 20:10 ChrisRackauckas

On that note: Creating a problem from a DESolution without using the interpolation sometimes fails given that I attempt to call the fully specialised function.

AlCap23 avatar Nov 24 '22 06:11 AlCap23