AnsweredAssumed Answered

PI calculation for the average, not including certain values

Question asked by nbaraibar on Oct 14, 2020
Latest reply on Oct 19, 2020 by sraposo

Good evening,


I am trying to create an expresion to evaluate the evolution in a wind turbine for the oil level. For that I have 2 tags : 'oillevel' for the meassure of the oil level (from the 0% to 100%) and the 'status' (it could be "producing", "failure", "ok", "communication failure").


I wish I could improve the TagMean expresion, excluding some status, because when it is on "failure"  the oils evolution makes the evolution "dirty", hiding leakages (what I want to find).


What I am looking for it is something like:


TagMean('A101.oillevel','*-1200m','*')  Ǝ 'A101.status' = "failure"


Thanks in adance!!!!!