I am tapping data from a vessel (ship) where I stream real data from diesel generator sets. Capturing instant fuel consumption (liter/hour) and instant produced energy (KW). The data are collected as “event-based”, whereas changes in the values trigger a sample (datapoint). To transfer and work with this data in InfluxDB are very handy. I have now started to use the Cloud version of InfluxDB together with a collegue, and sharing Notebooks in InfluxDB Cluoud where we are experimening with the data.
We were discussion how we based on the instant produced energy (KW), could caculate the produced energy per a specified time unit for example KW/hour. We were looking into the integral function but did not succeed. There migth be a way to write a more sophisticated Flux query, but we must recognize that we are as per now rather unexperienced in Flux.
We wanted to typically take all the time stamps we have for a 24 hour period and make a query in Flux where we transform the data to produced a report where we can see KW produced per hour in this 24 hour time window.
When looking into the functions in Flux we observed a function called experimental.intergral that we suspect can give more success in what we want to achieve. However we can not fint that this fuction is enabled in our cloud instans of InfluxDB. We can not find how to install it either. Reaching out here if anyone can point us in a direction where we can have this function installed.