<?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: ABC storage system in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523856#M34159</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/18726/eleni651996.html" nodeid="18726"&gt;@el C&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Have you tried limiting the slot level assignment to be levels 1-3 for "green" Type items, 4-5 for "blue" Type items, and first available for "red" Type items? Then you prioritize the green and blue items so that red is left with whatever is not taken by green and blue.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 19:56:13 GMT</pubDate>
    <dc:creator>tanner_p</dc:creator>
    <dc:date>2020-01-23T19:56:13Z</dc:date>
    <item>
      <title>ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523851#M34154</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;/P&gt;
&lt;P&gt;I have this model which places 3 different types of items to 3 different racks. I want the green ones to go to the first level of all 3 racks. The blue on the other 2 levels of the rack and the red ones to go on the levels that are left. &lt;/P&gt;
&lt;P&gt;&lt;A id="25050" href="https://answers.flexsim.com/storage/attachments/25050-meleth-periptwshs-1a.fsm"&gt;meleth-periptwshs-1a.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2020 18:07:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523851#M34154</guid>
      <dc:creator>eleni651996</dc:creator>
      <dc:date>2020-01-18T18:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523852#M34155</link>
      <description>&lt;P&gt;Against my previous statements here at &lt;A rel="noopener noreferrer" href="http://answers.flexsim.com" target="_blank"&gt;answers.flexsim.com&lt;/A&gt;, Fixed Resource behavior works still in Warehousing.&lt;/P&gt;
&lt;P&gt;The Send To Port function needs to be adjusted to find a slot for the item and return the objects' port number which will hold the item.&lt;/P&gt;
&lt;P&gt;It is necessary to free the slot on Exit for the last leaving item of a slot to make the slot available again.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25061-warehousing-mixed-fixed-resource-behavior.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1501116i961E3169B8A42BE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="25061-warehousing-mixed-fixed-resource-behavior.jpg" alt="25061-warehousing-mixed-fixed-resource-behavior.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;A id="25062" href="https://answers.flexsim.com/storage/attachments/25062-warehousing-mixed-fixed-resource-behavior.fsm"&gt;warehousing-mixed-fixed-resource-behavior.fsm&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25063-warehousing-fixed-resource-painted-slot-labelname.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1501114i9742474516F349FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="25063-warehousing-fixed-resource-painted-slot-labelname.jpg" alt="25063-warehousing-fixed-resource-painted-slot-labelname.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Picture: Same storage system, painted slots color active. The colors of the items are only changed to get a better contrast to painted slots colors. The labelname of painted slots is "class" to show a different name to default "Type".&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Use Transport option is available for Queue1 to fill the rack by a taskexecuter object.&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The model stopps when all items are going to the overflow and there isn't any capacity left in both queues. Maximum capacity is set to 100 on both. &lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;It is a standard 3D approach without Process Flow. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 11:16:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523852#M34155</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-01-20T11:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523853#M34156</link>
      <description>&lt;P&gt;How can I apply this for pallets with boxes on them though? Like the model i attached &lt;/P&gt;
&lt;P&gt;&lt;A id="25122" href="https://answers.flexsim.com/storage/temp/25122-meleth-periptwshs-1a.fsm"&gt;meleth-periptwshs-1a.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 09:25:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523853#M34156</guid>
      <dc:creator>eleni651996</dc:creator>
      <dc:date>2020-01-22T09:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523854#M34157</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/18726/eleni651996.html" nodeid="18726"&gt;@el C&lt;/A&gt;, I think, I answered your question. If you enhance a description of your question, then ask a new question. I have shown how to get items into storage system as you asked. Pallets are in my understanding only items. &lt;BR /&gt;Pallets can store boxes. If you have boxes with same attributes, then you assign the needed label value to pallets to store in the storage system. If you mix boxes with different attributes, it is up to you which label value you assign to the pallet! &lt;BR /&gt;If you want to know how you get boxes on pallets out of the rack, then yask a new question! &lt;BR /&gt;If you need a description from me, what I have done, then I will describe this in a comment.&lt;/P&gt;&lt;P&gt;I may help how a question can be answered, but I am not building models for users. &lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 10:01:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523854#M34157</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-01-22T10:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523855#M34158</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Jörg Vogel&lt;/A&gt; in this model that you created the objects are randomly stored at the rack from what i can see. I need to place them in a specific order meaning: I want the green ones to go to the first level of all 3 racks. The blue on the other 2 levels of the racks and the red ones to go on the levels that are left. As I said in the beginning. I'm not asking you to make this model but maybe give me some help or a hint. thank you &lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:43:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523855#M34158</guid>
      <dc:creator>eleni651996</dc:creator>
      <dc:date>2020-01-23T18:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523856#M34159</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/18726/eleni651996.html" nodeid="18726"&gt;@el C&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Have you tried limiting the slot level assignment to be levels 1-3 for "green" Type items, 4-5 for "blue" Type items, and first available for "red" Type items? Then you prioritize the green and blue items so that red is left with whatever is not taken by green and blue.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 19:56:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523856#M34159</guid>
      <dc:creator>tanner_p</dc:creator>
      <dc:date>2020-01-23T19:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523857#M34160</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/18726/eleni651996.html" nodeid="18726"&gt;@el C&lt;/A&gt; , what you believe to see isn’t that what really happens. You find the relevant function and trigger source code in the upper picture.The logic is based on painted slots. While you paint  slots you assign label values to the slots simultaneously. Then you assign slots by making a match of the label values at the item. The major condition clause is&lt;/P&gt;&lt;PRE&gt;slot.class = $1&lt;/PRE&gt;&lt;P&gt;
Where $1 is a lambda parameter replaced by item.class.  The result is, as you can see in the bottom picture, orange boxes went to red painted slots, violett colored boxes went to green slots, cyan colored boxes went to the blue painted slots. And if you would compare both pictures you see an equal pattern in them. You can paint the slots like you like in racks. For example you paint the first two levels red to get boxes of value 1 into these slots. There is the painted slot tool in Warehouse library. &lt;/P&gt;&lt;P&gt;And I commented I would describe my source code in detail, if you have further questions about it. I didn’t find any questions about my code.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 22:34:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523857#M34160</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-01-23T22:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523858#M34161</link>
      <description>&lt;P&gt;thank you for your help i made my final model &lt;A id="25199" href="https://answers.flexsim.com/storage/temp/25199-abc-storage-with-code-verticaly.fsm"&gt;abc-storage-with-code-verticaly.fsm&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Wondering how were you able to write the "send to port code"&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 16:34:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523858#M34161</guid>
      <dc:creator>eleni651996</dc:creator>
      <dc:date>2020-01-24T16:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523859#M34162</link>
      <description>&lt;P&gt;Hi &lt;A href="#"&gt;@el C&lt;/A&gt;, my comment to the question how I come up with the code. Send To Port function returns a port number where the item has to go. I must end in my logic there. I have found in my years with FlexSim the command ipopno(..) at different source code logics in the past. It is mostly used in templates for tasksequences. &lt;BR /&gt;The other main part of my code depends on finding a slot. Slots are responsible in a storage system to get items into it. &lt;BR /&gt;After I have found a slot in a storage system, I can get all data to this slot by its class properties, but I must know which commands exists in FlexScript. There are two reference manuals - the older &lt;A href="https://docs.flexsim.com/en/19.2/Reference/CodingInFlexSim/CommandReference/CommandGroupsIndex.html"&gt;Command Reference&lt;/A&gt; and newer &lt;A href="https://docs.flexsim.com/en/19.2/Reference/CodingInFlexSim/FlexScriptAPIReference/FlexScriptClassReference.html"&gt;FlexScript Class Reference&lt;/A&gt;. FlexScript Class Reference has got classes for Warehousing. It’s uppermost class is Storage. From this class there are inherited sub classes like Slot. Class property &lt;EM&gt;storageObject&lt;/EM&gt; returns a pointer to an object where the slot is. I can get with data the output port number of the queue to the object, that’s input port number is 1. That is what for the command ipopno(..) stands.&lt;BR /&gt;Writing source code is hard work, it is frustrating. There is so little success and much lesser progress. You see in my code still the primitive debug efforts I have taken. I use command print to understand what happens in my code. Each nuisance of change I print into the output console to understand how code works. If the code works, this means I have tested every change of code several times previously, I run the model a long time. There occur errors in the console. To get around them I have written the OnExit trigger source code for every involved rack object. Assigned slots aren’t disposed, if an item exits a rack. The item might return to its slot later. But if I want to populate the slot again, I must set the slot state to be unassigned. You don’t need the OnExit trigger code, if you let run the model only a short time, because a slot can store items until it is full. Full means all items assigned to this slots fits in by their size. An item assigned to a slot isn’t physically stored. It is just reserving the space to get stored. With progress of time in a model run there will be no space available to store further items into slots. This will let occur errors. &lt;BR /&gt;I hope I answered your question to my source code. Regards Jörg&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 07:28:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523859#M34162</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-01-25T07:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: ABC storage system</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523860#M34163</link>
      <description>&lt;P&gt;Thank you very much for your detailed explanation. Kind Regards &lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 19:26:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/abc-storage-system/m-p/13523860#M34163</guid>
      <dc:creator>eleni651996</dc:creator>
      <dc:date>2020-02-01T19:26:23Z</dc:date>
    </item>
  </channel>
</rss>

