question

moises10rocha avatar image
0 Likes"
moises10rocha asked Jeanette F commented

How can I measure the number of collisions between simulation items?

I'm practicing the system agent concepts in Flexsim, and I would like to know how I can get the number of collisions between operators in the example in question. After that, carry out simulations varying some scenarios.Exemplo19.fsm

FlexSim 23.2.0
proximity agent systemagent systemcolision
exemplo19.fsm (73.0 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @moises10rocha, was Lucas Matheus's answer helpful? If so, please click the "Accept" button at the bottom of 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Lucas Matheus avatar image
0 Likes"
Lucas Matheus answered

Hey @moises10rocha from what I can tell, the Agent System does not allow collisions between agents. The proximity detection mechanism calculates proximity distance and allows the agents to make decisions based on other agents in their vicinity.

However, you can use the "On Enter Proximity" trigger to assume that, if there was no change in the agent's action, a collision would happen.

See the topic "Listening to Behavior Events" on the documentation.
Agent System (flexsim.com)

I attached a model with a statistics collector using the proximity system trigger. For each proximity between agents, two lines are recorded. One in which the object is the agent and another in which the object is the neighbor.

table.png

exemplo19.fsm


table.png (41.8 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.