<?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 Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560963#M63412</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35968/theresab.html" nodeid="35968"&gt;@Theresa B&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;A method recommended in that question was dynamic barriers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;If "token.item" is the reference to the object to be stored:&lt;/P&gt;
 &lt;UL&gt;&lt;LI&gt;- When the "item" enters Floor Storage it uses the following syntax: AStar.navigator.addDynamicBarrier(token.item,0).&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;- When the "item" leaves Floor Storage, it uses the following syntax: AStar.navigator.removeDynamicBarrier(token.item,0);&lt;/LI&gt;&lt;/UL&gt;
 &lt;P&gt;In both cases you can do it with a Custom Code activity.&lt;/P&gt;
 &lt;P&gt;I hope the answer can help you.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 Sep 2022 21:12:20 GMT</pubDate>
    <dc:creator>emmanuelvasquezsand</dc:creator>
    <dc:date>2022-09-05T21:12:20Z</dc:date>
    <item>
      <title>Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560962#M63411</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt; 
 &lt;P&gt;Hi all,&lt;/P&gt; 
 &lt;P&gt;I've been trying to make boxes deposited in Floor Storage act as obstacles, so that I can work out which is the best order to fill up a large and unwieldly floor storage space but I've come into a couple of obstacles myself.&lt;/P&gt; 
 &lt;P&gt;I've tried the method in this question, &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/113955/operator-in-a-floor-storage.html" target="_blank"&gt;Operator in a floor storage&lt;/A&gt;, and although the model included in the question functions as expected, when I try to use the same custom code it doesn't seem to work. I confirmed that the items deposited in the floor storage are added as members of the A* network but the transporters still pass through them.&lt;/P&gt; 
 &lt;P&gt;(Perhaps &lt;A rel="user" href="https://answers.flexsim.com/users/12531/emmanuelvs.html" nodeid="12531"&gt;@Emmanuel VS&lt;/A&gt;, you have some insight about the setting I need to change apart from the A* Properties?)&lt;/P&gt; 
 &lt;P&gt;Otherwise, after implementing A* navigation, the way the floor storage is filled up is different on every run of the model. I expect each slot to be filled 4 high and yet sometimes, some slots are only filled up to 3 (usually the ones on the edges of the floor storage) and sometimes, boxes are placed outside the floor storage. &lt;/P&gt; 
 &lt;P&gt;The process flow for the placement of the boxes looks like this:&lt;/P&gt; 
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1662392492013.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512711i1F096595D937536F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1662392492013.png" alt="1662392492013.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
 &lt;P&gt;You may remember it from &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/126643/assign-destination-for-flowitems-going-from-fixed.html" target="_blank"&gt;my previous question.&lt;/A&gt; I tried to turn off the travel offset for load/unload tasks; however, when I do this, the transporter does not travel to slot to drop off (destination set to &lt;A rel="nofollow noopener noreferrer" href="http://token.slot.as" target="_blank"&gt;token.slot.as&lt;/A&gt;(Storage.Slot).storageObject) and the box just appears in the slot. There are no error messages with the travel - drop off activity.&lt;/P&gt; 
 &lt;P&gt;Any insight on why this might be happening would be much appreciated!&lt;/P&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Sep 2022 15:47:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560962#M63411</guid>
      <dc:creator>theresa_b</dc:creator>
      <dc:date>2022-09-05T15:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560963#M63412</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35968/theresab.html" nodeid="35968"&gt;@Theresa B&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;A method recommended in that question was dynamic barriers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;If "token.item" is the reference to the object to be stored:&lt;/P&gt;
 &lt;UL&gt;&lt;LI&gt;- When the "item" enters Floor Storage it uses the following syntax: AStar.navigator.addDynamicBarrier(token.item,0).&lt;/LI&gt;&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;- When the "item" leaves Floor Storage, it uses the following syntax: AStar.navigator.removeDynamicBarrier(token.item,0);&lt;/LI&gt;&lt;/UL&gt;
 &lt;P&gt;In both cases you can do it with a Custom Code activity.&lt;/P&gt;
 &lt;P&gt;I hope the answer can help you.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Sep 2022 21:12:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560963#M63412</guid>
      <dc:creator>emmanuelvasquezsand</dc:creator>
      <dc:date>2022-09-05T21:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560964#M63413</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Emmanuel,&lt;/P&gt;
 &lt;P&gt;Thanks for your help! The syntax you provided works - I had naively copied the lettercase used in the FlexSim manual and put&lt;/P&gt;
 &lt;UL&gt;&lt;LI&gt;AStar.Navigator.add&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;DynamicBarrier(token.item,0);&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
 &lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;which did not work.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;Additionally, my model seems to work without implementing the removeDynamicBarrier() function. What unexpected/hidden behaviours are at risk of happening if I don't include removeDynamicBarrier()?&lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;On a different note, in the above process flow, you can see that I add the dynamic barrier after unloading to the Floor Storage but do you know if it's possible to add the dynamic barrier before the TE starts to travel? The object I'm moving is wider than the TE, so it is bumping into other objects, even if the TE is not.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;Would this be where I should use the agent systems mentioned in that same question?&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;Apologies for the mass of questions and thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Sep 2022 21:58:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560964#M63413</guid>
      <dc:creator>theresa_b</dc:creator>
      <dc:date>2022-09-05T21:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560965#M63414</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35968/theresab.html" nodeid="35968"&gt;@Theresa B&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;Regarding remove barrier, I would understand that you shouldn't have any problems, but maybe some developer could answer that with more certainty (I've only used it in demos to test features).&lt;/P&gt;
 &lt;P&gt;Regarding your second question (which includes the width of the item), I would say that adding the dynamic barrier before the load could help. If you do a simple test (like the attached image) you will notice the difference in the path chosen by the task executors.&lt;/P&gt;
 &lt;P&gt;I hope the answer can help you.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/58028-db-1.png" target="_blank"&gt;DB_1.PNG&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Sep 2022 01:41:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560965#M63414</guid>
      <dc:creator>emmanuelvasquezsand</dc:creator>
      <dc:date>2022-09-06T01:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560966#M63415</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The syntax you copied was probably the &lt;A href="https://docs.flexsim.com/en/22.2/Reference/CodingInFlexSim/FlexScriptAPIReference/AStar/AStar.Navigator.html#Method-addDynamicBarrier"&gt;method title heading&lt;/A&gt; that shows the method as an attribute of the class AStar.Navigator.   The code examples on that page show that you access the instance using the lower case 'n' for navigator:  AStar.navigator.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so use:&lt;/P&gt;&lt;PRE&gt;AStar.Navigator asn=Model.find("AStarNavigator");
asn.addDynamicBarrier(item);&lt;/PRE&gt;&lt;P&gt;or:&lt;/P&gt;&lt;PRE&gt;AStar.navigator.addDynamicBarrier(item);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Sep 2022 06:45:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560966#M63415</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-09-06T06:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560967#M63416</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Ah, yes, that's what I did! Thank you, I'll be able to use the manual to much better effect now.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:59:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560967#M63416</guid>
      <dc:creator>theresa_b</dc:creator>
      <dc:date>2022-09-06T18:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using A* Navigation and Process Flow to avoid new objects in Floor Storage</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560968#M63417</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi, Emmanuel,&lt;/P&gt;
 &lt;P&gt;Thanks for the suggestion! It was a good little exercise to run and I can see how the operators are changing their paths to avoid the objects being transported.&lt;/P&gt;
 &lt;P&gt;This doesn't happen every time and there are collisions e.g.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1662496147463.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512710i2C07138D41626A27/image-size/large?v=v2&amp;amp;px=999" role="button" title="1662496147463.png" alt="1662496147463.png" /&gt;&lt;/span&gt; but I'm assuming this is something to do with the timing of when objects are added as a member of the A* network and when the path of the other operator is determined.&lt;/P&gt;
 &lt;P&gt;I'll continue to play with this. Thanks for your help.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Sep 2022 19:45:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/using-a-navigation-and-process-flow-to-avoid-new-objects-in/m-p/13560968#M63417</guid>
      <dc:creator>theresa_b</dc:creator>
      <dc:date>2022-09-06T19:45:55Z</dc:date>
    </item>
  </channel>
</rss>

