I have a weird arithmetic problem with Apama on Cumulocity, maybe you have some hints to help me.
What product/components do you use and which version/fix level?
Cumulocity IoT UI: 1011.0.0
Cumulocity IoT Backend: 1011.0.19
Are you using a free trial or a product with a customer license?
Customer License -Basic
What are trying to achieve? Please describe in detail.
I tried to calculate the avg of 5 measurements in the Apama Streaming Analytics in Cumulocity IoT.
Therfore i use 5 input blocks, one combiner block and one output block. (Inside the flow are also other groups with other calculations.)
The 5 Measurements have all the same timestamps, but reach cumulocity not at the same time but via 5 mqtt messages with some miliseconds apart. These five messages are send every 1.5 hours.
The “ignore timestamp” flag is set to true for the five inputs, because if not, no output is generated at all. (Why is this?)
The output of the calculation is never the avg of all 5 measurements. I can understand that it jumps at first, when not all 5 Measurements reached c8y yet, but when they did, its still not the correct output. (A miscalculation of 0.5 with a range of input values between 35 and 45)
I will appreciate your help !