<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic TE Collision Problem in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567003#M68304</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi ! As you can see in model 001&lt;A id="21655" href="https://answers.flexsim.com/storage/attachments/21655-001.fsm"&gt;001.fsm&lt;/A&gt; and model 002&lt;A id="21656" href="https://answers.flexsim.com/storage/attachments/21656-002.fsm"&gt;002.fsm&lt;/A&gt;, when i set up collision logic for every TE, error happens. While no error happens if only TE2's collision logic is set. But in a large scale TE system, collision detection happens on every TE. How to set up collision logic for every TE correctly to avoiding this situation? Your suggestion will be appreciated.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2019 09:45:48 GMT</pubDate>
    <dc:creator>962076751</dc:creator>
    <dc:date>2019-08-21T09:45:48Z</dc:date>
    <item>
      <title>TE Collision Problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567003#M68304</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi ! As you can see in model 001&lt;A id="21655" href="https://answers.flexsim.com/storage/attachments/21655-001.fsm"&gt;001.fsm&lt;/A&gt; and model 002&lt;A id="21656" href="https://answers.flexsim.com/storage/attachments/21656-002.fsm"&gt;002.fsm&lt;/A&gt;, when i set up collision logic for every TE, error happens. While no error happens if only TE2's collision logic is set. But in a large scale TE system, collision detection happens on every TE. How to set up collision logic for every TE correctly to avoiding this situation? Your suggestion will be appreciated.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 09:45:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567003#M68304</guid>
      <dc:creator>962076751</dc:creator>
      <dc:date>2019-08-21T09:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: TE Collision Problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567004#M68305</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/9768/k-yun.html" nodeid="9768"&gt;@meng L&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The reason for the problem you are seeing in model 001 is that when the Task Executors come into contact with each other, both of their "Handle Collision" triggers are fired, causing them both to stop.  This leads to repeated starting and stopping that blocks either Task Executor from being able to move.  I suggest setting up your TE system so that Task Executors only stop for the Task Executor in front of them.&lt;/P&gt;&lt;P&gt;One way to do this is to make Task Executors only stop during collisions with a specific car.  In the example model I've attached, Task Executor 1, 2, and 3 are in order along the network nodes, so TE 2 will only have to stop for TE 1, TE 3 will have to stop for TE 2, etc.&lt;/P&gt;&lt;P&gt;Here is some of the code I used to do this (For TE 3):&lt;/P&gt;&lt;PRE&gt;Object otherobject = param(1);
Object thisobject = current;
if(otherobject == Model.find("TaskExecuter2")){
	thisobject.stop(48);
	senddelayedmessage(thisobject,0.5,thisobject);
}
&lt;/PRE&gt;&lt;P&gt;Here is the example model: &lt;A id="21679" href="https://answers.flexsim.com/storage/attachments/21679-tecollisionanswer.fsm"&gt;tecollisionanswer.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 21:23:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567004#M68305</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-08-21T21:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: TE Collision Problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567005#M68306</link>
      <description>&lt;P&gt;Hi Joseph!Thanks for your reply.I get your idea.But as we know, the models attached here are simplified. Under most circumstance, routes are more complicated. It is unknown that which TE may come into a collision with current TE. In other words, we need figure out which TE is in front position in a collision. &lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 01:06:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567005#M68306</guid>
      <dc:creator>962076751</dc:creator>
      <dc:date>2019-08-22T01:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: TE Collision Problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567006#M68307</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/9768/k-yun.html" nodeid="9768"&gt;@meng L&lt;/A&gt;, wouldn’t your last comment be a good new question? “How to identify the previous traveler on network node path segment?”. Regards Jörg!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 07:38:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567006#M68307</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2019-08-22T07:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: TE Collision Problem</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567007#M68308</link>
      <description>&lt;P&gt;Yes Jörg, you are right.Essentially this is what i realy want to express in this question. I post it as a new question here.&lt;/P&gt; 
&lt;P&gt;&lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/71183/how-to-identify-the-front-traveller-during-a-colli.html" target="_blank"&gt;https://answers.flexsim.com/questions/71183/how-to-identify-the-front-traveller-during-a-colli.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 08:30:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/te-collision-problem/m-p/13567007#M68308</guid>
      <dc:creator>962076751</dc:creator>
      <dc:date>2019-08-22T08:30:49Z</dc:date>
    </item>
  </channel>
</rss>

