Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Welcome 2002 OSIsoft Users Conference.

Slides:



Advertisements
Similar presentations
View and manage corporate files from within Baan and ERP LN. Allows you to access the files on the network from within Baan maintain sessions!
Advertisements

Whats New In Dream Report 4.5 Renee Sikes Applications Engineer Dream Report Brand Manager.
Accel Computerized Maintenance Management System.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Empowering Business in Real Time. © Copyright 2009, OSIsoft Inc. All rights Reserved. Using PI for Reporting Regional Seminar Series Skye Blair and Alan.
Test Case Management and Results Tracking System October 2008 D E L I V E R I N G Q U A L I T Y (Short Version)
HP Quality Center Overview.
BHot-Link 7.0 View and manage corporate files from within Baan and ERP LN. Allows you to access the files on the network from within Baan maintain sessions!
This presentation is intended as a detailed WebEx, to bring potential customers to an understanding of Dream Report capabilities. This presentation focuses.
Jewelry Inventory Management Software Your Logo Here Welcome to a demonstration of Del Mar Data Systems Jewelry Inventory Management.
Solving Automation Reporting Problems with Dream Report Renee Sikes Applications Engineer Dream Report Brand Manager.
ADMS Automatic Data Master Server
Data - Information - Knowledge
Monitoring a Pipeline and Sharing Data with Key Customers How to do this when you own the pipeline but do not operate it!! Bert Stipelcovich IT Manager.
Managing Data Resources
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Components and Architecture CS 543 – Data Warehousing.
Tools and Services for the Long Term Preservation and Access of Digital Archives Joseph JaJa, Mike Smorul, and Sangchul Song Institute for Advanced Computer.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
1 I/O Management in Representative Operating Systems.
Bar|Scan ® Asset Inventory System The leader in asset and inventory management.
Maintaining and Updating Windows Server 2008
VTS INNOVATOR SERIES Real Problems, Real solutions.
Chapter 1 Introduction to Databases
1 Empowering Business in Real Time. © Copyright 2009, OSIsoft Inc. All rights Reserved. Integrating Disparate Platforms for Consistent Analysis and Batch.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Students: Nadia Goshmir, Yulia Koretsky Supervisor: Shai Rozenrauch Industrial Project Advanced Tool for Automatic Testing Final Presentation.
Tapit Call Accounting software for the 21st Century Copyright Trisys, Inc Trisys, Inc 215 Ridgedale Avenue Florham Park, NJ (973)
This chapter is extracted from Sommerville’s slides. Text book chapter
ViciDocs for BPO Companies Creating Info repositories from documents.
Classroom User Training June 29, 2005 Presented by:
Module 14: Configuring Print Resources and Printing Pools.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
Advanced PI Calculation Engine Makes Complex PI Calculations Easy! Use of EDICTvb for Multi-Plant Advanced PI Calculations Dane OverfieldEXELE Information.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Chapter 16 Designing Effective Output. E – 2 Before H000 Produce Hardware Investment Report HI000 Produce Hardware Investment Lines H100 Read Hardware.
Fundamentals Pages 1 to 19 in your workbook. A Tour of VTScada WEB – Script based, using its own programming language VTS – Visual Tag System. Added a.
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
© 2007 by Prentice Hall 1 Introduction to databases.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
PI Data Archive Server COM Points Richard Beeson.
OSIsoft User Conference Monterey, March 2002 PI ICE Deployment Industrial Evolution’s Experience with PI ICE Implementations Roland Heersink, CEO Sylvain.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
OSIsoft High Availability PI Replication
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Database Management Systems (DBMS)
1998 PI System Users’ Conference Genealogy Toolkit & Solutions ‘The Begats’ By, Jack Aude OSI Shri Chaudhary Omicron Consulting.
The Million Point PI System – PI Server 3.4 The Million Point PI System PI Server 3.4 Jon Peterson Rulik Perla Denis Vacher.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
1 Chapter 12 Configuration management This chapter is extracted from Sommerville’s slides. Text book chapter 29 1.
Linux Operations and Administration
REPORTING SOFTWARE for BUILDING & INDUSTRIAL AUTOMATION.
Install, configure and test ICT Networks
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
SAP R/3 User Administration1. 2 User administration in a productive environment is an ongoing process of creating, deleting, changing, and monitoring.
Maintaining and Updating Windows Server 2008 Lesson 8.
OSIsoft High Availability PI Replication Colin Breck, PI Server Team Dave Oda, PI SDK Team.
SQL Database Management
Graphical Data Engineering
Database Management System (DBMS)
Channel Access Concepts
Channel Access Concepts
Presentation transcript:

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Welcome 2002 OSIsoft Users Conference

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Who is Brock Solutions? North American Automation Engineering firm with offices in: Canada: Ontario, Quebec USA: Michigan, Missouri, New Jersey, Kentucky Experience in numerous industries including: Potable/Waste water Steel, Paper, Power Utilities Logistics Pharmaceuticals Privately owned and operated Over 220 employees

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic What is Outpost? Real-Time monitoring of Potable and Waste Water Systems Archiving, Retrieval and Analysis of process data High sample rates from remote equipment Exception reporting directly to operation staff Remote control of process equipment Designed for operations staff to use and maintain Regulatory Reporting Can be easily tailored to other industries that require Real-Time monitoring Developed in partnership with OCWA (Ontario Clean Water Agency)

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Installations 16 Outpost Servers across Ontario Central data collection point in Toronto, Ontario, Canada, collects process data from all locations Monitoring approximately 700 individual facilities and sites PI-UDS manages approximately 75, ,000 data points at the central data collection point

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Installations - Ontario Monitoring operations in 12 municipalities 2 municipalities in Southern Ontario 3 municipalities in Central Ontario including Walkerton 4 municipalities in Eastern Ontario 3 municipalities in Northern Ontario

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Network Architecture - Overview

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Network Architecture - Details Level 1: Outpost RTU RTU level (Control Microsystems SCADAPack) with Communications via Radio, Phone Line, or Leased Line Wired connections to I/O at each site X-Link used as a protocol bridge to existing PLCs Level 2: Regional Server Data is collected from Outpost RTUs and displayed on a local HMI based on calibrations in MS SQL Server Data is checked for exceptions and archived in the PI- UDS Data is replicated to a Central Server and optionally a backup Regional Server and using PI-to-PI Level 3: Central Server Centralized Data Archive Data from all Level 2 systems is available for data analysis and regulatory reporting

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Software Architecture - Overview

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Software Architecture – Details Level 2: Regional Server Controls the collection of data from RTUs Installed at each Regional Server Location Client software can connect to any server on the Outpost network provided a user has security clearance Single install package for client or server instances Level 3: Central Server Data Analysis components allow for data mining and data extraction Regulatory reports are produced with the Data Analysis component and Crystal Reports

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Why we selected Microsoft Visual Basic for Outpost Flexibility Allows for easy access to most COM objects (Those with IDispatch) Easy access to the Windows API Can rapidly prototype new system components in hours as opposed to days or weeks Easy to support the COM programming model Easily Understood Simple context Does not require in-depth knowledge of the application or programming environment to understand how modules work

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Why we selected the PI-UDS for Outpost Flexibility Network Access, Remote Management Programming Interfaces Easy low level access through the PI-API and PI-SDK Scalability Can expand from a small tag count to a large tag count easily Availability of Replication PI-to-PI from the Regional Servers to the Central Server Backup Procedures Scripting already provided to do archive backups to an external source or tape backup “Tried and Tested” Package

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Why we Use PI-to-PI The Central, and optional Regional backup server need to have all the data from each Regional Server Some latency between the data on the servers is acceptable Each Regional Server runs an instance of PI-to-PI for the central and an optional backup server Outpost’s PI-to-PI Configuration Historical Only mode ensures identical databases and lowers the processing requirements Up to 12 hours of automatic recovery Location1 is set to a numeric identifier for each Regional Server Location2 is set to cause time stamps to be transferred from the source server

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic How Outpost Uses the PI-UDS The Data Historian component controls access to the PI-UDS Interface Drivers Specially written for any type of Data Historian COM (Component Object Model) Based PI Interface Driver for the PI-API and PI- SDK Stores, retrieves values Manages PI tags PI tags are constructed from settings stored in MS SQL Server

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Configuring Outpost All configuration information stored in an MS SQL Server database Configurations from MS SQL Server automatically converted into PI tags by the Data Historian component Site configurations separated into templates to reduce the number of duplicated entries Designed for operations staff to use

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Organizational Structure Each level is given a short 8 character name PI tags are created by combining the short names from the Hub to Point levels SMF.C_SMF.CP1.P1.WELL.LVL.RAI The Outpost Tree component is used to display the hierarchy in all client applications

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic PI-UDS Tag Generation – Step 1 The Data Historian component loads “Tag Generation Views” from MS SQL Server Data entered using the Outpost Configurator Calculate tag attributes like CompDev, Span, Zero Tag definitions are checked against an internal list of tags to see if they are new, changed, or removed

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic PI-UDS Tag Generation – Step 2 The PI Interface driver of the Data Historian component makes calls to the PI-SDK for each tag Depending on if the tag is new, changed or deleted, different PI-SDK calls are made The Data Historian component retrieves and records critical tag attributes like PointId, and RecNo Possibility of data recovery on catastrophic failures

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Data Collection – Step 1 The polling cycle is determined by the configuration in MS SQL Server Requests are sent and received via Modbus to the Level 1 RTUs All data that arrives is assigned a time stamp that is adjusted for latency on the RTUs

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Data Collection – Step 2 The Data Queue buffers data for any Outpost server applications Queuing the data prevents data loss if a server process is busy or not running

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Data Collection – Step 3 Data is sent from a queue to an Outpost server application when it is ready to accept data Outpost servers are sent arrays of Identifier names, time stamps and values Each Outpost server maps the array of values into the organizational structure based on configuration in the MS SQL Server database

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Exception Reporting and Alarming Alarm conditions are trapped by the Real-Time Processor component as data arrives If data values exceed their threshold, they are sent to the alarm dialer software so that local operators can be notified Thresholds are user definable by using the Outpost Configurator Once the thresholds are verified, the values are sent to any HMI HMIs subscribe to certain segments of data and are notified when that data changes

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Putting Data Into the PI-UDS – Real-Time Data Data time stamps are checked to see if the data is Out of Order or Real-Time Real-Time data is passed directly through to the packager Data is converted from raw RTU values to scaled engineering values as configured in MS SQL Server Data is packaged into arrays corresponding to the data type Different data type arrays are sent to pisn_putsnapshotvaluesx one at a time (e.g. Float32s, Int32s)

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Putting Data Into the PI-UDS – Out of Order Data When data arrives that is Out of Order, it must be handled specially Step 1: The data is passed to the Out of Order data cache Step 2: The data is passed to the packager to be sent to the local PI-UDS the same way Real-Time data would be

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Out of Order Data Management On occasion, Outpost must collect data that is time stamped before the time stamp of the last PI-to-PI scan PI-to-PI will not pick up this data for replication when in history only mode Can cause the appearance of missing data on remote servers Out of Order data that falls into this category must be identified and replicated manually The Out of Order data handling routine that Outpost uses is temporary pending the release of the new version of PI-to-PI

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Replicating Out of Order Data – Step 1 On a given interval (default 10 minutes), the Out of Order data processor will load all data to be transferred Each tag is checked to see if it exists on the remote PI-UDS If the tag does not exist, the stored values are discarded as PI-to-PI will fill in the data

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Replicating Out of Order Data – Step 2 Each time stamp is checked to see if it is past the snapshot time on the remote PI-UDS This is required so that when the data is inserted it is treated as Out of Order data on the remote PI-UDS and not Real-Time data If the time stamp is past the snapshot time, the data is sent back to the cache to wait Otherwise, the data is sent to the remote PI-UDS

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Getting Data out of the PI-UDS – Requests and Responses Requests for data arrive from external applications Either by COM or TCP/IP Requests are for raw or summarized values Each request is followed by a response, even if it is as simple as an error code All requests and responses are processed asynchronously

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Getting Data out of the PI-UDS – Raw Data Two ways to get raw data If there are more then MAX_POINTS then use pisn_plotvalues Otherwise, use pisn_getarcvaluesx Non-Digital values are formatted into the requested units Formatted arrays of values are passed back to the Response Cache

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Getting Data out of the PI-UDS – Summarized Data Multiple calls to piar_summary are made for each summary code Values are formatted to the requested units Instantaneous Flow values are integrated over the time period Integration = (ARCAVERAGE * SizeOfTimePeriod) cubic meters Allows for approximate mass balancing of facilities Reduces the need for expensive hardware flow totalizers

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Viewing PI-UDS data with Outpost Trending Data requests sent to the Data Historian Module for requested tags Sent through COM on local systems or TCP/IP on remote systems Utilizes the Outpost Tree component to select data Outpost Tree component used in all client applications for navigation Hides the complexities of knowing tag names Data can be exported to CSV files for further processing

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Outpost Reporting Reports are created in Segate Crystal Reports™ Definition files are created to tell Outpost how to format the data for Crystal Reports™ Uses the Outpost Tree component to select data to view

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Process Data Summary Reports A Disconnected ADO recordset is created to hold data Allows for easy Crystal Reports™ integration with an ADO Field definition file Summary information is retrieved for each selected item from the Data Historian component and added to the ADO recordset The ADO recordset is attached to the report The report is sent to Crystal Reports™ for viewing

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Data Consistency Due to government regulations and the number of distributed servers, Outpost needs to be accountable for the data it collects and its validity The PI-DataView tool allows for consistency checks Data arrays from all servers are retrieved using piar_getarchvaluesx Data arrays are then combined into a master array keyed on the time stamp Holes are identified by searching out items in the master array with data values missing on remote servers or different values A report is generated detailing the success of the routine and whether any holes were found

Potable and Waste Water Monitoring using the PI-UDS and Visual Basic Question Period 2002 OSIsoft Users Conference