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.

Chakib avatar image Chakib commented ·

Thank you, I try it but it does not work for me, but suppose that it will work for me, I have a question for this it gives already the number of item, is it possible to display the quantity got from the data input ?

0 Likes 0 ·
Kavika F avatar image Kavika F ♦ Chakib commented ·
I don't understand what you're asking. What do you mean by "display the quantity got from the data input"? What data input are you talking about? I thought your question was with regards to keeping track of machine quantity processed?
1 Like 1 ·
Chakib avatar image Chakib Kavika F ♦ commented ·

Alright, I want to display the quantity processed, but I want the actual quantity and not the number of items processed. I'll give you an example below:


In the first table displayed in the Dashboard section, I have the information that 2 articles are processed in the machine MC03 and 1 article in the machine MC07, ...
1672906440515.pngI already have the information of the total quantity produced (using Tracked variable): this quantity 1430kg is the total quantity of the 6 articles produced.
1672906474224.png

But I know with the help of (print) that an article processed in the machine MC03 weight 244kg by the technique number


1672906502357.pngThis quantity is obtained from the data entry, where I have the average weight per machine and per technique.

1672906517454.png

Finally, the objective is to display the same table but accumulating the quantity produced (kg) example: these are the 2 items produced in machine MC03 using technique 2 (Teint) : I should get in the table for the line MC03 in the column Dye: 488 kg.


I hope that my problem is now clearer

0 Likes 0 ·
Show more comments