Option to use Good Data only in Analyses.
Analyses can suffer from bad calculations due to bad events for a tag, such as system digital state events returned for a numerical tag.
Although BadVal() can be implemented to avoid using bad events in these analyses, they add another layer of complexity the expression.
The addition of a "Use Good Data" only option in the analysis tab in PSE that applies BadVal handling on top of an analysis would help simplify expressions.
Eliot Goodman commented
In response to Nitin Agarwal, "Hi Eliot - Could you please elaborate mo..."
I believe that's exactly what some customers are looking for here. In the case that an input returns a bad value, the calculation would be skipped, and not write any output. The main concern I've heard is that outputs are dirtied by bad inputs, which causes some pain when consuming the resulting data.
Nitin Agarwal commented
Hi Eliot - Could you please elaborate more on this use case? Specifically, when we encounter bad values for the inputs, what's the expectation?
break out and don't perform the calculation - similar to If BadValue('Input') then NoOutput() else ...substitute a user defined value for the inputuse last good valueother ?