<?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: How to set up bus stop queuing and integrate it into the transportation network? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576956#M75960</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I understand now, thanks Kavika&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 13 Oct 2023 08:05:12 GMT</pubDate>
    <dc:creator>fauzysyp</dc:creator>
    <dc:date>2023-10-13T08:05:12Z</dc:date>
    <item>
      <title>How to set up bus stop queuing and integrate it into the transportation network?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576951#M75955</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 id="isPasted"&gt;So, I want to add a queuing system for each bus stop that the bus passes through, where the bus will stop first and pick up passengers from each queue at the stop. The bus's stopping time at each stop will be influenced by the number of passengers boarding or the duration of passenger boarding.&lt;/P&gt;
 &lt;P&gt;I have already created the simulation model, but I am still confused about integrating this queuing system into the model. Can anyone help? Thank you.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/73638-buswaysystem.fsm" target="_blank"&gt;BuswaySystem.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Sep 2023 09:13:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576951#M75955</guid>
      <dc:creator>fauzysyp</dc:creator>
      <dc:date>2023-09-14T09:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up bus stop queuing and integrate it into the transportation network?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576952#M75956</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/43205/fauzysyp.html" nodeid="43205"&gt;@Fauzy Syaputra&lt;/A&gt;, here's a thought you could try.&lt;/P&gt;&lt;P&gt;You could add a queue next to each Network Node that acts as a "stop" (or "henti" as they're labeled in your model I think). You have a token circulating in your Process Flow that represents the bus. It has a label "token.bus" and a label "token.henti". Place a queue next to each bus stop and add a label, something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519453i71143654F2BEC42C/image-size/large?v=v2&amp;amp;px=999" title="1694805122900.png" alt="1694805122900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this label on the Network Node:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519454iDBE01B83562B0425/image-size/large?v=v2&amp;amp;px=999" title="1694805126360.png" alt="1694805126360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can fill up the queue with a source or some other method. Then, in the Process Flow, you can use your token to get the number of people in the queue doing something like this:&lt;/P&gt;&lt;PRE&gt;int queueLength = token.henti.queue.subnodes.length; // save the value to an int if you're using this in code&lt;/PRE&gt;&lt;P&gt;Then you can use that queueLength in the bus wait time:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1519455i7E56D004AC704ABC/image-size/large?v=v2&amp;amp;px=999" title="1694805265176.png" alt="1694805265176.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;&lt;PRE&gt;2 * token.henti.queue.subnodes.length&lt;/PRE&gt;&lt;P&gt;as an example to say that it takes 2 seconds per person to board, so if there's 5 people to board the bus, it will take 2*5 = 10 seconds for the bus to stop and wait.&lt;/P&gt;&lt;P&gt;Finally, you'll need to empty the queue of people, so maybe you add a subflow to empty the queue while the bus waits.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:16:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576952#M75956</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-09-15T19:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up bus stop queuing and integrate it into the transportation network?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576953#M75957</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;can you please explain it in more in depth? i still don't understand it. where do I put &lt;SPAN id="isPasted" style="color: rgb(86, 156, 214); font-family: Menlo, Monaco, Consolas, "&gt;int&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt; queueLength &lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt; token&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;henti&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;queue&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;subnodes&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: var(--white-high-emph); font-family: Menlo, Monaco, Consolas, "&gt;;&lt;/SPAN&gt; in processflow&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Sep 2023 13:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576953#M75957</guid>
      <dc:creator>fauzysyp</dc:creator>
      <dc:date>2023-09-16T13:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up bus stop queuing and integrate it into the transportation network?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576954#M75958</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Here's an example model that explains the concept.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/73816-example-bus-system.fsm" target="_blank"&gt;example-bus-system.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Sep 2023 16:09:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576954#M75958</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-09-18T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up bus stop queuing and integrate it into the transportation network?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576955#M75959</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43205/fauzysyp.html" nodeid="43205"&gt;@Fauzy Syaputra&lt;/A&gt;, was Kavika F'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, 22 Sep 2023 14:34:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576955#M75959</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-09-22T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set up bus stop queuing and integrate it into the transportation network?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576956#M75960</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I understand now, thanks Kavika&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Oct 2023 08:05:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-set-up-bus-stop-queuing-and-integrate-it-into-the/m-p/13576956#M75960</guid>
      <dc:creator>fauzysyp</dc:creator>
      <dc:date>2023-10-13T08:05:12Z</dc:date>
    </item>
  </channel>
</rss>

