Skip to Main Content
AVEVA™ PI System™ Feedback Portal

Welcome to our feedback site!


We created this site to hear your enhancement ideas, suggestions and feedback about AVEVA products and services. All of the feedback you share here is monitored and reviewed by the AVEVA product managers.

To start, take a look at the ideas in the list below and VOTE for your favorite ideas submitted by other users. POST your own idea if it hasn’t been suggested yet. Include COMMENTS and share relevant business case details that will help our product team get more information on the suggestion. Please note that your ideas and comments are visible to all other users.


This page is for feedback specifically for AVEVA PI System. For links to our other feedback portals, please see the tab RESOURCES below.

Status Completed
Created by Guest
Created on Aug 20, 2022

Basic Linear Regression: Slope, Intercept, and R-squared

Wondering if there's interest in basic linear regression calculations, e.g. slope, intercept, R2, to analyze data. Sample use cases: 1. Calculate the rate of withdrawal from oil wells to stay within compliance limits 2. Calculate linear performance curve based on normalized production to normalized energy consumption to determine motors that are failing 3. Determine when a manufacturing process has reset based on when a slope flattens out 4. Help operators control plant by looking at slope.  Currently using an Excel spreadsheet that must be constantly refreshed. The slope and intercept calculations in combination with PI Sever's support for predictive data would be cool.  Imagine being able to extrapolate historical data and identify whether you're on a fast track to success or failure. The components that could go into the separate calculations of slope, intercept, r, and r^2 are similar to current calculations for standard deviation (StDev already exists in Asset Analytics). In addition to StDev, Excel has the following functions-- * Slope(known Y's, known X's) * Intercept(Y's, X's) * RSQ(Y's, X's) – r^2 * Correl(Y's, X's) – correlation, r Idea: Add basic out-of-the-box calculations in Asset Analytics that mirrors Excel functions for linear regression with a syntax of (attribute, start time, end time, optional: % good).  Construct is similar to the current equation in Asset Analytics, StdDev. * Slope(attribute, start time, end time, optional: % good) * Intercept( ) * RSQ( ) More complex expressions would be better in specific packages, but those 3 would be strong building blocks.
  • ADMIN RESPONSE
    Aug 20, 2022
    This is in PI Server 2017 R2, available now on https://techsupport.osisoft.com/ Please start a new idea for other feature requests.
  • Attach files
  • Guest
    Reply
    |
    Aug 20, 2022
    This would be a great analytic tool to trigger valve maintenance when the controller output does not track actual valve position.
  • Guest
    Reply
    |
    Aug 20, 2022
    Great! What about a second order regression to do filtering of a signal? We have an example running in PI AF doing fault diagnosis. I have the code and implementation. Regards,
  • Guest
    Reply
    |
    Aug 20, 2022
    Is there any documentation around the names of the new functions? I have a sandbox server setup with AF 2017R2 but don't see any functions in PSE that relate to this
  • Guest
    Reply
    |
    Aug 20, 2022
    You need to install AF 2017 R2 including the accompanying PI Analysis Service 2017 R2. Once you have done that, the name of the function is LinRegr