-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support array variables or alternatives to deploy with MethodOfLines.jl #187
Comments
Thanks for reporting this. The issue here is that to track species PEtab.jl uses Good news is that this can be worked around by internally renaming I am on a conference this week, but can hopefully look at this next week. |
Doing that wouldn't be a great idea for large models as it would remove compiler optimizations in MTK v9 and JuliaSimCompiler. |
The renaming would not actually be for the |
I don't get your statement, though the observed function generation does have some array optimizations. |
What I am meaning is that PEtab.jl itself builds based on |
It's generally an array variable. But if you are calling using the SII functions then it should canonicalize to just one vector. I don't see a SymbolicIndexingInterface.jl dep here at all so I'm very skeptical that what you have setup is generally correct. |
I think (but could very well be wrong) the reason this is not based on SII is that it still awaits MTKv9 to be fully ready. Since we are still updating Catalyst to work with MTKv9, and this partially works on Catalyst models, I guess Sebastian's plan is to wait with updating PEtab to MTKv9 until after Catalyst have done so. |
Exactly, we do not used SII as we are still waiting on Catalyst for updating to MTKv9 (as Catalyst is core component of SBMLImporter.jl used for PEtab.jl). Taken together, along with MTKv9 update I can make PEtab.jl more compatible with MethodOfLines generated models. |
What is the proper way to utilize PEtab with other packages that use array variables?
at a Discourse Discussion @ChrisRackauckas highlighted that PEtab may not support
ODESystem
generated byModellingToolkit
which contains array variables.The discussed MWE, also provided herein, breaks with the below error when executing
p0 = generate_startguesses(petab_problem, 1)
.The text was updated successfully, but these errors were encountered: