Allow to automatically exclude an attribute based on an expression
As a PSE user, I would like to be able to configure an expression which allos to automatically set or reset the exclude property on an attribute
If you use the AF 2018 SP2 release, you can use the BadVal() function to check for validity of the input – i.e. if the input PI Point doesn’t exist. Thus you can use the BadVal() function now to check for validity of the input and also whether the input has bad values. Using the BadVal() function you can add logic to your Expression to handle missing inputs or bad inputs.
I’m sorry but I don’t understand your question about exclude output attributes. Can you provide an example use case?
Nigel Oldham (INACTIVE - DO NOT USE) commented
We would like to exclude input attributes that are used by analysis when a value is bad / calc failed / comms fail. Also, when the analysis goes into Suspend mode due to the fact that the analytics has input attributes that are excluded, we would like to exclude output attributes. I would be interested to know if this is possible with expressions.
We have a Turbine Telement template.
Some attributes depends on the type of the turbine.
Actually, We have to manually exclude some attributes in the Templates instances depending on the turbine type.
We would like to be able set that :
TurbineInjector2 : excluded if TurbineType = "Pelton"
We are just trying to automate what we are doing manually