<?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 A Star best practice to speed model run in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485347#M3972</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I am building a model in which material handling employees carry parts from one department to another.  For now, I only have one such handler.  I added a few Barriers and Dividers to make the walls of the building.&lt;/P&gt;&lt;P&gt;When I run the model at max speed for one day of operations, the runtime is unbelievably different whether I use AStar or not:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Runtime without AStar: 1 second&lt;/LI&gt;&lt;LI&gt;Runtime with AStar: 72 seconds&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The only difference between the 2 runs is whether the handler is connected to AStar or not. &lt;/P&gt;&lt;P&gt;All the AStar parameters are the defaults.&lt;/P&gt;&lt;P&gt;I'm afraid that when my model is complete and I'll want to run months of operations instead of single day, it will take hours to run.  And I have a very powerful computer.&lt;/P&gt;&lt;P&gt;So, here is my question:  Are there any AStar best practices for building the model while minimizing the impact on model run speed?&lt;/P&gt;&lt;P&gt;Examples: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is it better to make the wall with Barriers or Dividers or it doesn't matter?&lt;/LI&gt;&lt;LI&gt;Is it better to add all processors and queues as members or just to draw a barrier around them?&lt;/LI&gt;&lt;LI&gt;Which AStar parameters have the greatest impact on performance?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks a lot for any advice you have on this,&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 17 Sep 2021 16:14:34 GMT</pubDate>
    <dc:creator>patrickABAWF</dc:creator>
    <dc:date>2021-09-17T16:14:34Z</dc:date>
    <item>
      <title>A Star best practice to speed model run</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485347#M3972</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I am building a model in which material handling employees carry parts from one department to another.  For now, I only have one such handler.  I added a few Barriers and Dividers to make the walls of the building.&lt;/P&gt;&lt;P&gt;When I run the model at max speed for one day of operations, the runtime is unbelievably different whether I use AStar or not:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Runtime without AStar: 1 second&lt;/LI&gt;&lt;LI&gt;Runtime with AStar: 72 seconds&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The only difference between the 2 runs is whether the handler is connected to AStar or not. &lt;/P&gt;&lt;P&gt;All the AStar parameters are the defaults.&lt;/P&gt;&lt;P&gt;I'm afraid that when my model is complete and I'll want to run months of operations instead of single day, it will take hours to run.  And I have a very powerful computer.&lt;/P&gt;&lt;P&gt;So, here is my question:  Are there any AStar best practices for building the model while minimizing the impact on model run speed?&lt;/P&gt;&lt;P&gt;Examples: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is it better to make the wall with Barriers or Dividers or it doesn't matter?&lt;/LI&gt;&lt;LI&gt;Is it better to add all processors and queues as members or just to draw a barrier around them?&lt;/LI&gt;&lt;LI&gt;Which AStar parameters have the greatest impact on performance?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks a lot for any advice you have on this,&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Sep 2021 16:14:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485347#M3972</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-09-17T16:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: A Star best practice to speed model run</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485348#M3973</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The easiest things you can do to improve A* performance are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/21.2/Reference/Tools/AStar/#general" target="_blank"&gt;Cache Paths&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Increase &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/21.2/Reference/PropertiesPanels/AStarPanels/Grid/" target="_blank"&gt;Node Spacing&lt;/A&gt; so you have fewer grid points&lt;/LI&gt;&lt;LI&gt;Decrease the size of Grids&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you really want to optimize you can make different A* grids and only turn down the node spacing on the grids in the part of the models that really matter and leave the node spacing high on places it doesn't matter. Then &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;use bridges to connect&lt;/SPAN&gt; the grids together. Or if there are long hallways just use bridges to represent those.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Is it better to make the wall with Barriers or Dividers or it doesn't matter? Is it better to add all processors and queues as members or just to draw a barrier around them?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't think either of these will have much effect on performance.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Sep 2021 16:25:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485348#M3973</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-09-17T16:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: A Star best practice to speed model run</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485349#M3974</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I checked Node Spacing and I noticed a problem.  Since my model is in inches, the node spacing was at 1 inch automatically.  I changed it to 1 m and now my model runs as fast with or without AStar.  1 inch is 40 times smaller than 1 meter.&lt;/P&gt;&lt;P&gt;I suggest that the Node spacing always be 1 m by default and not 1 model units.&lt;/P&gt;&lt;P&gt;I'm pretty sure I'm not the only one who ran into this "slowness" issue. &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Sep 2021 17:24:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485349#M3974</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-09-17T17:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: A Star best practice to speed model run</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485350#M3975</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/240/patrick.c.html" nodeid="240"&gt;@Patrick Cloutier&lt;/A&gt; &lt;/P&gt;Yes, it looks like this wasn't updated when the node spacing was split into X and Y spacing. Thanks for pointing this out!&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Sep 2021 17:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/a-star-best-practice-to-speed-model-run/m-p/13485350#M3975</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-09-17T17:35:14Z</dc:date>
    </item>
  </channel>
</rss>

