question

Chakib avatar image
0 Likes"
Chakib asked Jason Lightfoot commented

Replace the number of item by the quantity from table

Hello,


I want to evaluate the performance of my flexsim model using the quantity produced.


My problem has two dimensions (machine i and category j) the quantity is getting from the table a data input.

I managed to get the quantity produced for each element (i,j), using print, I see that it works, but I can't display the quantity and accumulate it.


I try to use trackedvariable but it gives me the total quantity produced of the model, but the problem is that I want to have the total quantity corresponding to the item of category j and machine i (the best solution is to be able to display in the table the quantity for each machine-category couple).

exemple of what I want to have as information, where these quantities are the total produced at time t:

Categ 1 Categ 2 Categ3

Machine 1 500 643 456

Machine 2 670 777 556

Machine 3 500 963 300

Machine 4 1200 165 526


FlexSim 22.0.0
dashboard datatracked variablediplay result
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Kavika F avatar image
1 Like"
Kavika F answered Jason Lightfoot commented

Hey @Chakib, here's a solution you could try. Start by adding all the Machines to a group. Make a Global Table setup like you have it (I called mine "Machine Totals").

1672839517270.png

Then setup a simple process flow to track when items come in. When they do, get the type and machine name so you can update your table by adding 1 to their cell value.

1672839610714.png

Here's what it looks like when it's running.

updating-global-table.gif


· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.