Developing Analytics with Microsoft StreamInsight & PI for StreamInsight



Similar documents
OPTIMIZING YOUR PI SDK APPLICATIONS BUILDERS' CAFÉ WEBINAR SERIES

Complex Event Processing (CEP) Why and How. Richard Hallgren BUGS

FUTURE DATA Yes, it s finally coming to the PI System!

OSIsoft Field Service Adding Value to your PI System

Copyright 2013 OSIsoft, LLC. 1

Best Practices for Using and Deploying the Asset Framework

MCN Health Monitor. The finger on the pulse of your critical systems. David Tayler Service Engineer, OSISoft

The Power of Analysis Framework

Enterprise Data Integration for Microsoft Dynamics CRM

CRM Magic with Data Migration & Integration

Actionable Knowledge from Refined Data with Microsoft Business Intelligence

SQL Server An Overview

126 SW 148 th Street Suite C-100, #105 Seattle, WA Tel: Fax:

Course 10337A: Updating Your Microsoft SQL Server 2008 BI Skills to SQL Server 2008 R2

PI System and Microsoft SQL Server Requirements. March, 2013

Migrating to AF and AF driven Power applications

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

Realistic? Content management initiatives can be a huge investment of time, money, and resources.

SharePoint 2010

MS 10978A Introduction to Azure for Developers

The Road Ahead: Bridging Platform Releases 1 and 2. Ken Marsh Service Manger OSI Software Asia

SQL Server Replication Guide

Advansoft ODM PLANT MOBILE DATA MANAGEMENT & DECISION SUPPORT SYSTEM

Integrating Predictive Models and Microsoft BI

Time series IoT data ingestion into Cassandra using Kaa

The New World of Data

SharePoint 2010 Performance and Capacity Planning Best Practices

Big Data and Advanced Analytics Technologies for the Smart Grid

Implementing a Data Warehouse with Microsoft SQL Server

Performance Testing: Migrating Large Lotus Notes Databases to Office 365

Reduce and manage operating costs and improve efficiency. Support better business decisions based on availability of real-time information

SAP BusinessObjects BI Clients

MicroStrategy Course Catalog

White Paper. How Streaming Data Analytics Enables Real-Time Decisions

COURSE 20463C: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

Condition-based Maintenance (CBM) Across the Enterprise

DTE Energy: an Enterprise PI approach

Implementing a Data Warehouse with Microsoft SQL Server

Microsoft. Course 20463C: Implementing a Data Warehouse with Microsoft SQL Server

PI Cloud Connect Overview

PI Web Services 2010 Release Notes

Cisco NetFlow Reporting Instruction Manual Version 1.0

6 Steps to Faster Data Blending Using Your Data Warehouse

Getting Real Real Time Data Integration Patterns and Architectures

How To Write A Summary On A Historyorian Server

YOU VS THE SENSORS. Six Requirements for Visualizing the Internet of Things. Dan Potter Chief Marketing Officer, Datawatch Corporation

Introduction. Key Benefits. Data Storage. Data Retrieval. TechTip: Wonderware Historian a Look at Different Data Retrieval Methods.

FHWA Office of Operations (R&D) RDE Release 3.0 Potential Enhancements. 26 March 2014

ITMC 2079 MCTS Configuring and Administering Microsoft SharePoint 2010

2007 to 2010 SharePoint Migration - Take Time to Reorganize

Implement a Data Warehouse with Microsoft SQL Server 20463C; 5 days

Copyright 2016 OSIsoft, LLC

Connectivity Pack for Microsoft Guide

TIBCO Spotfire Metrics Modeler User s Guide. Software Release 6.0 November 2013

Top 10 Reasons to Love Your Modern PI Server

obems - open source Building energy Management System T4 Sustainability Ltd

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

Course 10978A Introduction to Azure for Developers

Administering Microsoft SQL Server Databases

Updating Your Microsoft SQL Server 2008 BI Skills to SQL Server 2008 R2

"Charting the Course... MOC AC SQL Server 2014 Performance Tuning and Optimization. Course Summary

DirectQuery vs In-Memory in BISM

Course 55144B: SQL Server 2014 Performance Tuning and Optimization

Symantec NetBackup for Microsoft SharePoint Server Administrator s Guide

Prerequisites. Course Outline

End to End Solution to Accelerate Data Warehouse Optimization. Franco Flore Alliance Sales Director - APJ

SQL Server 2014 Performance Tuning and Optimization 55144; 5 Days; Instructor-led

How to Setup SQL Server Replication

Updating Your SQL Server Skills to Microsoft SQL Server 2014

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Implementing a Data Warehouse with Microsoft SQL Server MOC 20463

COURSE OUTLINE MOC 20463: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

From Dolphins to Elephants: Real-Time MySQL to Hadoop Replication with Tungsten

Course Outline. SQL Server 2014 Performance Tuning and Optimization Course 55144: 5 days Instructor Led

Online Courses. Version 9 Comprehensive Series. What's New Series

OpenAdmin Tool for Informix (OAT) October 2012

Course 20462C: Administering Microsoft SQL Server Databases

UK Power Networks Distribution Network Visibility

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008

Publish Acrolinx Terminology Changes via RSS

Consumption of OData Services of Open Items Analytics Dashboard using SAP Predictive Analysis

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

Developing Scalable Smart Grid Infrastructure to Enable Secure Transmission System Control

Where is... How do I get to...

Dell InTrust Preparing for Auditing Microsoft SQL Server

The PI System and Hadoop: Unleash the Power of Big Data

Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

Administering Microsoft SQL Server Databases

Intelligent Data Management Framework in Microsoft Dynamics AX 2012

Installation and Upgrade. Guide. For PI Asset Framework included with PI Server 2014 R2

East Asia Network Sdn Bhd

Cass Walker TLG Learning

Course 55144: SQL Server 2014 Performance Tuning and Optimization

Getting Started with Telerik Data Access. Contents

Using Tableau Software with Hortonworks Data Platform

Managing the PowerPivot for SharePoint Environment

MS 10977B Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

Myriad Technologies Training 5 Day Level 200 Introduction

Updating Your SQL Server Skills from Microsoft SQL Server 2008 to Microsoft SQL Server 2014

Course Outline: Course: Implementing a Data Warehouse with Microsoft SQL Server 2012 Learning Method: Instructor-led Classroom Learning

Transcription:

Developing Analytics with Microsoft StreamInsight & PI for StreamInsight Presented by Mark Hughes OSIsoft

New Products Microsoft StreamInsight in R2 PI for StreamInsight in PI Server 2010 2

Challenges Increasing amount of data Integration of data for analysis Data quality management Finding better ways to analyze data 3

Microsoft StreamInsight In-memory data processing engine Event driven, incremental computations.net and LINQ programming environment Correlate multiple, heterogeneous data sources Modular design engine and adapters 4

PI for StreamInsight Input and Output adapters for StreamInsight Analytics using Microsoft StreamInsight Other Input Adapter(s) PI Input Adapter Microsoft StreamInsight Queries Other Output Adapter(s) PI Output Adapter PI Data Archive 5

Terminology Stream is a series of events Event Event Event Event Event Event Events contain a payload Payload Sensor10 3.14 Good Gas Turbine 2 Online 6

Database application 7

Streaming application var query = from e1 in stream1 join e2 in stream2 on e1.i equals e2.i select new { e1.i, e1.j, e2.j }; 8

Typical StreamInsight Queries Give me the Top 3 values every 10 minutes Filter out sensor readings when the device was in a maintenance period Tell me when an event A was followed by an event B within 3 minutes 9

Use Scenarios Event detection Vibration analysis & meter data outage management Cleanse and monitor sensor data Inform users of data issues Other Industry examples Clickstream analysis for user behavior Risk analysis for business activity monitoring 10

Cleanse and monitor sensor data Outside acceptable limits or invalid Monitor 1000-10,000s of data points Support data bursts upward of 10,000 events/second External meta-data for validation rules Call 3 rd party or custom library for validation 11

Cleanse and monitor sensor data Custom data cleansing routines datastream Validation Query dirtystream qualitystream cleanstream alldatastream Detect events query thresholdstream Investigative Query investigatestream 12

Vibration Event detection & Analysis Requirement Detect limit exceedance for 12,000 data streams and events/sec Replicate a data window of 60 minutes to the second PI System on event detection Benefit Enable failure analysis with data from each event 13

Meter reporting validation missingdatastream = from left in coverstream where (from right in where left.tag == right.tag select right).isempty() select left; meterstream coverstream meterstream Missing DataStream 14

Meter reporting validation traditional method public List<DateTime> MissingIntervals(DateTime start, DateTime end, TimeSpan interval, String servername, String tagname) { List<bool> foundintervals = new List<bool>(); for (DateTime intervalstart = start; intervalstart - interval < end; intervalstart += interval) foundintervals.add(false); PISDK.PISDK sdk = new PISDK.PISDK(); PISDK.Server server = sdk.servers[servername]; PISDK.PIPoint pipoint = server.pipoints[tagname]; PISDK.PIValues pivalues = pipoint.data.recordedvalues(start, end, BoundaryTypeConstants.btOutside, string.empty, FilteredViewConstants.fvShowFilteredState, null); foreach (PISDK.PIValue pivalue in pivalues) { long intervaloffset = ((long)(pivalue.timestamp.utcseconds * TimeSpan.TicksPerSecond) + interval.ticks / 2 - start.ticks) / interval.ticks; if (intervaloffset >= 0 && intervaloffset < foundintervals.count) foundintervals[(int)intervaloffset] = true; } List<DateTime> missing = new List<DateTime>(); for (long intervaloffset = 0; intervaloffset < foundintervals.count; intervaloffset++) { if (!foundintervals[(int)intervaloffset]) missing.add(start + TimeSpan.FromTicks(intervalOffset * interval.ticks)); } return missing; } 15

Where does StreamInsight fit within the PI System? Configuration Performance Equations Totalizers Statistical Quality Control PI AF formula data reference PI Analytics Programming PI Advanced Computing Engine (PI ACE) Microsoft StreamInsight & PI for StreamInsight PI AF custom data reference 16

PI ACE and PI for StreamInsight features Features and Capabilities PI ACE PI Server Collective and PI Server buffering support Scheduler or can run as a Windows Service Recalculation Wizard and Manager High level query language LINQ ( SQL Like ) PI for StreamInsight Performance events/sec 1000 s* > 10,000 s* 17

How does StreamInsight work? PI Input Adapter PI Output Adapter PI System 18

StreamInsight Features Benefit StreamInsight Features Simple configuration for PI Tags PI Adapters support tag searches Support complex payloads Event types are.net structures Process high data rates Low latency and in excess of 10,000 events/sec* Minimize load on server In-memory storage and processing of data Query across different data sources Don t need to know about PI SDKs Normalized events, join streams.net, LINQ and PI Configuration for adapters only 19

StreamInsight Environment Modular Queries and collaboration Multiple clients sharing a single StreamInsight server Trace the event flow of queries Prototype queries in a sandbox 20

StreamInsight Software Microsoft SQL Server 2008 R2 StreamInsight inside Standard (single processor) with Standard, Web, or Enterprise version of SQL Server Premium (multi-processor) with DataCenter version of SQL Server PI for StreamInsight PI Adapters Stream events as they arrive at the PI Data Archive Write events to PI System Part of PI Server 2010 21

More Information OSIsoft Virtual Campus OSIsoft vcampus Live 2010 presentation Download version for development Forums Microsoft StreamInsight blogs, forums Hitchhiker s Guide to StreamInsight 22