1.05k likes | 1.75k Views
Getting the Most Out of Wonderware Historian 2012 and Reporting Options. Elliott Middleton PBWW321 November 10, 2011. Invensys Enterprise Control Offerings. Corporate Systems. Industry Solutions Services: Consulting, Project Execution, Learning,
E N D
Getting the Most Out of Wonderware Historian 2012 and Reporting Options Elliott Middleton PBWW321 November 10, 2011
Invensys Enterprise Control Offerings Corporate Systems Industry Solutions Services: Consulting, Project Execution, Learning, Operational Improvement, Maintenance & Support Partner Ecosystem Corporate Software Applications Invensys and Third Party Manufacturing / Production Operations Automation Invensys and Third Party Enterprise Control System IT Platform Integration and Collaboration Platform
Where The Offerings We Will Discuss Fit Within TheInFusion Enterprise Control System Execution Integration & Collaboration Platform Enterprise Asset Management Mobile Workforce Management Manufacturing Execution Systems Batch Performance Software Applications Enterprise Manufacturing Intelligence Performance Measurement and Reporting Asset Performance Enterprise Integration Visualization Quality Optimization Workflow Advanced Process Control Simulation / Optimization Design Operator Training Third-Party Offerings Open Device Integration Web Portal Control Automation Software Applications DCS PAC SCADA HMI Application Toolkit Safety Turbomachinery Control Safety Instrumented Systems General Purpose Safety Historian Measurement & Instrumentation Recorders Instrumentation Controllers
Historian 10.0 • Technology Update • Better solutions for geo-SCADA • Improved namespace integration • Broader usage of data Assuming familiarity with Historian 9.0
Historian 10.0 • Technology Update • Better solutions for geo-SCADA • Improved namespace integration • Broader usage of data
Historian Technology Support No cluster support planned
SQL Server 2008 Considerations • Install • Must select 32-bit when using 64-bit OS • When using SQL Server 2008, requires SP1 • Be deliberate with “Provisioning” (sysadmin) • Clients • Require “SQL Server Native Client” for 2008 (SQLNCLI10) • Included on the SQL Server CD • Without it: ”Invalid attempt to GetBytes on column 'DateTime'” • Exposes 1 millisecond resolution (2005 still 3.3 millisecond) • No support for SQLXML 3 used by ActiveFactory/WIS • Editions: Express, Standard, Enterprise (default instance)
Historian 10.0 • Technology Update • Better solutions for geo-SCADA • Improved namespace integration • Broader usage of data
Tiered Historians Tier-2Centralized reporting & system of record Tier-1Local troubleshooting & buffering Application Server I/O InTouch
Tiered Historians: All Data (“Simple”) Tier 2 Example: 1-second data Replicate all data for selected or all tags Tier 1 Example: 1-second data
Tiered Historians: Summary Data Tier 2 Example: 5-minute, hourly, daily data ∑ “Summary” Tag Many aggregate values for each Tier 1 Example: 1-second data
Summary Tag Aggregates • Analog • Time-weighted average, standard deviation & variance • Integral • First/last value in period with timestamp • Min/max value in period with timestamp • Seconds of “good” values • State (for each state) • Number of occurrences (partial & contained) • Shortest/longest/average occurrence (partial & contained) • Total/percent occurrence (partial & contained) Each summary tag has all aggregates
Local Summary Replication Alternative to existing Summary System
Multiple Tier-2 Historians New Orleans Houston
Network Isolation & Tiered Historians Tier-2: Corporate Network Single port from control network No open ports from corporate network Tier-1: Control Network Application Server I/O InTouch
Robust Tiered Historians • Store-forward between tiers • Spread load across period when possible • Propagate From Tier 1 • Store-forward events • Inserts/Updates • “Late” Data • No tag count increase (150,000)
Preconfigured Added “Tier 1” System
“Tier 2” System “Pushed” from Tier 1
Historian 9.0 Architecture Active Factory Microsoft SQL Server Core Storage System I/O History Blocks
Historian 10.0 Architecture Historian Client Microsoft SQL Server “Tier 1” Engine “Tier 2” Engine From Tier 1 I/O
New Historian Services “Tier 2” Storage/ Retrieval Engine “Tier 1” Replication Service New WCF-based API
Replication Architecture Tier 2 • “Live” data uses running accumulators • “Old” data uses Retrieval-based Synchronization “Tier 1” Engine “Tier 2” Engine I/O Single TCP port MDAS Service Tier 1 Replication Service “Tier 1” Engine Three Channels • Streaming data I/O • Buffered data (late/SF)* • Updates/inserts* * Go to “synch queue”
Replication Security Tier 2 “Foo” in “aaReplicationUsers” Group “Tier 1” Engine I/O Replication Server User “Foo” I/O Tier 1
Monitoring Replication On Tier 2 “0” can be a permission problem On Tier 1
Schedules & Groups “Tier 1” System Replication Schedules • Defines periods • Abbreviation for schedule Replication Groups • Selects a schedule • Abbreviation for group • Default naming scheme
Manually create groups to use a schedule • Can be added automatically to new servers
Replication & “Odd” Periods • Always based on local Tier 1 time • Always anchored at midnight Period = 5 hours 4 hours
Replication & Daylight Savings Time • Always based on local Tier 1 time • Period: Fixed frequency • Custom: Fixed time-of-day “Fall Back” Custom: 0, 4, 8, 12, 16, 20 “Fall Back” Period = 4 hours “Fall Back” Period = 30 min 4 hours 5 hours 1 hour
Replication & Daylight Savings Time • Always based on local Tier 1 time • Period: Fixed frequency • Custom: Fixed time-of-day “Spring Forward” Custom: 0, 4, 8, 12, 16, 20 “Spring Forward” Period = 4 hours “Spring Forward” Period = 30 min 4 hours 3 hours 3 hours
Question If a single summary tag contains multiple aggregates values, how do you access each in a query?
Summary Retrieval • Existing 9.0 “Extension Tables” • History • WideHistory • StateWideHistory • New 10.0 “Extension Tables” • AnalogSummaryHistory • StateSummaryHistory • Use all with conventional & summary tags
Comparing “BestFit” Retrieval Source Tag 1 minute Summary 1 Hour
Retrieving Summary Data • Query Resolution Examples: 1-minute Summary • 1-minute: returns stored values • 1-hour: summarizes 60 1-minute values • 30-second: divides 1-minute values • Cycle Boundary Alignment • Uses stored values when aligned • Prorates stored values otherwise
Historian 10.0 • Technology Update • Better solutions for geo-SCADA • Improved namespace integration • Broader usage of data
Names In Application Server Hierarchical Name Object Tagname Contained Name Attribute Reference
Application Server Namespace Historian Client ArchestrA IDE
Hierarchical Names In Historian Client 10.0 • Supported In • Trend • Query • Workbook (Excel) • Report (Word) • Controls • In Trend Impacts • All Tag Labels • Tag Picker TagName/Hierarchical Name Toggle
Both accept wildcards Both return single-column, table results New Database Functions dbo.faaGetHierarchicalAttributeNames(TagName) dbo.faaGetHistorianTagNames(HierachicalAttributeName)
Historian 10.0 • Technology Update • Better solutions for geo-SCADA • Improved namespace integration • Broader usage of data
Broader Usage Of Data • "Cleansing" • More important further from process • Instrument error can accumulate • Expanded Industrial Aggregation • More "time-in-state" aggregates • Floating point "counter"
Integer Counter 9.0 Review Cyclic Looks like constant rate
Counter Retrieval Full Counter • 9.0: Integer analog tags only • 10.0: Add real analog tags (flow meters)
Integral vs. Average 9.0 Review Full liters/min Integral liters Average liters/min Now what’s the difference? Scale When is it important? Reporting
Reporting Support: Industrial Data Cleansing Spikes “Gaps” or “bad” data quality
Removing Outliers • Supported for all modes • Most useful for aggregate modes • Average • Integral
Filter Outliers (“SigmaLimit”) SELECT DateTime,vValue,StateTime,wwFilter FROM History WHERE TagName IN('Reactor1Level') ANDDateTime>='2010-07-04 15:00:00' ANDDateTime<='2010-07-04 17:00:00' AND wwRetrievalMode ='avg' AND wwFilter = 'SigmaLimit(2)'