Single zone with multiple entry point

Single zone with multiple entry point

rohith_v2
Not applicable
99 Views
5 Replies
Message 1 of 6

Single zone with multiple entry point

rohith_v2
Not applicable

[ FlexSim 21.1.0 ]

38708-zone-question.jpgI'm trying to restrict the number of tokens with in an area (I can only have one token at any point of time). Since I have to destroy an object and send it to the sink, I'm not able to continue with the zone and the token has to exit the zone. I was checking to see if I can continue with the same zone after the new object is created but looks like they are considered as two different areas and I end up having 2 tokens. In the image attached is there a better way I can have only one token flow through the area highlighted.

0 Likes
Accepted solutions (1)
100 Views
5 Replies
Replies (5)
Message 2 of 6

benjamin_w2
Not applicable

Hi @Rohith V,

I think there is a way to do what you are asking, but I need to understand a little more about your process. For example, do you have to sink the token after you destroy the object? Could you simply destroy the object then immediately create a new one while the zone is acquired?

0 Likes
Message 3 of 6

rohith_v2
Not applicable

Hi Ben,

Yes, I have tried without a sink and it works since its a single loop. I was looking at a different option of adding a sink and wondering if there was a better way of limiting the number of tokens.

0 Likes
Message 4 of 6

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Rohith V,

From your response to Benjamin W2, it seems you may have a solution. Were you needing further help with this question? If so, can you please elaborate what you need help with?

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes
Message 5 of 6

rohith_v2
Not applicable

Hi Jeanette,

I'm curious to know if I can use a zone when there is a sink involved? As shown in the screen shot with my initial post, can I make a zone to work when there is token sent to sink and a new token is created which is linked to the previous activity?

0 Likes
Message 6 of 6

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Rohith V,

For your process flow block on the left, is Event Triggered Source linked to the process flow block on the right? If so, then you could assign the a label in the Event Triggered Source to the token in the right block. This will allow the token on the left to exit the zone as a proxy for the token from the right process flow block.

39199-1620272433097.png

I created a small example process flow for you to reference.

39198-1620272348110.png

Zone exit as proxy.fsm

Update: also any wait for event activities between the two blocks of activities can create a label that assigns the token.

0 Likes