I need to put a distribution ESTADISTCA to to each data in the table (for example the product type "A" passing by the machine "MAQ 1" has a distribution normal(0.16, 0.01, 0) Thank you.
I need to put a distribution ESTADISTCA to to each data in the table (for example the product type "A" passing by the machine "MAQ 1" has a distribution normal(0.16, 0.01, 0) Thank you.
Hi @yesid anacona ,
You can convert the global table data as string and write distribution inside the table cell.
Then you execute the string from the global table using executestring() command for the process time.
Pls see the attached model. I have created two item types in the model corresponding to A & B part types in your problem. A global variable is used to select the row from the global table based on the part. On exit trigger of the Queue has the logic for selecting the row. Finally under the process time code edit field you can see the command for accessing table string.
Table Data = reftable("GlobalTable1"); return executestring(Data[RowNumber][1]);
Regards,
Arun KR string-in-global-table.fsm
@Arun KR Hi Arun! Would you mind sharing how to repeat this code in version 18? I believe the second line of this code produces an error in the updated version.
Table Data = reftable("GlobalTable1"); return executestring(Data[RowNumber][1]);
Hi Arun, your answer was really helpful. It is posible to do the same but with an empirical distribution?
Would you mind reposting this comment as a new question? That's helpful in terms of organization on this forum. Thanks!
6 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