<?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: Adjust maximum speed in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521158#M32016</link>
    <description>&lt;P&gt;&lt;A id="18282" href="https://answers.flexsim.com/storage/attachments/18282-szenario1-pick-up.fsm"&gt;szenario1-pick-up.fsm&lt;/A&gt;Thank you very much &lt;A rel="nofollow" href="https://answers.flexsim.com/questions/64593/adjust-maximum-speed.html#"&gt;@Jeff Nordgren&lt;/A&gt;. I have managed to change the speed with your hint. I think my code is not perfect and there are ways to make it easier and nicer but for now, it works fine. &lt;/P&gt;
&lt;P&gt;Is it possible to change the "Model.finde("TransporterName") - Part with a connected token, so that the change of a speed will happen with any TaskExecuter which has to fulfill the task next? &lt;BR /&gt;&lt;BR /&gt;Here is a example szenario, I adjusted the speed for the loading part. The next step is to adjust the speed as well for the dropOff. As well I have planed having more Destinations and more TaskExecuters travelling around. &lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 12:06:14 GMT</pubDate>
    <dc:creator>leonie_e</dc:creator>
    <dc:date>2019-04-04T12:06:14Z</dc:date>
    <item>
      <title>Adjust maximum speed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521156#M32014</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello, &lt;BR /&gt;I am new to FlexSim and my question is about adjust the maximus speed of an TaskExecuter (eg. AGV).&lt;BR /&gt;Like other users before I have the problem of having diffrent "speed areas" in my system for the used agvs. The answer for most of these question is that you can adjust the maximum speed, so that the next task will be executed with this new speed.&lt;/P&gt;
&lt;P&gt;I am wondering how to do that. If I create Custom Tasks in the ProcessFlow with new end speed. It won't change the speed in the next task. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 06:02:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521156#M32014</guid>
      <dc:creator>leonie_e</dc:creator>
      <dc:date>2019-04-04T06:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust maximum speed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521157#M32015</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/13869/leoniee.html" nodeid="13869"&gt;@Leonie E&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you could attach your model or a sample model of the problem area we would be better able to answer your question specifically to your model.  But to answer your question, you would have to put the following code into the right place within your model.&lt;/P&gt;&lt;P&gt;setvarnum(Model.find("TransporterName"), "maxspeed",NewSpeed);&lt;/P&gt;&lt;P&gt;You would replace "TransporterName" with the name of the Transporter and replace NewSpeed with the value of the new maximum speed.&lt;/P&gt;&lt;P&gt;If you don't know where to put the code, we would need to see your model to help your further.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 10:36:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521157#M32015</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2019-04-04T10:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust maximum speed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521158#M32016</link>
      <description>&lt;P&gt;&lt;A id="18282" href="https://answers.flexsim.com/storage/attachments/18282-szenario1-pick-up.fsm"&gt;szenario1-pick-up.fsm&lt;/A&gt;Thank you very much &lt;A rel="nofollow" href="https://answers.flexsim.com/questions/64593/adjust-maximum-speed.html#"&gt;@Jeff Nordgren&lt;/A&gt;. I have managed to change the speed with your hint. I think my code is not perfect and there are ways to make it easier and nicer but for now, it works fine. &lt;/P&gt;
&lt;P&gt;Is it possible to change the "Model.finde("TransporterName") - Part with a connected token, so that the change of a speed will happen with any TaskExecuter which has to fulfill the task next? &lt;BR /&gt;&lt;BR /&gt;Here is a example szenario, I adjusted the speed for the loading part. The next step is to adjust the speed as well for the dropOff. As well I have planed having more Destinations and more TaskExecuters travelling around. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 12:06:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521158#M32016</guid>
      <dc:creator>leonie_e</dc:creator>
      <dc:date>2019-04-04T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust maximum speed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521159#M32017</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/13869/leoniee.html" nodeid="13869"&gt;@Leonie E&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;the token already carries the reference to the TaskExecuter it chose from the group in your acquire activity: You set the label "Operator" to keep it. To refer to the selected TaskExecuter you just have to look at that token's label:&lt;/P&gt;&lt;P&gt;setvarnum(token.Operator, "maxspeed",0.05);&lt;/P&gt;&lt;P&gt;Is that, what you asked for?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 19:15:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521159#M32017</guid>
      <dc:creator>ralf_gruber</dc:creator>
      <dc:date>2019-04-04T19:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust maximum speed</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521160#M32018</link>
      <description>&lt;P&gt;Yes, I figured out as well. It Woks fine. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 04:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/adjust-maximum-speed/m-p/13521160#M32018</guid>
      <dc:creator>leonie_e</dc:creator>
      <dc:date>2019-04-05T04:55:49Z</dc:date>
    </item>
  </channel>
</rss>

