<?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: Dynamic Virtual Distance in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524791#M34910</link>
    <description>&lt;P&gt;FlexSim HC uses meters for length and minutes for time. So the speed is 80 meters per minute which is about 1.333 meters per second.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2019 16:53:46 GMT</pubDate>
    <dc:creator>Matthew_Gillespie</dc:creator>
    <dc:date>2019-04-17T16:53:46Z</dc:date>
    <item>
      <title>Dynamic Virtual Distance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524787#M34906</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim HC 5.3.10 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've looked at some other answers regarding this but I still can't seem to figure it out. I'm building a general transportation model and want the distances between 2 nodes to change upon arrival. This prevents building a network of nodes with varying distances to the same point. The distances would be changed through a distribution (uniform, normal,etc.). from Node 1 to Node 2. To make things complicated, is there a way to set a different virtual distance between those nodes per staff upon arrival: Transporter 1 w/ patient arrives at Node 1, distance is changed to "X" to Node 2. While Transport 1 is on the path, Transporter 2 w/ patient arrives at Node 1, distance for Transporter 2 is changed to "Y" to Node 2. Would Transporter 1 still adhere to distance "X", while Transporter 2 would remain with distance "Y"? Is there a better way to do this? I thought about dynamically changing the transporter's speed along the path from Node 1 to Node 2, but it seems like I can't put in a distribution: &lt;/P&gt;
&lt;P&gt;Activity Started Trigger:&lt;/P&gt;
&lt;P&gt;setvarnum(getrequiredresource(patient,60,STAFF,1), "maxspeed", uniform(10,500,0));&lt;/P&gt;
&lt;P&gt;This code doesn't seem to change anything.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 18:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524787#M34906</guid>
      <dc:creator>dmdurbinMDA</dc:creator>
      <dc:date>2019-04-12T18:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Virtual Distance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524788#M34907</link>
      <description>&lt;P&gt;Changing the virtual distance during the model run isn't supported behavior.&lt;/P&gt;&lt;P&gt;You should be able to change the staff's speed. Using a distribution works fine.Take a look at this sample model. I'm using the OnArrival trigger of NN2 to set the speed of the traveler to a value from a distribution.&lt;/P&gt;&lt;P&gt;&lt;A id="18507" href="https://answers.flexsim.com/storage/attachments/18507-changespeeds.fsm"&gt;changespeeds.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Two things to keep in mind about doing this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You'll need to reset the maxspeed of anyone you change in an OnReset trigger. Otherwise the staff will have the maxspeed value of the last time the code changed it. This will introduce extra randomness in the model and it will no longer be repeatable.&lt;/LI&gt;&lt;LI&gt;The distance traveled statistics won't reflect the longer distances since you're changing speeds not the distance.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 12 Apr 2019 20:05:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524788#M34907</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-04-12T20:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Virtual Distance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524789#M34908</link>
      <description>&lt;P&gt;Thank you! This works as intended.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 14:08:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524789#M34908</guid>
      <dc:creator>dmdurbinMDA</dc:creator>
      <dc:date>2019-04-15T14:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Virtual Distance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524790#M34909</link>
      <description>&lt;P&gt;What is the speed in units? The default staff speed is set to "80" but what does that mean in the real-world? Since I'm changing the speed to reflect a certain distance I'm trying to determine the length of travel based on speed.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 16:07:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524790#M34909</guid>
      <dc:creator>dmdurbinMDA</dc:creator>
      <dc:date>2019-04-17T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Virtual Distance</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524791#M34910</link>
      <description>&lt;P&gt;FlexSim HC uses meters for length and minutes for time. So the speed is 80 meters per minute which is about 1.333 meters per second.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 16:53:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dynamic-virtual-distance/m-p/13524791#M34910</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-04-17T16:53:46Z</dc:date>
    </item>
  </channel>
</rss>

