Hi, I am working on integrating Neural ODEs into network simulations using NetworkDynamics.jl and ModelingToolkitNeuralNets.jl. The Problem is NetworkDynamics.jl appears to generate duplicate symbol names when processing vector symbols.
ERROR: ArgumentError: Symbol names must be unique. There are clashes in sym, psym, outsym, obssym and insym.
Stacktrace:
[1] _fill_defaults(T::Type, kwargs::Any)
@ NetworkDynamics ~/.julia/packages/NetworkDynamics/Fl0Oh/src/component_functions.jl:1005
[2] _construct_comp(::Type{VertexModel}, kwargs::Any)
@ NetworkDynamics ~/.julia/packages/NetworkDynamics/Fl0Oh/src/component_functions.jl:589
[3] #VertexModel#33
@ ~/.julia/packages/NetworkDynamics/Fl0Oh/src/component_functions.jl:302 [inlined]
[4] VertexModel(sys::System, inputs::Vector{…}, outputs::Vector{…}; verbose::Bool, name::Symbol, ff_to_constraint::Bool, extin::Nothing, kwargs::@Kwargs{})
@ NetworkDynamicsMTKExt ~/.julia/packages/NetworkDynamics/Fl0Oh/ext/NetworkDynamicsMTKExt.jl:85
I wonder if there are any other way to create symbolic neural networks?