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.

tannerp avatar image tannerp commented ·

@Abdallh Omar

You can go into the Processor properties and click "Statistics" to find an assortment of charts and graphs that you can add directly to the dashboard using the "Pin to Dashboard" option. I'd recommend using Output vs Time if you wish to achieve a stair-like graph.

Here is an example model based on what you gave us:

12530-output-per-hour-1.fsm

0 Likes 0 ·
Abdallh Omar avatar image Abdallh Omar tannerp commented ·

it's output vs time not output per hour vs time.

i will explain to u using an example what i meant

at time 0 processor o/p = 0

at time 1 processor o/p = 5 units during this hour

at time 2 processor o/p = 4 units during this hour (i mean from 1 to 2)

at time 3 processor o/p = 6 units

at time 4 processor o/p = 0

at time 5 processor o/p = 10

the graph shouldn't accumlate all the data from time 0.

0 Likes 0 ·
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.

Abdallh Omar avatar image Abdallh Omar commented ·

unfortunately i work in my college lab which has 2016 version that i can't upgrade or that's what they said.

0 Likes 0 ·

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.