Data Management
PI Vision
Analytics

Efficiently Managing Large Scale Analytics Data in PI Vision

This blog explores methodologies for effectively handling large volumes of analytics data using PI Vision in complex setups like multiple reactors with varying substances.

Roshan Soni

3 min read

Handling large volumes of analytics data in PI Vision can be a complex task, especially when dealing with high variability in what's being measured, where, and when. A common scenario is monitoring multiple reactors, each with hundreds of potential substances that may be analyzed, as highlighted by a user who shared their experience of running HPLC analytics on approximately 100 reactors. The user faced a daunting prospect of creating up to 100,000 PI tags to accommodate all materials and their measurements, many of which may not be frequently used.

In such situations, creating 100,000 tags can indeed seem excessive and confusing, but there are strategies to manage this effectively.

Firstly, Understanding Your Data

  1. Assessment of Measurement Frequency: Clearly understand which substances are measured frequently and which only occasionally. For frequently measured substances, creating PI tags might be justifiable, especially where historical trends are essential.

  2. Database Consideration: Since the raw data is stored in a SQL database, leverage this existing infrastructure for infrequent data retrieval.

Strategies for Efficient Data Handling in PI Vision

  1. Mixed Data Retrieval Methods:

    • PI AF Linked Tables: For substances that are rarely checked, consider linking the tables from your SQL database to PI AF. This method prevents the duplication of data storage in both SQL and PI Data Archive, though it limits the viewing to the current data point rather than historical trends.
  2. Smart Tag Management:

    • Event Frames: Use Event Frames for tracking experiments, which can help manage the data without sprawling into hundreds of thousands of tags and still maintain flexibility in identifying projects based on substances used, without altering tag configurations consistently.
  3. Custom Solutions

    • AF SDK and Custom Data References: Utilize AF SDK to create custom data references that allow for flexible querying. This can replicate some PI Point functionalities such as retrieving historical data, bridging the gap between SQL and PI Data Archive capabilities.
  4. Optimized SQL Queries:

    • Write SQL queries to aggregate necessary data then import into PI Vision for real-time or historical trend analysis. This can potentially reduce the number of tags required by overlaying calculated data from SQL as needed.

Implementation and Flexibility

  • Adaptability is Key: As the projects and reactors vary dynamically, ensure your system remains flexible. Event Frames or a centralized analytics system with versatile querying capabilities can inherently support this flexibility.

Keep in mind that while tags are a functional unit within the PI System designed for high-speed, low-latency data storage and retrieval, creative approaches to manage tag population can lead to resource reduction and increased clarity.

Tags

#PI System
#AF SDK
#Data Handling
#Analytics
#PI Vision

About Roshan Soni

Expert in PI System implementation, industrial automation, and data management. Passionate about helping organizations maximize the value of their process data through innovative solutions and best practices.

Sign in to comment

Join the conversation by signing in to your account.

Comments (0)

No comments yet

Be the first to share your thoughts on this article.

Related Articles

Developing Expertise in PI System and Related Technologies: A Comprehensive Training Roadmap

This blog outlines a comprehensive training roadmap for developing expertise in the PI System and related technologies. Structured over four weeks, the program covers essential technologies like the PI System, Asset Framework, and various APIs, providing a strong foundation for data management and analytics.

Roshan Soni

Traversing an AF Database Hierarchy to Count All Elements Using OSIsoft AF SDK

Learn how to use the OSIsoft AF SDK in C# to traverse an AF database and count all elements within its hierarchy. This blog post provides a comprehensive guide with code examples for connecting, traversing, and counting AF elements.

Roshan Soni

A Beginner's Guide to Learning the OSIsoft PI System

Unlock the power of real-time data management and analytics with OSIsoft PI System. This beginner's guide provides a structured learning path and key resources to help you effectively learn the PI System.

Roshan Soni