question

Pieter Cecat avatar image
0 Likes"
Pieter Cecat asked Steven Hamoen commented

Custom Dashboard Cost Components

Hi everyone!

I have built my model and want to start using it now to analyze its output. However, I am stuck once again. I have added a dashboard to my model in order to calculate my different cost components but noticed there are only limited options with respect to costs or financial details in general. I checked the tutorial but didn't get much wiser, which is why I am posting this question.

I want to calculate the following 5 cost types for every period (+ total) of my simulation:

(1 period = 1 month = 720 time units) (simulation time = 6 periods = 4320 time units) (every queue has its unique item type)
  1. SETUP COST (depending on which queues release material in a period) for every item type as well as total [fixed cost incurred when certain queue releases material in a period] A setup cost should be incurred when M_INV releases material and a different setup cost when at least one of the five R_INV_Qs releases material.
  2. HOLDING COST (unique for every queue and only taken into account at the end of every period) for every queue (except for the following 2 queues: 'graded_cores_inv' and 'ungraded_cores_inv') as well as total [variable cost for remaining items in queue at end period]
  3. PROCESSING COST (unique for every item type (1,2,3,4,5,6) that passes the processor) for every item type as well as total [variable cost depending on quantity processed in a period]
  4. GRADING COST (multiply values from 2 global tables: 1 with grading quantity per period and 1 with grading cost per period) [variable cost depending on quantity graded in a period]
  5. OVERTIME COST (multiply values from 2 global tables: 1 with overtime quantity per period and 1 with grading cost per period) [variable cost depending on overtime in a period]

For each of these 5 cost components I'd like a graph displaying the time evolution (cumulative) over all 6 time periods of my simulation. Furthermore I'd like a table/graph with all 5 components as well as the total cost (= sum of the totals of those 5 cost components) over time.

Fill rate/service level too should be put in a graph. A table with backorders is available so the computation is pretty straighforward: 1 - backorders/total demand. However, I did not find how to address this in FlexSim...

I was also wondering if it is possible to use the experimenter to set different parameter values for my cost factors and then create a graph which shows both TOTAL COST CURVE and FILL RATE/SERVICE LEVEL for every parameter value to compare them side by side.

The model I am working on is attached. 6m.fsm

Please ask if something is not well explained. I tried my best to be as clear as possible.Thanks in advance for all the help/support! I strongy appreciate it!!

PS: I was looking for ways to copy the graphs/tables to a Word document but read this can not be done by simply using ctrl c -> ctrl v. How can I most easily acces them outside Flexsim?

FlexSim 16.0.8
experimenterdashboardsgraphs
6m.fsm (52.9 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.

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Steven Hamoen commented

@Pieter Cecat I took 1 cost and added that to your model to give you ideas on how to solve it for all your costs. I first focused on the holding costs of the queue. I made a table that per period stores the cost for each queue. To do that I made a table (costtable) that has a price per time unit. On the onexit of the queues I multiply that cost with the time the item stayed in the queue and write the result to the table. I added a label to every queue with a number that is used as a row pointer in the holdingcost table.

I have added a global variable called "period" and I increase that every 720 time units with a user event. This is used as a column pointer in the holding cost table.

I also created a userevent that every 24 time units writes a value to a tracked variable and that tracked variable is shown in a graph.Ofcourse you can do this every 1 time unit or also on the onexit of the queue.

Because I put the costs per time unit in a table you can use that table in the experimenter and increase the cost for the different scenarios.

I hope this helps you create the results you want. And because you write the results to a table you can also copy the results to excel and use that for further analysis.

Hope this helps you further.

5897-6m-tal.fsm


5897-6m-tal.fsm (53.7 KiB)
· 2
5 |100000

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

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered

@Pieter Cecat Concering copying the graphs, right click on a graph and it gives you an option to export to *.png and then you can easily drag it into word.

5 |100000

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

Kaspar Chabot avatar image
1 Like"
Kaspar Chabot answered Pieter Cecat commented

Hi Pieter, Tracked Variables Have you tried taking a look at this? You can make custom statistics by using tracked variables and their commands. As for the copy paste function, if I'm not mistaken it's been put on the list for development. In the mean time, you can get around it by using a screenshot tool (such as gyazo, puush, snagit...). Hope this helps!

· 4
5 |100000

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