question

Lucas Klein avatar image
0 Likes"
Lucas Klein asked Ben Wilson commented

Agent based model - operator stuck

Hello,

I am learning about the agent-based module and I'm trying to create a simple model where I make the operators transport a few boxes from a Queue to a Sink using process flow, and I created a Proximity behavior that checks if they aren't too close from each other. When the Proximity behavior triggers, it set a label called "tooClose" to 1 and I also have a Social Force Behavior that activates a repulsive-neighbor force when the "tooClose" is 1. But when I start the simulation, the chosen operator does not move, he just stands still in place with the task started. Follow attached my model, so if I'm thinking, or setting up something wrong, please let me know. I found this module really interesting and I would like to learn more about it.

agent_test_model.fsm


Thanks!

FlexSim 20.2.3
flexsim 20.2.3agent module
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Lucas Klein, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

You need to have a goal oriented Social Force Behaviour or A* for the navigation to work I think.

Try adding a social force where the goal is the Travel Destination.

· 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.

Lucas Klein avatar image Lucas Klein commented ·

Thanks, @jason.lightfoot! I'll try that and bring you updates on how it worked.

0 Likes 0 ·