03-28-2017 09:21 AM
Trying to use a table to control Processing times of multiple Single Proc.
Current Method is below:
SingleProc.ProcTime:=TableFile[2,1]
SingleProc1.ProcTime:=TableFile[2,2]
SingleProc2.ProcTime:=TableFile[2,3]
this is an example but I have more than three machines to control. What is the language to read down the table getting the machine name and tie from the Y dimension?
Solved! Go to Solution.
03-28-2017 11:52 AM - edited 03-28-2017 11:56 AM
Hello,
There are different ways to set up your model depending on the level of granularity you need, and how you want the input data to flow into the model. Below is a simplistic way that assumes the processing time a specific station is constant and independent of the MU that is being processed there.
The processing time formula is:
ProcessingTime["Time Minutes", @.Name]
Note that the table is indexed using the column name and row name, not the integer index. This enhances readability while (slightly) increasing model run time. It is preferable to use this approach as long as it isn't critical to optimize the model run time performance.
Notes:
Best regards,
Andrew
03-28-2017 01:02 PM
03-28-2017 03:08 PM
two things: the name of the station you should write into the row index (so you can use the names as keys for the row), in the SingleProc you need to set for the process time: formula (instead of constant)
The formula is: TableFile[1,?.name]
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
03-28-2017 03:37 PM
it is only reading the first line of the table how would i index down through the table
03-28-2017 03:46 PM
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
03-28-2017 03:48 PM
I apologize I just spent some time running with different times. Thank you.
03-28-2017 03:51 PM
One last question. Can I input a distribution in this manner, have a specific one for each Operation in the Table?
03-29-2017 02:15 AM
yes you can
you need to define several columns for the values of the distribution. Then you can use one of the z_... functions to set the value based on the values of the distribution in the formula
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |
a week ago
hello Steffen,
Even im facing the same issue but unable to get the logic
I had two product with name
Product_A with operation on Resource1 resource 2 and resource 3
Product_B with operations on resource1 and resource3
Im able to split the products according .
But I need to mention time to produce on resource one like:
Product_A will take 5min on resource 1 and Product_B takes 2 min once product_A completes Prodyuct_B has to come into resource once Product_B done again Product_A has to be done automatically(Here im doing randomly production 1 by 1)
Plz check my sample demo