Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Largest-Triangle-Three-Buckets. Algorithm of the day.

Largest-Triangle-Three-Buckets. Algorithm of the day.

Scheduled Pinned Locked Moved The Lounge
algorithmsperformance
15 Posts 9 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D DaveAuld

    When I stopped playing with the system, this server was archiving live process data from around 7500 plant parameters across 5 platforms and about 18 systems, all pumped down a 120 mile subsea fiber optic link, and then once archived, a secondary system pushed a sub-set out over a private vlan on the net to another company 18 miles away. The headaches I had over the years were plentiful! :) Oh, and a second parallel system connected to two of the end points archived event log data into another different SQL logger, which resulted in me having to dream up this; Developing Automated Data Purge Solution[^] That was a pain to keep alive! :omg: Then I would get the other engineers wanting things like this; Data Historians - You Bought It, Use It! Real World Example[^] Never a dull day!

    Dave Find Me On:Web|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject

    T Offline
    T Offline
    Tim Carmichael
    wrote on last edited by
    #6

    Started using the PI system in the early 90s; wrote custom interfaces (digital scales, bar code readers) on a VAX/VMS system. Now, working for a utility company working 100% of the time in PI... I think we have about 85 PI Historians, 500+ interfaces, a few million tags.... Work mostly with renewables (wind, solar) spread across the continental U.S.... never a dull day! And absolutely enjoy my job! Hope all is going well with you... enjoying the sun, sand and warm weather and all.

    D 1 Reply Last reply
    0
    • C Chris Maunder

      I've been doing a bit of work on charts lately and I stumbled across a wonderful algorithm for down-sampling data in order to speed up chart display. Downsampling Time Series for Visual Representation[^] Maybe I really need to get out more, but I love stuff like this.

      cheers Chris Maunder

      S Offline
      S Offline
      Slacker007
      wrote on last edited by
      #7

      Chris Maunder wrote:

      but I love stuff like this.

      I think for many of us, the feeling is mutual. ;)

      1 Reply Last reply
      0
      • T Tim Carmichael

        Started using the PI system in the early 90s; wrote custom interfaces (digital scales, bar code readers) on a VAX/VMS system. Now, working for a utility company working 100% of the time in PI... I think we have about 85 PI Historians, 500+ interfaces, a few million tags.... Work mostly with renewables (wind, solar) spread across the continental U.S.... never a dull day! And absolutely enjoy my job! Hope all is going well with you... enjoying the sun, sand and warm weather and all.

        D Offline
        D Offline
        DaveAuld
        wrote on last edited by
        #8

        You will be a Pi master now then.... :-D Your OSI license fees must be scary for a few million tags! I had too much other stuff to do that never really got my hands deep and dirty with it (except the initial system installation and then the fist couple years of adding more 'stuff'), we had a team of controls guys looking after all the ESD/Control systems, so they took it over.

        Dave Find Me On:Web|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject

        T 1 Reply Last reply
        0
        • D DaveAuld

          You will be a Pi master now then.... :-D Your OSI license fees must be scary for a few million tags! I had too much other stuff to do that never really got my hands deep and dirty with it (except the initial system installation and then the fist couple years of adding more 'stuff'), we had a team of controls guys looking after all the ESD/Control systems, so they took it over.

          Dave Find Me On:Web|Facebook|Twitter|LinkedIn Folding Stats: Team CodeProject

          T Offline
          T Offline
          Tim Carmichael
          wrote on last edited by
          #9

          We have a PI Support Group of 11 people (including the manager) and that is all we work on. However, 1 is retiring at the end of the month, 2 more may be retiring by year end, 1 is a contactor and he may or may not be back next year... we are about to get 'lean'.. in a hurting way. And, the average age of the group is in the upper 50's... we struggle to get 'the younger crowd' to take an interest in it.

          G 1 Reply Last reply
          0
          • T Tim Carmichael

            We have a PI Support Group of 11 people (including the manager) and that is all we work on. However, 1 is retiring at the end of the month, 2 more may be retiring by year end, 1 is a contactor and he may or may not be back next year... we are about to get 'lean'.. in a hurting way. And, the average age of the group is in the upper 50's... we struggle to get 'the younger crowd' to take an interest in it.

            G Offline
            G Offline
            Garth J Lancaster
            wrote on last edited by
            #10

            how does 'PI' differ from IoT ? at a quick glance "PI" seems to be a precursor to IoT, with all standardised components/450+ 'interfaces' etc

            T 1 Reply Last reply
            0
            • G Garth J Lancaster

              how does 'PI' differ from IoT ? at a quick glance "PI" seems to be a precursor to IoT, with all standardised components/450+ 'interfaces' etc

              T Offline
              T Offline
              Tim Carmichael
              wrote on last edited by
              #11

              The OSISoft PI system has been around since the early/mid 80s. It was started by Pat Kennedy who had extensive experience in the oil/gas industry. The original name was "Oil Systems Incorporated". The system was designed to capture volumes of information from networked devices and stores the data in a proprietary format. The concept was always make data available to make informed decisions. So, versus the IoT... OSISoft was around long before the IoT. As for '500+' interfaces, that is for the place where I work. We have 500+ interfaces, but that includes multiple instances of a particular type of interface such as: OPC, DNP, HabConnect, MODBUS, PI-to-PI (data transfer between systems) and, we have some custom written interfaces.

              G 1 Reply Last reply
              0
              • C Chris Maunder

                I've been doing a bit of work on charts lately and I stumbled across a wonderful algorithm for down-sampling data in order to speed up chart display. Downsampling Time Series for Visual Representation[^] Maybe I really need to get out more, but I love stuff like this.

                cheers Chris Maunder

                B Offline
                B Offline
                Bassam Abdul Baki
                wrote on last edited by
                #12

                So where are these charts you speak of?

                Web - BM - RSS - Math - LinkedIn

                1 Reply Last reply
                0
                • C Chris Maunder

                  I've been doing a bit of work on charts lately and I stumbled across a wonderful algorithm for down-sampling data in order to speed up chart display. Downsampling Time Series for Visual Representation[^] Maybe I really need to get out more, but I love stuff like this.

                  cheers Chris Maunder

                  G Offline
                  G Offline
                  Gary Wheeler
                  wrote on last edited by
                  #13

                  Master's theses can occasionally be a gold mine. A long time ago I was working on a project where we had CMYK data that needed to be converted/interpolated into RGB space using a CMYK gamut sample set. The data wasn't ordered or well-behaved in any fashion. We found a thesis from a student at the Rochester Institute of Technology that performed the interpolation. The algorithm was a thing of beauty. It enabled us to even design a piece of hardware that could do the conversion in real time.

                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • T Tim Carmichael

                    The OSISoft PI system has been around since the early/mid 80s. It was started by Pat Kennedy who had extensive experience in the oil/gas industry. The original name was "Oil Systems Incorporated". The system was designed to capture volumes of information from networked devices and stores the data in a proprietary format. The concept was always make data available to make informed decisions. So, versus the IoT... OSISoft was around long before the IoT. As for '500+' interfaces, that is for the place where I work. We have 500+ interfaces, but that includes multiple instances of a particular type of interface such as: OPC, DNP, HabConnect, MODBUS, PI-to-PI (data transfer between systems) and, we have some custom written interfaces.

                    G Offline
                    G Offline
                    Garth J Lancaster
                    wrote on last edited by
                    #14

                    thanks for the info - shame you can't get younger people interested - if they cant program in node.js a lot of them dont seem interested - if I were in your neck of the woods I'd be asking what sort of experience I need to replace one of your retirees :-)

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      I've been doing a bit of work on charts lately and I stumbled across a wonderful algorithm for down-sampling data in order to speed up chart display. Downsampling Time Series for Visual Representation[^] Maybe I really need to get out more, but I love stuff like this.

                      cheers Chris Maunder

                      A Offline
                      A Offline
                      AlexTCP
                      wrote on last edited by
                      #15

                      I wonder whether it would be better to make the chart's line fatter. Maybe with dithering around the edges to give even more sense of how noisy the original data is.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups