You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get problems when extending a reaction system with a MTK ODESystem. However, it is only for one order. Does it seem useful to have both orders work?
Example:
using Catalyst, ModelingToolkit, OrdinaryDiffEq
@parameters h
@variables t T(t)
D =Differential(t)
eq =D(T) ~ h - T
@named heater =ODESystem([eq])
equi_system =@reaction_networkbegin@variablesT(t)
(T,1), X <--> Y
end@named heat_system =extend(equi_system, heater) # Error@named heat_system =extend(heater, equi_system) # Works
This is the error message:
ERROR: type ReactionSystem has no field gui_metadata
Stacktrace:
get_gui_metadata(sys::ReactionSystem{Catalyst.NetworkProperties{Int64, SymbolicUtils.BasicSymbolic{Real}}}) at [/home/torkelloman/.julia/packages/ModelingToolkit/xLMQM/src/systems/abstractsystem.jl](vscode-file://vscode-app/snap/code/134/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)
kwcall(::NamedTuple{(:name,), Tuple{Symbol}}, ::typeof(extend), sys::ReactionSystem{Catalyst.NetworkProperties{Int64, SymbolicUtils.BasicSymbolic{Real}}}, basesys::ODESystem) at [/home/torkelloman/.julia/packages/ModelingToolkit/xLMQM/src/systems/abstractsystem.jl](vscode-file://vscode-app/snap/code/134/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)
top-level scope at [/home/torkelloman/.julia/packages/ModelingToolkit/xLMQM/src/systems/abstractsystem.jl](vscode-file://vscode-app/snap/code/134/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)
The text was updated successfully, but these errors were encountered:
Get problems when extending a reaction system with a MTK
ODESystem
. However, it is only for one order. Does it seem useful to have both orders work?Example:
This is the error message:
The text was updated successfully, but these errors were encountered: