<?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: Problem in Global Table Update in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497203#M13161</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you very much. It works perfectly now.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 Oct 2021 11:42:13 GMT</pubDate>
    <dc:creator>alberto_f2</dc:creator>
    <dc:date>2021-10-14T11:42:13Z</dc:date>
    <item>
      <title>Problem in Global Table Update</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497201#M13159</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello everyone,&lt;/P&gt;
 &lt;P&gt;I am building a simple warehouse model with a single forklift using the A* module. I also want to create a sort of heat map in which I have the total time spent by the forklift in an area and in which state it is.&lt;/P&gt;
 &lt;P&gt;My first approach is to use the A* heatmap, but then I see that it records only the traversals and not the time spent in each cell. After that, I tried using a global table and gathering this data directly from the model using the following code:&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1634209123235.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1507732i5535DB435B457879/image-size/large?v=v2&amp;amp;px=999" role="button" title="1634209123235.png" alt="1634209123235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Now, It's happen something strange. If I click on the forklift and run the model very slowly, the table accurately updates, as you can see in the left table. But if I run the simulation faster, the table messes all the data &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;(right table)&lt;/SPAN&gt; and update the position and the total travel distance only when the forklift state change.&lt;/P&gt;
 &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 49.9253%;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1634210551771.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1507733i99C1795B04C9937B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1634210551771.png" alt="1634210551771.png" /&gt;&lt;/span&gt;&lt;/TD&gt;&lt;TD style="width: 50.0747%;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1634209592104.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1507734i054F872A0E915816/image-size/large?v=v2&amp;amp;px=999" role="button" title="1634209592104.png" alt="1634209592104.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&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;Could you suggest how to solve this issue, if necessary, also by changing the approach? &lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;Thanks a lot for your time.&lt;/P&gt;
 &lt;P&gt;Here you can also find my model.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/44968-warehouse-model-v1-9.fsm" target="_blank"&gt;warehouse model v1_9.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Oct 2021 11:20:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497201#M13159</guid>
      <dc:creator>alberto_f2</dc:creator>
      <dc:date>2021-10-14T11:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Global Table Update</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497202#M13160</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/18398/albertof2.html" nodeid="18398"&gt;@Alberto F2&lt;/A&gt; ,&lt;P&gt;It might be good to call updatelocations before you request the location of the forklift. So I would add updatelocations( Model.find( "Forklift" ) ) on line 23 and try again.&lt;BR /&gt;Good luck.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Oct 2021 11:30:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497202#M13160</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2021-10-14T11:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Global Table Update</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497203#M13161</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you very much. It works perfectly now.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Oct 2021 11:42:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-in-global-table-update/m-p/13497203#M13161</guid>
      <dc:creator>alberto_f2</dc:creator>
      <dc:date>2021-10-14T11:42:13Z</dc:date>
    </item>
  </channel>
</rss>

