question

sara S2 avatar image
0 Likes"
sara S2 asked sara S2 commented

custom code in "Query/ Object / Array" of "Pull from List0" activity.

Hello,

I am trying to model a replenishment process in the attached model. I want that empty CUtotes on the "rack15" be selected according to the smallest "SC" value of their corresponding items (the value in the 4th column of table “CWDB”), and if two items have the same "SC" value then the critical item (critical items are the items of type 2 and 5) is prioritized. I tried several custom codes in "Query/ Object / Array" of "Pull from List0" activity, but with no result.

Would anyone help me to write the correct code for this, please.

Regards.

trying1.fsm

FlexSim 19.0.0
process flow
trying1.fsm (83.3 KiB)
5 |100000

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

1 Answer

·
zacharyh avatar image
0 Likes"
zacharyh answered sara S2 commented

It looks like this question may be part of a homework assignment or academic project. The professors who assign simulation modeling exercises using FlexSim expect that the academic integrity of their assignments will be maintained. In addition, we are supportive of Honor Codes (or Honor Pledges) that regulate the behavior surrounding academic assignments. We can provide help when it comes to simple questions, but cannot supply customized code.


I recommend checking out our best practices page on the subject (https://answers.flexsim.com/articles/78339/flexsims-policy-on-academic-integrity-best-practic.html), which includes some resources that you should find helpful as you use FlexSim for academic purposes. I also highly recommend Dr. Allen Greenwood’s FlexSim Primer (https://flexs.im/primer), which was written specifically for students and professors.

· 1
5 |100000

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

sara S2 avatar image sara S2 commented ·

Thank you @zachary.h

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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