How to add sample active energy to statistics when I use activity type other

Hello,

i set up a watchOS app. I calculated the active burned energy by myself and add it every second as sample to the running workout builder. When I setup the statistics it sum up the app related burned energy for three times. Then the watchOS send active energy with 0. The samples are stored in the workout session but the total energy is 0. In the documentation apple wrote that if you use other you have to tell the system that the samples have to sum up. How I can do that?

How to add sample active energy to statistics when I use activity type other
 
 
Q