question

Abdallh Omar avatar image
0 Likes"
Abdallh Omar asked tannerp commented

output per hour problem

I'm trying to get current output per hour for processor not average output per hour.

and this is what i get it should not be something like that it should be like a stairs output-per-hour.fsm

FlexSim 16.2.2
output per hour
screenshot-1.png (25.1 KiB)
output-per-hour.fsm (19.8 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.

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel edited

You can get the output per hour from a tracked variable. You can set the value of the tracked variable by source code initiated by a message that you send delayed each hour. The difference of the current total output and the total output an hour ago is the value of the tracked variable.

The attached model uses process flow to update the tracked variable instead. The items are pushed on a list. Then I pull all items every hour from the list. The pulled items are stored in an array. The size of the array is the value the tracked variable get. The tracked variable has got statistics which I can place as charts in dashboards.

tracked variable"outPerHour" properties used to pin the statistic to a dashboard

substitute-out-per-hour-process-flow-jv.fsm Flexsim 16.0.3


5 |100000

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

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Abdallh Omar commented

In version 2016, I don't know how to make that chart. If you upgrade to version 2018, here are some instructions you can follow:

In the Dashboard Library, you can use the Throughput Per Hour template:

Using this template, you can get the throughput per hour graph you are looking for. This one is per minute, but that is easy to change. I also changed the line style to stair-step:

throughputperminute.fsm


· 1
5 |100000

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