Skip to Main Content
AVEVA™ PI System™ Feedback Portal

Welcome to our new 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 Declined
Created by Guest
Created on Aug 20, 2022

Ability to override analysis in a derived template

When i create a derived Element Template, i would like to be able to override an inherited analysis. Now i am severly limited in the re-use of templates due to this limitation. I cannot extend nor exclude functionality in a derived template if this is used in an analysis, because i cannot adapt the inherited analysis. This is similar to https://feedback.osisoft.com/forums/555148-pi-server/suggestions/17865355-exclude-analysis-function but the two would complement each other quite well
  • ADMIN RESPONSE
    Aug 20, 2022
    Thank you very much for sharing your feedback on the PI Server. After further evaluation, we have decided to decline this item, as we are not planning on implementing it in the near future due to other high priority items across the PI System. Thank you for your feedback, and know that we are listening and reviewing every item that gets submitted!
  • Attach files
  • Guest
    Reply
    |
    Aug 20, 2022
    Roger, We purposefully build analytics such that you can turn off analyses from templates at the instance level and you can also add analyses to elements from templates. We did this because history has shown that overriding templates cause management headaches later on since no one knows exactly what or why something was done and it gets very messy really fast. In your case, is it OK if you were to turn off the analyses from template that you don't want/need and then simply add new ones at the instance level?
  • Guest
    Reply
    |
    Aug 20, 2022
    In response to Stephen Kwan, "Roger, We purposefully build analytics s..." Hmm, i don't really see why this would become more or less messy that e.g. the excludes and overrides we have at attributes. I build my template inheritance from superset to subset or vice versa. But in either way, you need to exclude attributes or add attributes in a derived template to remove or add functionality. How should i match the analytics to that? I can't really think of another way than either overriding or excluding an analysis. What we want to achieve is that by instantiating the element, all related business logic, PI Points, etc. are created automatically. When we need to copy-paste analytics from some 'copy template' into the instance that would defeat the entire purpose of templates and inheritance.   PS: i stumbled on the exclude feedback item closely linked to this one: Exclude analysis function – Customer Feedback for OSIsoft & the PI System PPS: it is kind of funny you need to add attributes to exclude them in de derived template
  • Guest
    Reply
    |
    Aug 20, 2022
    The way I read your original post was that you wanted to override the templated analyses. This, IMHO, would create a lot of confusion because someone later one would come along and see that the overridden analysis is different than the template. There's a good chance that this person would not know why there's an analysis from template, yet it's not the same as the template. That's what I was trying to convey.
  • Guest
    Reply
    |
    Aug 20, 2022
    In response to Stephen Kwan, "The way I read your original post was th..." So you upvoted? I think that will fit in the 2017R2 release this fall...
  • Guest
    Reply
    |
    Aug 20, 2022
    We currently provide the ability for you to disable the templated analysis and add a new one. Is that sufficient? If so, can you please elaborate?
  • Guest
    Reply
    |
    Aug 20, 2022
    The following inheritance semantic features from OOP languages, such as C++ and C## are required: a) Overriding an inherited analysis in the derived template by using the same name as in the parent template. This feature is already available. b) Ability to call the parent implementation (which avoids copying the code), followed by the overriding code in the overriding implementation. This may be enabled either by a property check box, or some additional analysis syntax. USE CASE (simplified): parent analysis calculates a KPI = f(a,b). Derived analysis extends the calculation, KPI = f(a,b)*c. The KPI is (obviously) written to the same PI Point DR. A workaround would be to combine analysis and formula, where the parent implements a formula that calculates f(a,b)*c for a trivial value of c. The derived template overrides c. However, this is inelegant and less efficient during high frequency calls to the formula DR (such as in BI use cases with PI SQL queries over long time ranges). Also, the formula approach only applies to simple extensions that may be implemented in formulas.
  • Guest
    Reply
    |
    Aug 20, 2022
    Another feature required of overridden analyses is the ability to handle excluded attributes, which are excluded by overriding in the derived template. This ability is wider required and the lack thereof a right pain at present. (Apparently, promised for AF 2018).
  • Christoph Rose
    Reply
    |
    Aug 20, 2022
    I am surprised that this is declined. This is a feature that currently exists and works. In a derived template, you can create an analysis template with the same name as an analysis in the base element (that appears greyed out in the derived template). In an element created from that derived template, the analysis from the derived template will be used, and not the analysis from the base element template. Granted, you can't edit the analysis from the base element, but you can copy & paste and change it if needed.