output per hour problem

output per hour problem

abdallh_o
Not applicable
19 Views
5 Replies
Message 1 of 6

output per hour problem

abdallh_o
Not applicable

[ FlexSim 16.2.2 ]

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

12529-screenshot-1.png

0 Likes
Accepted solutions (1)
20 Views
5 Replies
Replies (5)
Message 2 of 6

tanner_p
Not applicable

@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.

12544-output-vs-time-for-processor.png

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

12530-output-per-hour-1.fsm

0 Likes
Message 3 of 6

abdallh_o
Not applicable

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
Message 4 of 6

JordanLJohnson
Autodesk
Autodesk

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:

12554-throughputperminute.png

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:

12555-throughputperminutegraph.png

throughputperminute.fsm

.


Jordan Johnson
Principal Software Engineer
>

Message 5 of 6

abdallh_o
Not applicable

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

0 Likes
Message 6 of 6

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

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.

12565-processor-output-per-hour-v16.jpg

12567-tracked-variable-properties.jpg

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

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