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

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

sara_s2
Not applicable
2 Views
2 Replies
Message 1 of 3

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

sara_s2
Not applicable

[ FlexSim 19.0.0 ]

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

0 Likes
Accepted solutions (1)
3 Views
2 Replies
Replies (2)
Message 2 of 3

zac_higleyQBKLZ
Autodesk
Autodesk
Accepted solution

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.

0 Likes
Message 3 of 3

sara_s2
Not applicable

Thank you @zachary.h

0 Likes