question

Shubham C2 avatar image
0 Likes"
Shubham C2 asked Shubham C2 commented

Flow item acquiring A* nodes instead of blocking the source

Please Refer the attached image of the dummy model for reference (dummy-astar.png.)

IAT of the source is very less in comparison to the processing time of the processor. Since the MAX CONTENT of the Processor is limited to one, the source gets blocked after releasing one flow item(Person), until the flow item is processed and released to sink.
Source is using transport (AStar: Task Executer as Flowitem)

The behavior i want is that the source should release the flow items continuously and the flow items should form some kind of line near the processor acquiring the A* nodes.
Is it possible ?, if not what is the closest thing that is achievable and how ?

FlexSim 19.1.0
a star navigation
dummy-astar.png (73.0 KiB)
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

Jacob Gillespie avatar image
1 Like"
Jacob Gillespie answered Shubham C2 commented

Place a Queue before the processor so that the source will keep producing people while the processor is recieving people from the queue one at a time.

It looks like you are trying to do a people based model. You should look at our FlexSim Healthcare Tutorial that goes over the concepts of creating people, having them queue up in a Waiting Line, etc.

https://docs.flexsim.com/en/19.1/Tutorials/FlexSimHC/OverviewFlexSimHC/

· 5
5 |100000

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

Shubham C2 avatar image Shubham C2 commented ·

Thank you for the response @Jacob Gillespie.
I am not working on a people based model. This screenshot is from a dummy model that I used to ask my question. In actual model there are Trucks, I do not want to use the queue because i want to visualize the area around processor being utilized dynamically. The queue I will put up will have to be of some constant size and if the flow items increased a certain number they will start stacking. Moreover if the size of queue is large it will occupy the area in the vicinity of processor , even when there are no flow items present. This will hinder the movement of other flow items which are going towards some other element nearby the processor.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Shubham C2 commented ·

And what if you give Jacobs’ idea a try. A queue of people module behaves similar you described it in your question. And you can exchange the shape of people as well. You just assume a behavior, that doesn’t exists in people module. It is a behavior you would expect from a fixed resource queue. Please build a people module based model, and then if it doesn’t fulfill its purpose, then you come back and tell us what you still need.

0 Likes 0 ·
Shubham C2 avatar image Shubham C2 commented ·

Thank you @Jörg Vogel for the response.
Sorry if I sounded rude in my reply, I will definitely explore the People module queue and will update here.
Thanks

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ commented ·

@Shubham C2 Here is an example of how you can use a Waiting Line with trucks.

truck-example.fsm

0 Likes 0 ·
truck-example.fsm (36.2 KiB)
Shubham C2 avatar image Shubham C2 Jacob Gillespie ♦ commented ·

This really helped a lot. Thank you @Jacob Gillespie

0 Likes 0 ·