Scaling
- Last UpdatedApr 13, 2016
- 1 minute read
When the Attribute is set to NaN, the scaling attribute is not calculated and the quality of the scaling value will remain GOOD.
For linear scaling, the following equation is used:
-
ScaledValue = ((RawValue-RawMin)/(RawMax-RawMin) * (EngUnitsMax-EngUnitsMin)) + EngUnitsMin
For square root scaling, the following equation is used:
-
ScaledValue = sqrt((RawValue-RawMin)/(RawMax-RawMin))
-
If RawValue < RawMin, then ScaledValue = (sqrt(RawMin) * (EngUnitsMax-EngUnitsMin)) + EngUnitsMin
On failover, all calculated scaling values are maintained and the quality is set to UNCERTAIN.