Hi everyone,

Just looking into a subset of some calculations and I am after some further insight from the wider community.

In an analysis I have the following:

Weight1 * Constant1 = Output1

Where

- Weight1 is a PI Tag, UOM is Tonnes

- Constant1 is a table lookup, UOM is a percentage

- Output1 is a PI Tag, UOM is Tonnes

If I have Weight1 = 100 and Constant1= 50 I get the result of 500 Tonnes.

I was expecting this to return in context of the UOM a result of 50.

Am I missing something or is it a case of needing to perform an additional inline calculation to perform the unit conversion relative to the calculation?

If anybody has experienced something similar it would be great to hear!

You can do what Kenji has suggested.

If you would rather have your Constant1 attribute displayed in % (Default UOM: %), then you can use the Convert function in your expression to convert Constant1 from % to ratio or in this case, since the conversion is simple, just divide by 100 directly in the expression. Here is more info on the Convert function:

https://livelibrary.osisoft.com/LiveLibrary/content/en/server-v6/GUID-F6A04259-333A-4BE5-8446-38C65E555A16