<?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: Help Needed with Dynamic Excel Updates for Source Arrival Schedule in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594014#M89242</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You get Items by code or process flow activity.&lt;/P&gt;&lt;P&gt;process flow: &lt;A href="https://docs.flexsim.com/en/24.1/Reference/ProcessFlowObjects/Objects/CreateObject/CreateObject.html"&gt;create object&lt;/A&gt;&lt;/P&gt;&lt;P&gt;command: &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Tree/treenode.html#Method-copy" target="_blank"&gt;treenode.copy&lt;/A&gt; method already existing item from Flowitem bin. &lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 18 Jun 2024 06:29:03 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2024-06-18T06:29:03Z</dc:date>
    <item>
      <title>Help Needed with Dynamic Excel Updates for Source Arrival Schedule</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594011#M89239</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi All!&lt;/P&gt;
 &lt;P id="isPasted"&gt;&lt;STRONG&gt;Sorry for the long text, I think this should be fairly easy for the experienced.&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P&gt;I'm trying to build a simple digital twin experiment. My goal is to add new items to a queue every time I add a new row to an Excel sheet. Since this is a digital twin experiment, the row will be added while the simulation is running.&lt;/P&gt;
 &lt;P&gt;Here's what I have so far:&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;I managed to connect an Excel sheet to the "arrival schedule" table of a source, and that part is working fine.&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1718472270958.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524270iF332362FC277A5DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1718472270958.png" alt="1718472270958.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1718472285878.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524271i97FD4BC126A84D2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1718472285878.png" alt="1718472285878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;2, However, when I update the Excel sheet with more rows (considering I'm adding future arrival times that the model hasn't reached yet), the "arrival schedule" table is updated, but the model doesn't reflect these changes unless I reset it. This defeats the purpose of having "live" updates.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1718472431523.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524272i2B7A0FD33947CFC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1718472431523.png" alt="1718472431523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;STRONG&gt;My questions:&lt;/STRONG&gt;&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How can I force the source to "recheck" the Excel table for updates without resetting the simulation?&lt;/STRONG&gt; The table updates, but the Source isn't creating new items after the simulation starts running.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How can I convert dates from Excel to FlexSim time format?&lt;/STRONG&gt; Ideally, I would like to use arrival times in &lt;CODE&gt;mm/dd/yyyy hh:mm&lt;/CODE&gt; format instead of seconds. Any tips on handling this conversion would be greatly appreciated. I saw &lt;A rel="nofollow" href="https://answers.flexsim.com/questions/50926/how-do-i-get-schedule-source-use-converted-date.html"&gt;this &lt;/A&gt;post, but couldn't really figure out where to put that line of code.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;How can I use scheduled arrivals in a process flow?&lt;/STRONG&gt; I attempted a global table lookup based on the Excel sheet, but it didn't work. If someone could explain how to fill out the table for scheduled arrivals in process flow, that would be very helpful.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1718472557028.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524273iCEE094C5F1E7E5E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1718472557028.png" alt="1718472557028.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Thanks in advance for any guidance or solutions you can provide!&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/83700-schedule-source.xlsx" target="_blank"&gt;schedule-source.xlsx&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/83701-process-flow-scheduled-source1.fsm" target="_blank"&gt;process-flow-scheduled-source1.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 Jun 2024 17:30:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594011#M89239</guid>
      <dc:creator>Stefano12</dc:creator>
      <dc:date>2024-06-15T17:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed with Dynamic Excel Updates for Source Arrival Schedule</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594012#M89240</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A id="isPasted" href="https://docs.flexsim.com/en/24.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/DateTime.html#Method-fromExcelTime&amp;lt;/a&amp;gt;"&gt;&lt;/A&gt;&lt;A href="https://docs.flexsim.com/en/24.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/DateTime.html#Method-fromExcelTime"&gt;https://docs.flexsim.com/en/24.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Data/DateTime.html#Method-fromExcelTime&lt;/A&gt;&lt;/P&gt;&lt;P&gt;please consider to use a different arrival mode for a source. If you use instead an interarrival time you can read a next time arrival difference from an excel file while a model runs. Please be aware of that you must already know the next time interval when previous item is created. If you cannot realize this condition then you can only create an item by code directly in your model without a source.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jun 2024 07:23:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594012#M89240</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2024-06-17T07:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed with Dynamic Excel Updates for Source Arrival Schedule</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594013#M89241</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks for the reply! Sorry, what do you mean by creating an item by code directly? Is it using the Flexsim command console?
&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jun 2024 00:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594013#M89241</guid>
      <dc:creator>Stefano12</dc:creator>
      <dc:date>2024-06-18T00:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed with Dynamic Excel Updates for Source Arrival Schedule</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594014#M89242</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You get Items by code or process flow activity.&lt;/P&gt;&lt;P&gt;process flow: &lt;A href="https://docs.flexsim.com/en/24.1/Reference/ProcessFlowObjects/Objects/CreateObject/CreateObject.html"&gt;create object&lt;/A&gt;&lt;/P&gt;&lt;P&gt;command: &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/24.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Tree/treenode.html#Method-copy" target="_blank"&gt;treenode.copy&lt;/A&gt; method already existing item from Flowitem bin. &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jun 2024 06:29:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594014#M89242</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2024-06-18T06:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed with Dynamic Excel Updates for Source Arrival Schedule</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594015#M89243</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/44041/stefano.html" nodeid="44041"&gt;@Stefano&lt;/A&gt;, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jun 2024 13:52:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-needed-with-dynamic-excel-updates-for-source-arrival/m-p/13594015#M89243</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-06-21T13:52:30Z</dc:date>
    </item>
  </channel>
</rss>

