1
Slice and Dice your PI System Data with MS BI Tools Presented by John Bradley and Caroline Hughes
Convergence of IT and Operations Control Systems, DCS and Automated Equipment Customer Relationship Management (CRM) Enterprise Asset Management (EAM/SAM) Supply Chain Management (SCM) Enterprise Resource Planning (ERP) Business Intelligence and Enterprise Performance Management From Concrete to Carpet Plant Floor Visibility Plant Operations Enterprise Mfg Visibility Shipping/Receiving Materials Handling Production Control / MES SCADA and HMI Quality Management Product Lifecycle Management (PLM) Laboratory Information Management Document Management Regulatory Affairs EH&S
3
Where to start? Organisational Business Insight Publish Solution PowerPivot user specifies the data sources SharePoint automatically refreshes the data Microsoft Access Oracle Teradata PI System Text Files Excel Files SQL Server Microsoft Reporting Services Sybase Informix IBM DB2
6
Why What - 2013 How - 2013 7
Visualization of PI System Data Classic View Tag Value Time Single Dimension 8
8 6 4 2 0 More and more data World s Information (zettabytes) Today PI Server 2012 2010 Max Point Count 20M+ 2 3M Startup Time <30 sec/mpts >10 min/mpts Point Creation 500 2K pt/sec <100 pt/sec Data Out (Archive) >10M ev/sec <1M ev/sec Data In (Snapshot) >1M ev/sec <200K ev/sec Data In (Archive) >500K ev/sec <100K ev/sec Online Archives >50K files <10K files Source: http://www.emc.com/leadership/programs/digital-universe.htm 9
Asset and Event Driven Data Retrieval Time- Series Data PI Server 2012 Assets Events 10
Visualization of PI Data - AF view Asset Value Time 11
Visualization of PI Data - AF view 12
Visualization of PI Data - AF view Asset Value Time 13
Slices BI Data Cube Pivots Time Location Type 14
BI Tools Multiple Dimensions Relationships between attributes (not time based) Time intelligence Self Serve analytics 15
Excel 2013 BI Worksheets Power View Reports Data Model Tables PI Server 16
Pivots Visualization of PI System Data - BI View Profile Correlational Gas Flow Geospatial Performance vs Target (KPIs) 17
Demand Profile and Network Analysis Substation Feeders Pole Transformers Meters 18
19
20
OiI Refinery Performance Report Scoring Operational Objectives Quality Production Energy Comparison across sites 21
Powerview Self-serve analytics 22
23
24
Excel 2013 BI Worksheets Pivot Tables & Charts Power View Reports Excel Tables Data Model PowerPivot Tables External Data Sources PI OLEDB Enterprise 25
Toolkit for Operational Insight 2013 Update Enterprise PI Server 2012 PI OLEDB Enterprise PowerPivot for Excel 2010 Power View 26
PI System BI Toolkit 2013 PI Server 2012 PI OLEDB Enterprise 2012 PI Event Event Frames Frames 27
PI System BI Toolkit 2013 PI Server 2012 PI Datalink 2013 Excel Tables Ad Hoc PI OLEDB Enterprise 2012 28
PI System BI Toolkit 2013 PI Server 2012 PI OLEDB Enterprise 2012 29
Building the Model Step 1: PI Asset Framework 30
PI Asset Framework Structure 31
PI Asset Framework Templates Element Template Connect data for related assets Define attributes, that are important for analysis and visualization 32
PI Asset Framework Asset Structure Attributes Templates 33
PI Asset Framewok Asset Structure PI OLEDB Enterprise PI Time Series Data 34
Building the Model Step 2: PI OLEDB Enterprise 35
PI OLEDB Enterprise 2012 PI SQL Commander OLEDB Provider and AFSDK client SQL based access to: PI AF metadata PI System Time Series Data PI Event Frames 36
PI OLEDB Enterprise Catalog = AF Database Asset Schema Element Hierarchy Element Attribute Data Schema Snapshot Archive Interpolated Data - Table Value Functions 37
PI OLEDB Enterprise Custom Transpose Functions Return columns of attribute data based on an AF Element Template. 38
PI SQL Commander Function Wizards 39
PI OLEDB Enterprise - Views 40
Adding Event Frames to the Model 41
PI Event Frames Name = DT23032012-2 Start time = 23-Mar-2012 09:32 End time = 23-Mar-2012 09:50 Record process or business events Asset = Boiler 3 Attribute = Mechanical Attribute = Fuel line clogged and help you find the related real-time data. 42
Different types of events Batch Startup Downtime BPS77-23032012-2 23-Mar-2012 09:32 23-Mar-2012 09:50 Recipe Product Source ST23032012-2 23-Mar-2012 09:32 23-Mar-2012 09:50 Procedure DT23032012-2 23-Mar-2013 09:32 23-Mar-2012 09:50 Comment Reason code 43
Event Frames - Templates 44
PI OLEDB Enterprise 2012 Event Frame Schema Custom transpose functions return columns of attribute data based on an Event Frame Element Template. 45
Further Information 46
Demo Booth Product Education Day You Tube Videos: OSIsoft: PowerPivot and PI Data Video Series OSIsoft: Import PI data to PowerPivot: Step 1 Prepare the PI AF Structure OSIsoft: Import PI data to PowerPivot: Step 2 Create Transpose Functions with SQL Commander OSIsoft: Import PI data to PowerPivot: Step 3 Create Views with SQL Commander OSIsoft: Import PI data to PowerPivot: Step 4 Import Views with PI OLEDB to Excel 47
John Bradley jbradley@microsoft.com Manufacturing & Resources Industry Development Manager Microsoft Australia Caroline Hughes caroline@osisoft.com Technical Support Escalation Engineer OSIsoft Australia 48
Brought to you by