I'm a beginner in FlexSim. I got confused when setting Processor properties.
I would like to know that what's the difference between "Values by case" and "by Expression" ?
When will each of them be used ?
I'm a beginner in FlexSim. I got confused when setting Processor properties.
I would like to know that what's the difference between "Values by case" and "by Expression" ?
When will each of them be used ?
Hi @Tzu Hsuan C, they are similar in some cases and can be interchangeable at times. 'by Expression' is more limited in that whatever your expression is has to match up with the number of ports you have. For example, if you had a label called type on the items that ranged from 1-3, you could use the expression 'item.type' to send the item to 3 output ports and they would follow the number on type (type 1 would go to output port 1, 2 to port 2, etc.).
'Values by case' takes a little more time to set up, but is more flexible. Let's say you had a label with sku numbers that you wanted to send to certain ports. 'Values by case' allows you to choose which sku number goes to which port regardless of whether or not the numbers match up. So a sku of 18653 could be sent to any port of your choosing whereas 'by Expression' would want to send that item to port 18653 (which would be bad).
Hi @Eric M. Thank your for your answer!
I think I could understand your explanation.
You mentioned above that in some cases and can be interchangeable at times. So users usually decide which one to use by themselves? The only difference is that 'Values by case' is more flexible?
I ask this question because I'm not really sure if there exist specific situation that can only use 'by Expression' or 'Values by case' ?
Thanks again!
Yes, there are often multiple ways of accomplishing the same thing. I've attached a model to demonstrate. Notice the small difference between the two models on the right side, the 'by expression' one has the actual port connections switched from Queue13 whereas the 'values by case' doesn't have the port connections switched but accomplishes the same thing.
The second example I gave with the sku # would be something that wouldn't work with 'by Expression' but could easily be done with 'Values by case.' As you use them more and experiment with them you'll start to see how they work.
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved