question

Jyhjeng D2 avatar image
0 Likes"
Jyhjeng D2 asked Jyhjeng D2 answered

Time charts in Content vs WIP by type

Hi:

I have a simulation of three product types to run through a queue. First, I want to draw two time charts. One is for the total (without considering the product type), another is for each product type. I discovered that the time chart for the total started from time zero, but the time chart for each product type started at the first event time of the incoming product. Can we make the chart for each product type start at zero so that I can compare the total and each product type?

compare-01.jpg

layout-01.jpg

Here is the flexsim program.

Primer_2-5B-compare.fsm

FlexSim 22.0.1
time chart for wip product type
compare-01.jpg (74.8 KiB)
layout-01.jpg (81.1 KiB)
5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

By default the "By Type" chart can't start from time zero, because it can't know which type values will be used in the model and thus can't create a "zero"-row for each of them.

You can change this adjusting the statistics collector that stores the data for the chart. Go to the "Advanved" tab in the chart's properties and "install" the components. This will make two statistics collector appear in the toolbox. Open the second one (the one that just has "Collector" in the name, not "Core").

Add a new "On Reset" event. Add the same label "delta" to the new event that the other events also use and set its value to 0. Finally, set the Row Values to be an array of all types that will appear in the model. This will create a row in the internal table for each of those types and thus make the chart start at time 0.

1679039017995.png

primer-2-5b-compare-fm.fsm


5 |100000

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

Jyhjeng D2 avatar image
0 Likes"
Jyhjeng D2 answered

It works. Thank you.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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