question

Weronika FK avatar image
0 Likes"
Weronika FK asked Weronika FK commented

Error while running a model

Hi,

I've made a model using a Process Flow tool. Unfortunately, I've got a problem with running it. When I click the run button, my FlexSim stops working. I don't know if it's a model's problem or my own computer's. I'm trying to use labels to differentiate types of t-shirts.

Nadruk na koszulkach.fsm

FlexSim 21.2.0
processflowmodel run
5 |100000

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

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Weronika FK commented

@Weronika FK You are mixing the logic of 3D and process flow together. This is not a good idea and if you do it be careful!. In your case you have a source (Źródło) that creates a a box in the queue (Magazyn). The event triggered source in the process flow listens to the onentry of the queue and when the onentry takes place it creates another box in the queue which triggers the onentry again, which creates another box etc etc So in fact you create an infinite loop.

So either create all the flow items in process flow or create them with a source, but not both.

· 1
5 |100000

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

Weronika FK avatar image
0 Likes"
Weronika FK answered Weronika FK commented

@Steven Hamoen I understand it now :) I've added a source in the 3D model and connected it with event triggered. I have the last question if you don't mind... I have 3 types of t-shirts - "biala", "czarna" and "kolorowa". I've tried to assign labels to token.koszulka, but the object decide doesn't see it. "biala" should go to the 1st connector out (image) and "czarna" and "kolorowa" to the 2nd one. I've also tried to assign labels by a percentage because they appeal in equal amounts - 33%each color. I will be very thankful for your help!

1640088588092.png

Nadruk na koszulkach.fsm


· 2
5 |100000

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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered

@Weronika FK If I now look at your model there is no source anymore. The 3D source has been removed but there is no source in the process flow. In the process flow you have an even triggered. But you don't have an event anymore so that source is never triggered.

5 |100000

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