Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

PI AF: Find the child element with the highest value

$
0
0

Hi all,

 

I am trying to find the turbine, within a wind farm, that generated the most power in a certain time period. In AF I have elements for the wind farms, children elements for the turbines, and each turbine has attributes showing the power generated within the time perods I am interested in.

 

Is there a way, within AF, to find the child element with the highest value for a specific attribute? Something similar to using a rollup expression to find the maximum value, except instead of returning the maximum value, returning the name of the element who would provide the maximum value. Ideally, I would like to add attributes to the wind farm elements that show the child turbine that has the highest power generated within the time periods.


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>