question

Gulati avatar image
1 Like"
Gulati asked Gulati commented

Connecting items issue

In the attached model. I created an excel file for the component i need in my model.i imported that excel and with the help of some code i created items in model without dragging them manually. worked perfectly. one problem which i am getting now i am not able to connect items with each other. I provided Ranks to node and all but still it doesn't work. for example here in my model i want to connect:- Q0101 with Load_h the Load_h with Sealant and lubrication then with Insertion and sink. like this, i want to connect s201 with q0102 then q0102 with Load_h. same for next source which is s202 with q0103 with sealant and lubrication and in the last s203 with q0104 with insertion. I wrote code in user command but every time i reset my model it doesn't show the connection. any suggestions??

FlexSim 17.2.5
connections
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Gulati commented

I've updated your model and changed the code and table structure a bit to be more straightforward (at least in my opinion). I think this should do everything you wanted, but if not it's a good starting point.

autobuildmodel.fsm


autobuildmodel.fsm (20.9 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Gulati avatar image Gulati commented ·

@Matthew Gillespie. I tried to run model Provided by you. all code to connect item which you did is good to understand. I have two doubts in your model:

1) Is it necessary to use node for the processor to make flow items move throughout our model. or simple just connecting processor as an object we can perform our task.

2) i tried to run the model but items is getting stuck in processor and nothing is coming from main queue(Q0101).i tried to transport the items from Q0102 with the help of AGV still that things did not work.

just to brief what i want in my model is one by one main items is coming from Q0101 and a lot of some number is coming from Q0102 Respectively with other processors.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Gulati commented ·

1) No, just "A" connecting fixed resource objects together is enough to cause flow items to flow through the objects in the model. Network nodes are one of several travel networks that you can use to control where Operators, AGVs, and other TaskExecuters travel when moving around in the model. They have no influence on flow items flowing through the model.

2) Q0101 has no input connections. If you want flowitems to enter Q0101 you need to connect a source or another upstream queue to it. The objects are getting stuck in the processors because the Insertion processor has no output connections. So when the item in Insertion finishes processing it has no where to go. Connect this processor to some downstream object like a queue or sink so the flowitems have somewhere to go.

Your question is not really something I can do for you. I have no idea how your model is supposed to work. You need to connect your objects so that the items flow the way you want them to.

1 Like 1 ·
Gulati avatar image Gulati commented ·

@Matthew Gillespie . the changes you suggested in second point of your comment i did those then i tried it was not working. There was some other mistake which i was doing i resolved it. Changes suggested by you was perfect. thanks

0 Likes 0 ·