Can you send in your model or a small sample model showing the problem area? There are many ways you can usually use to accomplish what you describe. If we had your model and could see what you are trying to accomplish, it would help us give you the best answer for your situation.
I am using objectexists(label(item,"NCM"))==0 in the station's processing condition. I would like to know if there is any other way.
Thank you.
You can skip the flow item at the station according to the label value of 'NCM'.
Source create the label NCM and set the value as 0.
And the station processes the flow item only when NCM == 0.
The station process condition is 'item.NCM == 0'.
If the value of NCM is not zero, the flow item is processed at the station.
I attached the model of it.
Do I understand your meaning right?
If I am understanding your model correctly, you only want it to process at Station3 if the label "NCM" on the flowitem does not exist. Is that correct? If so, an easier way than checking for the existence of a label would be to check to see if it's value is 0. So, in Station1, I added an "else" clause to your 'if" statement to set the label to zero if false. Which is weird in itself because that "if" statement will always be false, the way you have it written. Anyway, in Station3, you can then check to see if the value of the label is zero to process rather than if it exists or not. I hope that makes some sense? Here is the modified model:
8 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