- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » connect sequential component for loop
Page Start Prev 1 Next End
connect sequential component for loop
connect sequential component for loop
Jun-16-15 01:59:40
Hi,
I have same sewuential comonent. Let's say 24 Battery Cell named CELL1, CELL2 .... CELL24
I want to connect all those cell with for loop .
Code:
for i in 1:24 loop
connect(CELL(i).pin_n, CELL(i+1).pin_p);
...
end for;
How can i do that?
Thanks
Oki
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » connect sequential component for loop
There are 0 guests and 0 other users also viewing this topic