Over the years, I have been modeling something using 2 different methods but in different projects so I don't have a model that is done both ways to compare A vs B. So I'm asking the programming experts out there for their opinion.
Here it is.
I have 50 different products going through a production process. Each product has specific set-up, process times, qty per container, and a bunch of other information related to it. Lets say there are 15 fields of information for each of the 50 products. And these products flow in the thousands in the factory.
I have used 2 methods to threat this information:
Method A: Keep all this info in a global table of 50 lines X 15 columns and reference the appropriate info whenever it is needed throughout the model. So I look at the global table thousands and thousands of time during a simulation a run.
Method B: Copy all this info to 15 labels on each item when creating it and never look at the global table again during the simulation. Info is read of the product labels as needed. But each of the thousands of item in production carry 15 labels with them.
I used to use method A but now I mostly use method B but, as I said, I don't have a model that compares both.
Thanks for your input,