The model will only insert one piece of data.

The model will only insert one piece of data.

a9080109
Collaborator Collaborator
327 Views
6 Replies
Message 1 of 7

The model will only insert one piece of data.

a9080109
Collaborator
Collaborator

a9080109_0-1768965934692.png

@FelixMoehlmann 

My model is currently only inserting one piece of data. I want to know how to insert multiple pieces of data, or how to make it so that I can only insert one piece of data but still have boxes moving to the machine later, which seems strange.

Additionally, I'd like to ask if I can develop my own AGV dispatch algorithm and integrate it into FlexSim. Would this increase my computational workload? (My model interacts with a real-world system, but I'm wondering if it's possible to turn it into a custom function.)

0 Likes
328 Views
6 Replies
Replies (6)
Message 2 of 7

a9080109
Collaborator
Collaborator

a9080109_0-1769063272818.png

I've adjusted some of the logic, but I don't know why it's throwing an ERROR CODE error. I don't know under what conditions it's triggered; could it be during the moving process? I want to resolve this!

0 Likes
Message 3 of 7

FelixMoehlmann
Collaborator
Collaborator

The error message is telling you that tokens which are missing the "Switch" and "Sdest" labels are moving through the marked section at the times mentioned in the error messages. Set stop times at the error time and then at earlier times to try and trace back where those tokens come from and why they don't have the expected labels. I can't help you much, because I can't run the model properly without the database connections.

moehlmann_fe_0-1769065865543.png

 

0 Likes
Message 4 of 7

a9080109
Collaborator
Collaborator

But the strange thing is that this error doesn't happen every time I do it, which makes it difficult for me to find the problem.

0 Likes
Message 5 of 7

FelixMoehlmann
Collaborator
Collaborator

Then you should first work to make the model repeatable. Are you resetting everything, including the external database to the same state before each model run?

0 Likes
Message 6 of 7

a9080109
Collaborator
Collaborator

Yes, I have rewritten all the data. Also, I've found that this problem usually occurs when I need to perform data transfer tasks.

0 Likes
Message 7 of 7

a9080109
Collaborator
Collaborator

"In addition, I would like to know about my current logic where the machine is released only after the item is moved away. However, since I have ports (buffers) available, the machine should be able to be released as soon as the item is placed in the queue. How should I fix my logic?

0 Likes