Open kaandocal opened 4 months ago
Note that with MTK9, and hence Catalyst 14, using named mappings is a requirement as under the hood parameter and species orders can now change.
And a different parameter object is now generated for use in solvers: https://docs.sciml.ai/ModelingToolkit/stable/basics/FAQ/#Why-are-my-parameters-some-obscure-object?
(wrong link initially)
Parameters in
ModelingToolkit
can be passed as(name, value)
pairs or dictionaries. Example:This seems to work via
ModelingToolkit.varmap_to_vars
and should probably be added toMomentClosure