question

JUN-WEI P avatar image
0 Likes"
JUN-WEI P asked Ben Wilson commented

I want to set per cell content = 1 in rack by expression

Dear all,

I want to set the maximum content value =1 in everycell of rack. I think I should do it in logic setting from "Place in bay" & "Place in level", but in my model I have already using "By Expression" to do some thing.Can anyone tell me how to solve my problem?Thank you for your help.

Following file is my model.If you can demonstrate for me, it must be great!

20200619_harmony algorithm assignment.fsm

FlexSim 19.0.9
rackflexsim 19.0.9cellcap
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

Is it possible for you to update to a newer Version like 19.2 or even 20.0? The Warehousing feature makes this all a bit easier! Regards Jörg

0 Likes 0 ·
JUN-WEI P avatar image JUN-WEI P Joerg Vogel commented ·

@Jörg Vogel Unfortunately I can't.Because I just have the student license with version 19.0.9, so I just can try to build the model from this version.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @jun_wei.p, was jun_wei.p's or joerg.vogel's answer helpful? If so, please click the red "Accept" button on one of their answers. Or if you still have questions, add a comment and we'll continue the conversation.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You will do this on your own now, because you have build an own logic to place items inside of racks. If you are going to tell us more about, where and how you assign the rack cell address of an item (item.Bay, item.Level) entering the racks, we might assist to evaluate the current content of a rack cell or present a theoretical procedure to keep track of a condition like max content of a cell = 1.

It is really hard to understand a logic of a model without any documentation. If you help here it is getting easier. And while you are doing this, you can also help by scrapping your working model until it contains only the minimum objects needed to present your current problem. Many Thanks to consider my comment! Regards Jörg

· 9
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

JUN-WEI P avatar image JUN-WEI P commented ·

@Jörg Vogel thank you for your reply.I assign the rack cell address from the queue named "rack assignment" which placed between the rack1 and rack2, rack3 and rack4, rack5 and rack6, rack7 and rack8 by global table named "cellsTbl" and "base". The item's places are referenced from them.when the Item in the "cellsTbl" will add 0.1 to the value and if the item out it will reduce 0.1, back to the original value.It's very succesful in almost cells, but in some cells which content more than one.I don't know where is the problem.

Hope you can help me to solve the problem. Thanks

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel JUN-WEI P commented ·

You have build your logic upon my model in a comment of your first question here on this answers site. I don't find the code which responsible to decrement the value indicating a cell is populated. I designed a closed system, which depends on incrementing and decrementing the type value of a table showing the cell front face of a rack. There is a clause in the query filtering matching types of item and cell type. If you increment later the table cell value by 0.1 the comparison won't return a true result anymore. And the result is, a rack cell can store only one item. If I look into your running model I find values which aren't #.0 nor #.1. There is going something really wrong in the closed system, I have suggested.

If you connect an object of the example model of my comment ie a queue and you activate the Use Transport option in the rack, you'll see that the ASRS vehicle transports the items out of the rack.

Because of the limited space in the rack, the responsible queue sends items, which are not storable, to another queue as a bypass. Your model hasn't got this bypass but it has still got the return code to the second output port.

0 Likes 0 ·
JUN-WEI P avatar image JUN-WEI P Joerg Vogel commented ·

@Jörg Vogel Thank you for your reply.I have already know my problem.I will try to figure out it.

0 Likes 0 ·
Show more comments