Jump to content
  • To Search the Seeq Knowledgebase:

    button_seeq-knowledgebase.png.ec0acc75c6f5b14c9e2e09a6e4fc8d12.png.4643472239090d47c54cbcd358bd485f.png

Search the Community

Showing results for tags 'maxvalue()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Technical Forums
    • Tips & Tricks
    • General Seeq Discussions
    • Seeq Data Lab
    • Seeq Developer Club
    • Seeq Admin Forum
    • Feature Requests

Categories

  • Seeq FAQs
  • Online Manual
    • General Information

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Company


Title


Level of Seeq User

Found 2 results

  1. I am trying to only show values of the maximum difference between my temperature setpoint and PV ($hssp) within a certain period ($hrs). I used the below to set up my capsule (hopefully using the right notation) but am getting all the values during my condition range ($hrs which I identified which steps of the process to consider). $hssp.within($hrs).toCondition('Heater_Sag') I will like to ONLY show the maximum value seen during this condition range. I tried the following below but got an error message as it seems that I am not using the proper notation: $hssp.maxValue($hssp.within($hrs).toCondition('Heater_Sag')) No variant of function 'maxValue' consumes the parameters (Signal, Condition) at 'maxValue', line=1, column=7 I then tried the below and received another error message: $hd.aggregate(maxValue(), $hsis) ⬆ No variant of function 'aggregate' consumes the parameters (Signal, Stat:Sample:Scalar, Condition) at 'aggregate', line=1, column=5
  2. Starting with Seeq R.21.0.44.0 release, user can specify maxValue() and maxKey() on a signal during a capsule to return the scalar values of maximum value and associated time stamp respectively. The example below shows that on Temperature signal, during 16th October (capsule), maxValue() function results in 106.07 ºF and maxKey() function results in associated timestamp 2019-10-16 02:18 am i.e. when maximum temperature occurred. See the 1st image for this example in Seeq: Feel free to try out these formulas on your own: $temperature.maxKey(capsule('2019-10-16T00:00Z','2019-10-17T00:00Z')) $temperature.maxValue(capsule('2019-10-16T00:00Z','2019-10-17T00:00Z')) Oh one more thing, you can also create signals that return one value from each capsule within a condition. Where value can be maxValue(), minValue(), maxKey(), minKey(). Below is one such example and an image showing that you can create signal that represents minimum values at minimum key (time) on daily basis: $signal.aggregate(minValue(), $condition, minKey()) As always detailed information can be found in formula tool panel documentation search box in Seeq application. Still want more Seeq info? Check out what else is new in R21.0.44.00: https://seeq12.atlassian.net/wiki/spaces/KB/pages/571375775/What+s+New+in+R21.0.44
×
×
  • Create New...