Missing percentage calculation

#1

Hello,

This is about a metrics of the following type, adding calculation based on “departures”.

{
“id” : “SumOfFlowMeans_Network”,
“name” : “SumOfFlowMeans”,
“description” : “A metric that provides total sum of average flow over all departures of one network.”,
“srcType” : “Network”,
“path”: “departures.servicePoints.(isDisabled == false).pointMeasurements.(measurementType == ‘Flow’)”,
“expression” : “sum(avg(normalized.data.quantity))”,
“unit” : {
“id” : “kg_per_s”
}
}

I have 22 “departures” objects.
I would like to know what is the missing percentage calculation algorythm when I have 22 Point Measurement series which are sum up by the here above metrics.

Example of evaluation :
Network.evalMetric({id: “STEAM”,expression: “SumOfFlowMeans”,start:“2019-02-18T16:00:00”,end:“2019-02-18T20:00:00”,interval: “HOUR”})

Regards,
Gilles

0 Likes