ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 07-04-2008
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default different capacity for different flow item for a same TE

Hi,

since a TE might need to transfer difference flow item, is there a way for a TE to have different capacity for different flow item? Thanks.

Kelvin
  #2  
Old 07-04-2008
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default

kelvin,

Try OnLoad write the capacity to the maxcontent based on the flowitem type.

This should work

David
__________________
Advent2 Labs
David
The Following 3 Users Say Thank You to David Chan For This Useful Post:
qin tian (07-07-2008)
  #3  
Old 07-08-2008
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default

thanks

but another simple question:

how to directly write to a variable by command?
  #4  
Old 07-08-2008
Lars-Olof Leven Lars-Olof Leven is offline
Flexsim Distributor
 
Join Date: Aug 2007
Location: Sweden, Borlnge
Posts: 312
Downloads: 278
Uploads: 2
Thanks: 300
Thanked 256 Times in 139 Posts
Rep Power: 330
Lars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to behold
Default

Take a look at setvarstr, setvarnum to write to a variable and use
getvarst, getvarnum to read a variable value.

Lars-Olof
  #5  
Old 07-08-2008
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default

Seems not work

I just added itemtype and set the OnLoad trigger of the transporter
Attached Files
File Type: zip dynamic maxcontent.zip (43.3 KB, 291 views)
  #6  
Old 07-08-2008
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

Kevin,
You were close. You forgot the breaks on your switch statement. Next time just select the "Set color by value" pick option and replace the colorred(item), colorgreen(item), etc. with setvarnum(current,"maxcontent",1) leaving breaks.

I also set the transporter's Break To Requirement to "Same Itemtype". So far we are assuming that your transporter only carries one itemtype at a time. Let us know if this is not the case.

Kris
Attached Files
File Type: zip dynamic maxcontent.zip (46.4 KB, 307 views)
The Following User Says Thank You to Kris Geisberger For This Useful Post:
KelvinHo (07-08-2008)
  #7  
Old 07-08-2008
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default

o thanks, that's exactly what I want;
  #8  
Old 08-28-2008
Sung Kim Sung Kim is offline
Flexsim User
 
Join Date: Jan 2008
Location: York, PA
Posts: 85
Downloads: 70
Uploads: 0
Thanks: 70
Thanked 9 Times in 6 Posts
Rep Power: 160
Sung Kim is on a distinguished road
Default

Hi, Kris,

I just tried to learn your trick by copying and building the model. However, it doesn't work for me. Most of time, it follows the rule, but from time to time, it loads different types together ignoring the capacity. The first exception happens around 700 sec in my model.
I don't know what I missed in my model. Can you help me to find what I did wrong?

Thanks.
Attached Files
File Type: zip putawaycapacity.zip (53.5 KB, 269 views)
  #9  
Old 08-28-2008
Sung Kim Sung Kim is offline
Flexsim User
 
Join Date: Jan 2008
Location: York, PA
Posts: 85
Downloads: 70
Uploads: 0
Thanks: 70
Thanked 9 Times in 6 Posts
Rep Power: 160
Sung Kim is on a distinguished road
Smile

Hi, Kris,

I think I found the problem. The reason was because I used label to check the flow item type instead of using "itemtype". Acordingly, the break to requirement condition has to compare the label.

Here is the modification I made.

if(
//getitemtype(involved) == getitemtype(first(current)) // Check to see if the itemtypes match
getlabelnum(involved, "SKUType") == getlabelnum(first(current), "SKUType")
&&
gettotalnroftasks(curts) == getnroftasks(curts) // Make sure it is a complete sequence
)


Thank you for the tip!!
Sung

  #10  
Old 08-28-2008
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default Dynamic capacity based on item label

Hi Sung,

I noticed in the OnLoad you replaced getitemtype(item) with getlabelnum(item,"SKUType"), so I'm assuming that you want the capacity to be changed based on this label. You did this correctly.

In the previous example we set the transporter's Break To Requirement to "Same Itemtype" such that it would only carry like itemtypes. In your case you will want to again replace the getitemtype with getlabelnum such that it only loads like "SKUTypes". See attached.

Kris
Attached Files
File Type: zip putawaycapacity_KG.zip (58.6 KB, 288 views)
The Following 2 Users Say Thank You to Kris Geisberger For This Useful Post:
Sung Kim (08-28-2008)
  #11  
Old 08-28-2008
Sung Kim Sung Kim is offline
Flexsim User
 
Join Date: Jan 2008
Location: York, PA
Posts: 85
Downloads: 70
Uploads: 0
Thanks: 70
Thanked 9 Times in 6 Posts
Rep Power: 160
Sung Kim is on a distinguished road
Default

Yup!!

You are right. I didn't catch that point.
Thank you very much again for the model, and the quick response!!!

Sung


Thread Thread Starter Forum Replies Last Post
Flow item in object in time 0 KelvinHo Q&A 17 04-17-2012 09:12 AM
Task Sequence Delay for Multiple Capacity Sung Kim Q&A 6 06-16-2008 03:11 PM
Changing the height that a Transporter drops off an item to a Processor KelvinHo Q&A 1 04-10-2008 09:29 AM
change 3D shape of a packed flow item KelvinHo Q&A 2 02-27-2008 09:41 PM
Flow items with states AlanZhang Q&A 16 11-30-2007 10:32 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.