Modia.jl icon indicating copy to clipboard operation
Modia.jl copied to clipboard

Way / workaround to get array of components working?

Open jleugeri opened this issue 7 years ago • 2 comments

Hi. The relevant bits of code for connecting electrical components stored in an array are commented out in test/models/TestArrayOfComponents.jl (fixed link) as not working, so I was wondering, as the title suggests, if there is a current workaround to connect arrays of components like resistors and capacitors? If not (and it's not a monumental task to do that), is there a way to help with implementing this feature? That would make it possible to write much more compact model descriptions that would be the last nail in the coffin of SPICE for me ;)

jleugeri avatar Aug 30 '18 16:08 jleugeri

Here's the correct link to that file:

https://github.com/ModiaSim/Modia.jl/blob/master/test/models/TestArrayOfComponents.jl

tshort avatar Aug 30 '18 17:08 tshort

Toivo and I have started to work on that. We will continue next week. So I suggest you just wait a couple of weeks.

HildingElmqvist avatar Aug 30 '18 22:08 HildingElmqvist