Cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Throughput per shift or per hour in tablw file

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi,

 

How to get Throughput per shift or per hour in tablw file?

 

Request you all to help me with this.

 

thanks in adavnce

9 REPLIES 9
Highlighted

Re: Getting Throughput per shift or per hour in tablw file

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you can use a generator and a method to record the JpH; you need to record the amount at the end of a period; then you calculate the jobs based on e.g. statNumOut and the old recorded value

 

see here for an example

 

http://www.bangsow.eu/detail_en.php?id=730

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Getting Throughput per shift or per hour in tablw file

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hello Sir

 

Thanks for your solution. With this I am getting per hour throughtput at the end.roughput 

 

What to do for achieving following two things

 

1. I want throurughput per machine per hour in single table file only.

 

2. With your solution, If i want shift level output I have to provide increment interval as 8 if shift is of 8 hours. 

 

but iny case there are 2 shifts of 7 hour :45 min and night shift of 375 min. 

 

how to get shift wise output in this case. last shift working hours are different.

 

Request you to provide some solution.

 

Many thanks in advance

Re: Getting Throughput per shift or per hour in tablw file

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

1. you could insert the "old job count" as a user defined attribute in each machine;   in the generator method you coud write the values of all machines into one row

 

2. we had this discussion several time here: between the shifts, the shift calendar becomes unplanned for a short time, so you can use an observer for unplanned (=false) to determine the shift change --> here you can calculate the jobs per shift

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Getting Throughput per shift or per hour in tablw file

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor
Sir,
Can you explain the second one with small example, that would really be helpful,.
Also how to show machine & worker statistic for every shift to analyse the loss percentage.

Re: Getting Throughput per shift or per hour in tablw file

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

see the attached example

 

What do you mean with "loss percentage" ?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Getting Throughput per shift or per hour in tablw file

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor
Hi,
What do you mean with "loss percentage" ?    -   I actually want to know machine statistics for one perticular shift - % waiting,  % Working. How to get that similar to output per shift .

Re: Getting Throughput per shift or per hour in tablw file

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

this you can also include in the observer method for unplanned in the shiftCalendar object; every time, if the ShiftCalendar gets unplanned=false, a new shift start, if unplanned=true a shift ends; here you can enter your code for record the statistical data (e.g. yourTable.writeRow(1,yourTable.yDim+1,m1.statWorkingPortion, m1.statWaintingPortion...)

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Getting Throughput per shift or per hour in tablw file

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi sir,

 

I am recording the output per hour, just want to know I am doing it right. 

 

Could you also please show in the same example how to get shift level machine statistic per shift. The code is difficult to understand for me.

Re: Getting Throughput per shift or per hour in tablw file

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you can use an observer method for unplanned in the shiftCalendar; you need to store the old value e.g.of statFailureTime at the start of the shift, then you can subtract this value from the value statFailureTime at the end of the shift and divide the result by the shift duration...

 

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net