Skip to main content

How do I manage units of measure in PI System?

How do I manage units of measure in PI System?

PI System handles units of measure (UOM) at multiple levels. Proper UOM configuration prevents calculation errors and ensures consistent displays.

Two UOM Systems

EngUnits (PI Data Archive)

The EngUnits attribute on a PI point is a free-text string:

  • Just a label — PI doesn't validate or convert
  • Stored per tag (e.g., "degF", "PSI", "GPM")
  • Used by PI DataLink and ProcessBook for display

AF Units of Measure (PI AF)

AF has a structured UOM system with conversions:

  • Defined in UOM Classes (Temperature, Pressure, Flow, etc.)
  • Each class has a canonical unit (base unit for conversions)
  • AF automatically converts between units in the same class

Setting Up AF UOMs

1. Browse Existing UOMs

PI AF ships with hundreds of predefined UOMs. In PI System Explorer:

  • Go to Library > UOM Classes
  • Browse Temperature, Pressure, Mass Flow, etc.

2. Assign UOMs to Attributes

In an AF template or element:

  • Set the Default UOM on each attribute
  • PI Vision and other clients will display values in this unit

3. Create Custom UOMs

If your unit isn't predefined:

UOM Class: Concentration
Canonical Unit: ppm
New UOM: ppb
Conversion: multiply by 1000 (1 ppm = 1000 ppb)

Automatic Conversion

AF converts automatically when:

  • An analytics expression references attributes with different UOMs in the same class
  • PI Vision displays an attribute with a UOM different from the source
  • A user changes display units in PI Vision

Example: if a temperature attribute is stored in Fahrenheit but the display UOM is Celsius, AF converts on the fly.

Best Practices

  • Always set UOMs on AF attributes — it prevents unit confusion
  • Use AF UOMs rather than relying on EngUnits strings
  • Standardize on SI units as canonical where possible
  • Document any custom UOMs and their conversion factors
  • Include UOM in attribute naming conventions for clarity

Want to ask a follow-up?

PiChat can help with your specific PI System use case. Ask follow-up questions, get code examples, and troubleshoot issues.

Related Questions

Dive Deeper

More Questions

How do I configure PI AF templates?How do I authenticate with PI Web API from Python?What's the difference between snapshot and archive values in PI?What's the difference between PI Vision and PI ProcessBook?How do I build effective PI Vision displays?What are PI Event Frames and how do I use them?How do I write PI AF Analytics expressions?How do I use PI DataLink in Excel?Should I use PI Web API or AF SDK for my application?How do I write data to PI Data Archive?What are the main components of PI System architecture?How do I optimize PI Data Archive performance?How do I set up the PI Interface for OPC DA?How do I use PI Connector for UFL to import file data?How do I set up PI Data Archive high availability with collectives?What are the security best practices for PI System?How do I migrate PI Data Archive to a new server?How do I connect Power BI to PI System?What's the best way to learn PI System?How does PI time syntax work?What are good PI tag naming conventions?How do I access PI System data from Java or Linux?How do I set up PI AF notification rules?How do I use batch requests in PI Web API?How do I connect to PI AF Server using AF SDK in C#?How do I write VBA macros in PI ProcessBook?How does PI data compression work?How do I get real-time streaming updates from PI Web API?How do I troubleshoot PI AF Analysis errors?How do I write SQL queries against PI using PI OLEDB?What is PI interface buffering and how do I configure it?How do I search and query PI Event Frames?What is PI Integrator for Business Analytics?How do I fix the 'Point does not exist' error in PI System?What is the difference between PI ACE and AF Analytics?How do I manually enter data into PI Data Archive?What are AF hierarchy design best practices?What is a WebID in PI Web API and how does it work?How do I configure Kerberos authentication for PI System?Can I deploy PI System in the cloud?How do I calculate summaries (average, total, min, max) in PI?What are PI digital states and how do I use them?How do I connect PI System data to Grafana?How do I backup and restore PI Data Archive?How do I create custom symbols in PI Vision?How do I automate PI System tasks with PowerShell?What is AVEVA Connect and how does it relate to PI System?How do I check and handle data quality in PI System?How do I handle pagination in PI Web API responses?How does AVEVA PI System licensing work?How do I plan a PI System upgrade?