<?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: setup time in processor when item type changes in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557753#M60970</link>
    <description>&lt;P&gt;I can't open your model, perhaps your Flexsim version is higher than mine. Could you please send me some screenshots of your model? &lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2019 20:46:16 GMT</pubDate>
    <dc:creator>sara_w2</dc:creator>
    <dc:date>2019-07-12T20:46:16Z</dc:date>
    <item>
      <title>setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557744#M60961</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;I have several items and a processor in my model.&lt;/P&gt;
&lt;P&gt;The operation that I want to do is that the item comes into the processor and it will be setup during a time which depends of its Type. And I am using the option "setup If Item Type Changes (values are set)". It works perfectly for the second or third and go on items but not for the first item that come into the processor, when the first item arrives, it has not setup time and I dont know how can I fix it.&lt;/P&gt;
&lt;P&gt;Is there any suggestion?&lt;/P&gt;
&lt;P&gt;Thank for your attention.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:18:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557744#M60961</guid>
      <dc:creator>sara_w2</dc:creator>
      <dc:date>2019-07-11T17:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557745#M60962</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://answers.flexsim.com/users/15296/saraw2.html" nodeid="15296"&gt;@Sara W2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here's an example model that might work for you: &lt;A id="20620" href="https://answers.flexsim.com/storage/attachments/20620-processorsetuptime.fsm"&gt;processorsetuptime.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I set the Setup Time in the processor to "Values By Case" and had the Setup Time depend on the type of the item:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20621-capture.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499636i706A7637D45DE13C/image-size/large?v=v2&amp;amp;px=999" role="button" title="20621-capture.png" alt="20621-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:27:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557745#M60962</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-07-11T17:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557746#M60963</link>
      <description>&lt;P&gt;Hi Joseph,&lt;/P&gt;
&lt;P&gt;This option is not suitable to my case, I am seeing that this makes my system does setup to each item. I am sorry If I had not explained well my issue, I have a lot of items of several types, and my setup time should take place only once for each type when items come into the processor, it is not necessary make a setup for each item, only to the first item. Therefore, there is not setup time for the rest of items of the same type that follow.&lt;/P&gt;
&lt;P&gt;And, thank you for your attention.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 17:25:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557746#M60963</guid>
      <dc:creator>sara_w2</dc:creator>
      <dc:date>2019-07-12T17:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557747#M60964</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/15296/saraw2.html" nodeid="15296"&gt;@Sara W2&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If I understand correctly, you would like the processor to only have a setup time for the first of each item type? Would you like the setup time to still be different based on type?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 17:32:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557747#M60964</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-07-12T17:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557748#M60965</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/15296/saraw2.html" nodeid="15296"&gt;@Sara W2&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Also, you said that "setup If Item Type Changes" worked perfectly for you besides the first item.&lt;/P&gt;&lt;P&gt;Are you saying that you want a setup time every time the type changes or just the first time you encounter a certain item type?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 17:40:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557748#M60965</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-07-12T17:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557749#M60966</link>
      <description>&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;I have the following queue fill of items of different types:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SINK&amp;lt;--PROCCESOR &amp;lt;-- QUEUE(x1 x2 x3 x4 x5&lt;/STRONG&gt; y1 y2 y3 y4 y5 y6 y7 &lt;STRONG&gt;z1 z2 z3 z4&lt;/STRONG&gt; w1 w2 w3 w4...)&lt;/P&gt;
&lt;P&gt;setup time for item type X= 2 min&lt;/P&gt;
&lt;P&gt;setup time for item type Y= 5 min&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;setup timefor item type W = 1 min&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;So, when x1 arrives to the processor, PROCCESOR (setup time = 2 min)&lt;/P&gt;
&lt;P&gt;when x2 arrives, PROCCESOR (setup=0 min)&lt;/P&gt;
&lt;P&gt;and go on.&lt;/P&gt;
&lt;P&gt;but when y1 arrives, PROCCESOR (setup time=5 min)&lt;/P&gt;
&lt;P&gt;when y2 arrives, PROCCESOR (setup=0 min)&lt;/P&gt;
&lt;P&gt;and go on.&lt;/P&gt;
&lt;P&gt;the same process will happens to z and w item types.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 17:51:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557749#M60966</guid>
      <dc:creator>sara_w2</dc:creator>
      <dc:date>2019-07-12T17:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557750#M60967</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/15296/saraw2.html" nodeid="15296"&gt;@Sara W2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Continuing with your example, will there be repeated item types after w4?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;x1 x2 x3 x4 x5&lt;/STRONG&gt; y1 y2 y3 y4 y5 y6 y7 &lt;STRONG&gt;z1 z2 z3 z4&lt;/STRONG&gt; w1 w2 w3 w4 &lt;EM&gt;&lt;STRONG&gt;x6&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt; &amp;lt;- &lt;/STRONG&gt;Would this need set up time too?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 18:07:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557750#M60967</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-07-12T18:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557751#M60968</link>
      <description>&lt;P&gt;Yes, it could be possible. And in that case x6 would need set up time.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 18:15:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557751#M60968</guid>
      <dc:creator>sara_w2</dc:creator>
      <dc:date>2019-07-12T18:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557752#M60969</link>
      <description>&lt;P&gt; &lt;A href="https://answers.flexsim.com/questions/69074/setup-time-in-processor-when-item-type-changes.html?childToView=69166#"&gt;@Sara W2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think this is the kind of model you are looking for: &lt;A href="https://answers.flexsim.com/storage/temp/20651-setupfirstitem.fsm"&gt;setupfirstitem.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It works by using the "If Item Type Changes" setup time with two changes:&lt;/P&gt;&lt;P&gt;1. In the slot where you specify how long the setup time should be when the item type changes, I put this:&lt;/P&gt;&lt;PRE&gt;Table("Setup Times")[item.Type][1]&lt;/PRE&gt;&lt;P&gt;This references a global table I created with setup times for each type of item (I had 5 different types).  If the item type changes, it looks up the setup time in this table.  If the item type is the same, there is no setup time.&lt;/P&gt;&lt;P&gt;2. To fix the problem of the first item having no setup time, I added a few lines of custom code to the setup time of the processor:&lt;/P&gt;&lt;PRE&gt;if(getinput(current) == 1){ //If first item
	return Table("Setup Times")[item.Type][1];
}
&lt;/PRE&gt;&lt;P&gt;If the item is the first item entering the processor, it looks up the item's setup time from the global table.&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 18:37:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557752#M60969</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-07-12T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557753#M60970</link>
      <description>&lt;P&gt;I can't open your model, perhaps your Flexsim version is higher than mine. Could you please send me some screenshots of your model? &lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 20:46:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557753#M60970</guid>
      <dc:creator>sara_w2</dc:creator>
      <dc:date>2019-07-12T20:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557754#M60971</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/15296/saraw2.html" nodeid="15296"&gt;@Sara W2&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Sorry about that!  Here's the same model in 18.1: &lt;A id="20662" href="https://answers.flexsim.com/storage/temp/20662-setupfirstitem.fsm"&gt;setupfirstitem.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 20:57:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557754#M60971</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-07-12T20:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557755#M60972</link>
      <description>&lt;P&gt;Exactly, it is what I am looking for!&lt;/P&gt;
&lt;P&gt;Thank you so much for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 21:10:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557755#M60972</guid>
      <dc:creator>sara_w2</dc:creator>
      <dc:date>2019-07-12T21:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: setup time in processor when item type changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557756#M60973</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/14704/josephg3.html" nodeid="14704"&gt;@Joseph Gillespie&lt;/A&gt;, if I have more than one processors, is it possible to start with the setup time once they have finished processing one type of item or they necessarily need to wait until receiving the new type of item to start their setup time?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;For example, it the setup time is 200 seconds in all the processors when a change of items occurs and the time of processing of the first Processor is 100 seconds, the second Processor stay 300 seconds without doing anything instead of using this time to do their setup and to be ready to start processing the item when the item arrives to it. &lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:02:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setup-time-in-processor-when-item-type-changes/m-p/13557756#M60973</guid>
      <dc:creator>marcos_mna</dc:creator>
      <dc:date>2020-12-16T17:02:23Z</dc:date>
    </item>
  </channel>
</rss>

