[RESOLVED] calculate running efficiency of process throughput
my prog has a function that every adjustable set period (with magnitude of mins) it calculates efficiency of the process based on throughput since the process started.
I have currently:
currentProductThrough / TargetForHour
I want to refine this so that efficiency will be correct as with the above 100% would (even in ideal situ) only be reached when the hour is up.
therefore I thought something like:
currentProductThrough / (TargetForHour/60)
if this is correct, to allow for the adjustable testing period then would need to be something like:
if the period equals (1min * period Coefficiant),
currentProductThrough / (TargetForHour/(60*periodCoefficiant)
if anyone understands what I'm on about, please let me know if Im on the right track or not
Ta
Re: calculate running efficiency of process throughput
ah, I grasped what had been confusing me, the throughput figure I was using was not a total for just the current time period but a running total of the whole lot
to get the efficicency of the most recent period it needs to be something like this:
productThroughSinceLastCalculation / (TargetForHour/(60*periodCoefficiant)
meaning a true running calc would be:
productThrough / ((TargetForHour/(60)) * minutesProcessRunning)
(I Think :lol: )