<?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 How to evenly distribute the people flow  to multiple waiting lines? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491018#M8502</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Problem here I'am facing is, I have multiple waiting lines from a single source but the person flow was not "even" in all the waiting lines i.e even though some waiting lines are empty people were flowing to filled waiting line rather than empty waiting line i have used random connector and round robin too but the flow was not EVEN, please sort out this problem , any suggestion would be grateful. thanks in advance .please find the model in the attachment below. &lt;/P&gt;
&lt;P&gt;&lt;A id="22747" href="https://answers.flexsim.com/storage/attachments/22747-people-flow-in-the-waiting-line.fsm"&gt;people-flow-in-the-waiting-line.fsm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2019 04:17:50 GMT</pubDate>
    <dc:creator>akhil_raja_rao_k</dc:creator>
    <dc:date>2019-10-10T04:17:50Z</dc:date>
    <item>
      <title>How to evenly distribute the people flow  to multiple waiting lines?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491018#M8502</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Problem here I'am facing is, I have multiple waiting lines from a single source but the person flow was not "even" in all the waiting lines i.e even though some waiting lines are empty people were flowing to filled waiting line rather than empty waiting line i have used random connector and round robin too but the flow was not EVEN, please sort out this problem , any suggestion would be grateful. thanks in advance .please find the model in the attachment below. &lt;/P&gt;
&lt;P&gt;&lt;A id="22747" href="https://answers.flexsim.com/storage/attachments/22747-people-flow-in-the-waiting-line.fsm"&gt;people-flow-in-the-waiting-line.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 04:17:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491018#M8502</guid>
      <dc:creator>akhil_raja_rao_k</dc:creator>
      <dc:date>2019-10-10T04:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to evenly distribute the people flow  to multiple waiting lines?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491019#M8503</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/17523/akhil-raja-raok.html" nodeid="17523"&gt;@Akhil raja rao K&lt;/A&gt;, my polite reply is. I beg you for attaching your model or better a simplified model. Many thanks. Regards Jörg.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 04:48:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491019#M8503</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2019-10-10T04:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to evenly distribute the people flow  to multiple waiting lines?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491020#M8504</link>
      <description>&lt;P&gt;Take a look at the attached model. &lt;A id="22776" href="https://answers.flexsim.com/storage/attachments/22776-shortestline.fsm"&gt;shortestline.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I wrote a code snippet to send people from the first line to the shortest line in the second row:&lt;/P&gt;&lt;PRE&gt;Array lines = [Model.find("WaitingLine1"), Model.find("WaitingLine4"), Model.find("WaitingLine5"), Model.find("WaitingLine6")];

int minContent = INT_MAX;
Object minLine;

for(int i = 1; i &amp;lt;= lines.length; i++) {
	Object line = lines&lt;I&gt;;
	int lineContent = line.subnodes.length;
	if(lineContent &amp;lt; minContent) {
		minLine = line;
		minContent = lineContent;
	}
}
return minLine;
&lt;/I&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Oct 2019 20:37:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491020#M8504</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-10-10T20:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to evenly distribute the people flow  to multiple waiting lines?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491021#M8505</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/87/matthew.g.html" nodeid="87"&gt;@Matthew Gillespie&lt;/A&gt; you simplified everything by using just waiting line &amp;amp; code with out using walk, decision and all, Tq for ur answer sir. &lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 05:54:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491021#M8505</guid>
      <dc:creator>akhil_raja_rao_k</dc:creator>
      <dc:date>2019-10-11T05:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to evenly distribute the people flow  to multiple waiting lines?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491022#M8506</link>
      <description>&lt;P&gt;&lt;A rel="nofollow" href="https://answers.flexsim.com/questions/73600/how-to-evenly-distribute-the-people-flow-to-multip.html#"&gt;@Matthew Gillespie&lt;/A&gt; sir. I've applied it for task executer process flow by adding another waiting line in the code i.e totally 5 waiting lines but the people distribution was not even, will you correct me where I did mistake, I'm attaching the model , Please find the attachment.&lt;/P&gt;
&lt;P&gt;&lt;A id="22785" href="https://answers.flexsim.com/storage/temp/22785-flexsim-community.fsm"&gt;flexsim-community.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 09:33:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491022#M8506</guid>
      <dc:creator>akhil_raja_rao_k</dc:creator>
      <dc:date>2019-10-11T09:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to evenly distribute the people flow  to multiple waiting lines?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491023#M8507</link>
      <description>&lt;P&gt;If you're using an instanced flow you use the keyword current to refer to the instance object (the person in this case).&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/22804-fixed.fsm"&gt;fixed.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:37:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-evenly-distribute-the-people-flow-to-multiple-waiting/m-p/13491023#M8507</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-10-11T16:37:59Z</dc:date>
    </item>
  </channel>
</rss>

