# OEE app outputs incorrect calculations

**URL:** <https://community.cumulocity.com/t/oee-app-outputs-incorrect-calculations/7611>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [June 1, 2022, 4:20am UTC](https://community.cumulocity.com/t/oee-app-outputs-incorrect-calculations/7611 "2022-06-01T04:20:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobias\_Sommer](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tobias_sommer/32/31953_2.png) [@Tobias\_Sommer](https://community.cumulocity.com/u/Tobias_Sommer)\
**Post date:** [June 1, 2022, 4:20am UTC](https://community.cumulocity.com/t/oee-app-outputs-incorrect-calculations/7611/1 "2022-06-01T04:20:22Z")

</div>

#### What product/components do you use and which version/fix level?

OEE App v10.10.0.3

#### Are you using a free trial or a product with a customer license?

License

#### What are trying to achieve? Please describe in detail.

I have a very simple input from a machine. I get an event every ~10sec that contains a parameter of how many pieces were produced. This is ideally 9 (but could be smaller).  
I tried to configure OEE app for calculation with PPQ method.  
For actual production time I just use the same event with the condition that the parameter in the event is \> 0. This results currently in 100% availability which is fine.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/5/f/5f5da02951e7ff6c7ad4080afb002aeb2b38bc65.png)

For actual production amount and actual quality amount I use the described parameter. This will for now also lead in quality being 100% which is fine.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/c/a/ca32d7b5c0e87d34284df7148e9bb2c12b87e2e1.png)

I configured that the expected amount is 54 pieces per minute (every 10 seconds so 6 \* 9) and set the resolution to 10 minutes.

I now get the following result/alarm in the OEE app (these are the numbers from the OEECalculationAlarm):

ActualProductionAmount: 4868  
ActualProductionTime: 600  
ActualQualityAmount: 4868  
Availability: 100  
AvailabilityLossAmount: 0  
AvailabilityLossTime: 0  
IdealAmount: 540  
IdealCycleAmount: 54  
IdealCycleTime: 1.1111  
IdealMachineRuntime: 5408.8889  
IdealProductionAmount: 540  
IdealQualityTime: 5408.8889  
OEE: 901.4815  
Performance: 901.4815  
PerformanceLossAmount: -4328  
PerformanceLossTime: -4808.8889  
PotentialProductionTime: 600  
Quality: 100  
QualityLossAmount: 0  
QualityLossTime: 0

Something weird is going on in the calculation and I cannot explain where for example the negative numbers are coming from or these high 4 digit numbers.  
The ActualProductionAmount should be close to 540 (IdealAmount). A bit lower as not everytime the event contains 9 pieces and the cycle time is sometimes a bit more than 10sec.

Does somebody have an idea where to look for the error?

---

<div class="post-metadata">

**Author:** ![Michael\_Voigt2](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/michael_voigt2/32/18431_2.png) [@Michael\_Voigt2](https://community.cumulocity.com/u/Michael_Voigt2)\
**Post date:** [June 1, 2022, 7:01am UTC](https://community.cumulocity.com/t/oee-app-outputs-incorrect-calculations/7611/2 "2022-06-01T07:01:51Z")

</div>

Hi Tobias,

thank you for reaching out to us. We’ll look into this issue and let you know our results as soon as possible.

Regards,  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [August 30, 2022, 7:02am UTC](https://community.cumulocity.com/t/oee-app-outputs-incorrect-calculations/7611/3 "2022-08-30T07:02:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
