<?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: the model stops itself before its stop time in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576077#M75238</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Well the delay is reading token.hour which is -25287 which evaluates to zero.&lt;/P&gt;&lt;P&gt;In the production time decision code, x (6) is not equal to y (108) so the token goes to exit 2.&lt;/P&gt;&lt;P&gt;You can place breakpoints in your code to see what's going on with the local variable values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Apr 2023 16:49:45 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2023-04-03T16:49:45Z</dc:date>
    <item>
      <title>the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576070#M75231</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Please find the attached model, this model stops itself before its allotted stop time.when I run with 3 independed scheduled tokens it stops at some 150000; but the same model if run with 2 scheduled tokens stops after it transverses all the rows of the assigned global table.Please note that I will have to extend this logic for 25 different tables,for now in this model I am trying with 3 tables , but i am not successful in establishing the complete logic, but the logic works well for 2 tables.&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/66653-transportation-logic-rev02.fsm" target="_blank"&gt;TRANSPORTATION_LOGIC_rev02.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:47:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576070#M75231</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-03T15:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576071#M75232</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;rm301_row_decide sends the only token remaining to the sink at time 2563929.82 as a result of testing if x&amp;lt;y  and evaluating to false where:&lt;/P&gt;&lt;PRE&gt;int x=token.index;
int y=Table("rm302").numRows/96-1;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:51:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576071#M75232</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-03T15:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576072#M75233</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;it is true when 2 tokens are running , but when 3 tokens are used it stops at 156,998.94 seconds, which cant be true as the model has to run until 2563838.832 seconds.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1680537894420.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516453iEDEF654970025241/image-size/large?v=v2&amp;amp;px=999" role="button" title="1680537894420.png" alt="1680537894420.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:05:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576072#M75233</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-03T16:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576073#M75234</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Is that a different model? Post the model you want explaining with it set up to run the relevant case.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:06:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576073#M75234</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-03T16:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576074#M75235</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;its the same model attached with 3 scheduled sources, only that i have not attached the third schedule source to the process flow block.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1680538327452.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516455iE2362516AC309B83/image-size/large?v=v2&amp;amp;px=999" role="button" title="1680538327452.png" alt="1680538327452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:10:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576074#M75235</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-03T16:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576075#M75236</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You have an infinite loop of zero time events.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="zerotimeinfiniteloop.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516456i5DBA2860DEAE5EF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="zerotimeinfiniteloop.gif" alt="zerotimeinfiniteloop.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:17:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576075#M75236</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-03T16:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576076#M75237</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 so how do i remove it ??it would be helpful if you could support me with this.
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:25:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576076#M75237</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-03T16:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576077#M75238</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Well the delay is reading token.hour which is -25287 which evaluates to zero.&lt;/P&gt;&lt;P&gt;In the production time decision code, x (6) is not equal to y (108) so the token goes to exit 2.&lt;/P&gt;&lt;P&gt;You can place breakpoints in your code to see what's going on with the local variable values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:49:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576077#M75238</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-03T16:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576078#M75239</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
  well i did have a look over code, it works fine until I dont add more than 2 resources, but eventually i need a robust process flow which could be easily 
 &lt;A rel="nofollow noopener noreferrer" href="http://extendable.Is" target="_blank"&gt;extendable.Is&lt;/A&gt; there any suggestion or guidance you could give me? 
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 18:17:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576078#M75239</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-03T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576079#M75240</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;If you want it to be scaleable then you should probably use object process flows that relate to the presence of 3D objects (what is this model doing - how are you going to scale it?)&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 20:20:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576079#M75240</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-03T20:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576080#M75241</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 well unfortunately object process flow is not feasible in this case, as we push one input into one list(chafers) with partition id as item.Type ,and then again pull a certain values from that list matching with a global tables (rm301,rm302,....) .In this case we shall have 22 global tables and I believe that global tables cant be parameterized and also the conditions vary a lot.
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 20:31:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576080#M75241</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-03T20:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576081#M75242</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Well the fact that the processes are identical indicate to me that you should only have one definition of it and many parameterized instances.  The pull from list requirement is just looked up from its own global table.  If you have 22 instances (RM301-RM322) then you could use a label on each to store the table instead of calling global tables 'rm301'.  But since you look to be importing to those Global Tables already, I'd have a label (called eg.  'globTable') on the M301-M322 objects that points to the correct global table data.  Then you can just refer to the table using:&lt;PRE&gt;Table(current.globTable)[token.index+1][4]&lt;/PRE&gt;&lt;P&gt;and so this is totally parameterizable for an object process flow.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Apr 2023 21:51:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576081#M75242</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-03T21:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576082#M75243</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;well it sounds interesting , how is that we link an object to the global table? as I am not able to link them, like linking a queue RM302 to table RM302, so that I could access the whole table on the object process flow.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1680596215533.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516462i14DD31FBCA35BDED/image-size/large?v=v2&amp;amp;px=999" role="button" title="1680596215533.png" alt="1680596215533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 08:18:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576082#M75243</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-04T08:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576083#M75244</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/66681-transportation-logic-rev02-jl.fsm" target="_blank"&gt;transportation-logic-rev02_jl.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here's an example with a new object process flow.  I set a pointer to the table at reset using&lt;/P&gt;&lt;PRE&gt;current.curingTable=reftable(current.name)&lt;/PRE&gt;&lt;P&gt;but you could also just use Table(current.name) in the references for the table.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:00:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576083#M75244</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-04T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576084#M75245</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;thanks for this object process flow, but unfortunately I have the same output , the model stops in after 156998.94 seconds and the value of hour has value -25287, this doesnt occur when I connect 2 objects RM301 and RM302.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:16:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576084#M75245</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-04T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576085#M75246</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You set  token.hour to -25287  in the activity "waiting_time_for nextchafer"  since x is 131711 and y is 156998  and token.hour is set to the difference :  X-Y.&lt;/P&gt;&lt;P&gt;This code I think assumes that the X time is in the future but in fact it's in the past resulting in the negative time.&lt;/P&gt;&lt;P&gt;In the "production_time" decision, Instead of testing X==Y (you should never test doubles like this)  you should check if X&amp;lt;Y.&lt;/P&gt;&lt;P&gt;Also - instead of X,  call it "schedProdTime" and then you can just test schedProdTime&amp;lt; time()  instead of X and Y which don't convey any meaning.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 11:38:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576085#M75246</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-04T11:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576086#M75247</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 well the problem is when the time is equivalent to the scheduled time on the global table only then the pull request should be made else the task executor is to wait, if at the same instant of time we have 2 requests then the dispatcher should use the second task executor.If I use the condition X&amp;lt;Y then it will abruptly pull from the list which is not my motive, my target is :the list is being filled up while it is being emptied from the matching label and time from the global table.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:26:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576086#M75247</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-04T12:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576087#M75248</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Use a process to push to the list that is separate from the pulling process.  Only push to the list when it should get on the list.&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:28:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576087#M75248</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-04T12:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576088#M75249</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;well i tried doing it but was not successful, as shown ,firstly I was pushing all the items being produced into a list , then pull it back and then pushing into another list as per the requirement and then pulling it when the schedule time comes in, Tbh i am not sure you suggested something like this.Please note that the input list is producing several items at different times while the output lists is waiting for the scheduled time for the output to be delivered.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1680612128243.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516460i2D1360D82551F318/image-size/large?v=v2&amp;amp;px=999" role="button" title="1680612128243.png" alt="1680612128243.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:45:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576088#M75249</guid>
      <dc:creator>moosa</dc:creator>
      <dc:date>2023-04-04T12:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: the model stops itself before its stop time</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576089#M75250</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Don't do this in the object process flow instance - it's a seperate process.  &lt;P&gt;You can remove the delays from your pulling process and check for producton time, since when you get to the Pull From List anything on the list is valid to be pulled.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:49:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/the-model-stops-itself-before-its-stop-time/m-p/13576089#M75250</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-04-04T12:49:50Z</dc:date>
    </item>
  </channel>
</rss>

