Sam Isaacson
Sam Isaacson
Oh never mind, I missed you had opened this on MTK. I'll reopen.
@ChrisRackauckas @YingboMa this is related to https://github.com/SciML/ModelingToolkit.jl/issues/2296. Is that on the horizon to fix? This is problematic for Catalyst users as I previously mentioned, and is a clear bug since...
Can we revert the varmap handling to the previous behavior until ModelingToolkit 9 is ready?
We shouldn't be using `Symbol`s in Catalyst except in the u0 and parameter mappings (which was done as syntactic sugar to avoid having to unpack every variable/parameter from a DSL...
Has there been any consideration to making a macro to construct parameter/u0 mappings given a complete system? i.e. in something like ```julia u0 = [ rc_model.capacitor.v => 0.0, ] ```...
We unfortunately may not have had a test on this, so I only caught it when the doc examples broke...
Also, the issue is present with the latest Catalyst release and not just master (since the former declares compatibility with all < v9 versions of MTK).
@ChrisRackauckas what should the suggested dispatch do? Is that a valid broadcast style combination that reuses the current corde, or should it just throw an error?
I don't think this is a `JumpProcesses` issue -- this seems an issue with using `FunctionMap` (which is not part of JumpProcesses).
Can you hand construct this example and get it to work with `FunctionMap` instead of going via Catalyst/MTK? That would help in seeing if `FunctionMap` is just not handling continuous...