WW INFO-07 Valuable Information From Wonderware System Platform 2014 R2 Elliott Middleton
Historian 2014 R2 Is Amazing! Simple to manage, high performance alarm & event history Impressive network bandwidth efficiency System time independence Easy summaries in ArchestrA Graphic dashboards Expanded tag types (double) Power user utilities for value imports & tag rename
Historian Storage Evolution Historian 9.0 SuiteLink Tags Engine Tags Historian 10.0 SuiteLink Tags Engine Tags Replicated Tags Historian 2012 R2 SuiteLink Tags Engine Tags* Replicated Tags Historian 2014 SuiteLink Tags Engine Tags* Replicated Tags Alarm & Events Historian 2014 R2 SuiteLink Tags* Engine Tags* Replicated Tags Alarm & Events Classic Storage Storage Engine SQL Server Event Storage * Newly collected data in Storage Engine, previous Classic data still accessible
Historian 2014 Architecture Active Image SQL Server Historian OLEDB Retrieval Application Server <3.5 IDAS Historian 9.0 SDK Classic Storage History Blocks Storage Engine Application Server 3.5+ Replication Historian 11.0+ SDK
Historian 2014 R2 Architecture Active Image SQL Server Historian OLEDB Retrieval Application Server <3.5 IDAS Historian 9.0 SDK Classic Storage Redirector Classic Storage History Blocks Storage Engine Application Server 3.5+ Replication Historian 11.0+ SDK
Tag Editor Historian 2014 R2 Historian 2014 & earlier
Unified History: Alarm & Event History Easier To Manage Archive/purge/restore using Windows Explorer, etc. No need to purge to sustain storage Performance Significantly higher storage rates Capacity limited by disk space, not insertion rate History Blocks Event Storage Application Server 4.1
Historian 2014 R2 Architecture ArchestrA Graphic Alarm Client Historian Client Historian Client 2014 R2 odata/rest SQL Server odata/rest WWALMDB A2ALMDB Historian OLEDB Retrieval Retrieval Not supported in 2014 R2 Alarm DB Logger InTouch Application Server 4.0 Application Server 4.1 Event Storage History Blocks Storage Engine Application Server 3.5+ Replication Historian 11.0+ SDK Application Server <3.5 IDAS Historian 9.0 SDK Classic Storage Redirector
Selecting Alarm & Event Storage
Historian Interface Capabilities Interface On-Premise 2014 R2 On-Premise Future Process Event A2ALMDB Process Event A2ALMDB Managed SQL read? SQL store SDK read? SDK store odata read odata write???
odata/rest General Simple HTTP queries Results as JSON Works in any browser Recommend Chrome & JSONview extension Historian 2014 R2 Must be in aa local group Native Excel 2013 & 365 Recommend Power Query add-in Exact properties in transition Use Historian.htm Several example queries
Excel Power Query Copy URL from Historian.htm For PowerPivot, need to add &format=atom
Block Management Circular Alternate Buffer Permanent
Block Creation Historian 2014 & earlier Based on system time Startup/shutdown Block duration Block size Manual (SMC, stored proc) 10110011 10010011 01010011 00001101 11001101 01001100 01101011 01001111 01100000 01011001 01100111 00011001 Historian 2014 R2 & later Based on time of data Assigned based on duration
History Blocks in 2014 R2 Commit Changes Only pushes configuration Applied immediately No More Block changeover Manual Block Creation Patch Blocks New blocks on startup Headroom settings Removes last of legacy code in system core
Detailed Consequences System Parameters AIAutoResize dropped AIResizeInterval dropped HeadroomX dropped TimeSyncMaster dropped Added MaxSnapshotSize Stored Procedures No Ops xp_newhistoryblock xp_rescanhistoryblock xp_setstoragexdeadband Tag Columns Dropped AITag AIRetrievalMode SamplesInActiveImage CalculatedAISamples
Time-stamp Age Historian 9.0-30.0 sec to +0.999 sec Timestamp overwritten; values in future Late Real-time Future Values in the past did not fit within the real-time window Historian 2012 R2 & 2014 (Application Server only) Streamed Now on Server Timestamp overwritten; values in future Future Historian 2014 R2 (Application Server & SuiteLink*) Streamed * While in store-forward, future time limits still apply to IDAS Important for VMs & poorly synchronized clocks
Time Independence Example Now 5-minutes early 1-minute early Live 1-minute late 5-minutes late
File Import (aahimport.exe) Single file or Folder Watcher Streamed/non-streamed UI & Command Line Local/remote LGH & CSV
Classic Storage Storage Engine Old/Late Real-time Non-streamed Streamed Time Limits < t -30 t < +1 t < +24 hours* Live SuiteLink (aahiosvrsvc) Replication Queued Streamed Queued Streamed Import SQL LGH, CSV, FastLoad INSERT/ UPDATE Realtime LGH, CSV, FastLoad INSERT/ UPDATE LGH, CSV, FastLoad via Utility* Realtime * New in Historian 2014 R2
Tag Rename
Bullet Chart Good Range Current = PV Target = SP FFC FT
Statistics Works okay Can t use it to compare different periods Why not use Historian?
Historian Custom Property Average Count First Integral Maximum Minimum Percent PercentGood StdDev Total Blank for now as end time For state statistics, select which one
Example
Comparison To Extension Table Columns aahistorystat AnalogSummaryHistory StateSummaryHistory Average Average StateTimeAvgContained Count ValueCount StateCountContained First First* Integral Integral Maximum Maximum* StateTimeMax Minimum Minimum* StateTimeMinContained Percent StateTimePercent PercentGood PercentGood StdDev StdDev Total StateTimeTotal * Uses the timestamp of the associated value
Historian Network Bandwidth 53% savings 92% savings No Compression 2014 P1 w/ Compression 2014 R2 w/ Compression* * Applies to tier 1. Tier 2 savings is 18%. No change for Remote IDAS.
System Platform 2014 R2 Distribution 4.6 GB Historian: 98 MB Historian Client: 180 MB Prerequisites: 295 MB SQL Express: 1,300 MB Supported approach to create subsets Does not expand compatibility
Tag Editor Historian 2014 R2
IEEE Floating Point Single Precision (32-bits) 8-bit exponent 23-bit fraction ~7 decimal places Double Precision (64-bits) 11-bit exponent 52-bit fraction ~13 decimal places π = 3.1415927 π = 3.1415926535898 True value of π = 3.1415926535897932384626433832795 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 What if your instrument has 5-digits of precision?
Is Your System Like This? As Designed Reality Expanded support for optimistic quality More robust counter
Counter: Routinely Rolls Over Infer these points Rollover Point
Counter False Rollovers Reverse Reset (when normally rollover) Introduced Counter Deadband 0=pre-R2 behavior
Optimistic Full Optimistic
Optimistic: Initial Value select DateTime, Value, wwresolution, Quality, QualityDetail, OPCQuality from History where TagName in ('LocalRamp.WaveQ') and DateTime = '2014-08-28 9:45:00' and wwretrievalmode='delta' and wwqualityrule='optimistic' Full
System Tag Changes CPU SysPerfCPUn: Deprecated SysPerfCPUTotal: Across all cores (unchanged) SysPerfCPUMax: Highest single-core load SysPerfserviceCPU: % across all cores (previously 0-100 for a single core, even on multicore systems) Memory SysPerfcomponentBytes: Now modulo 4GB (vs. clamped at 2GB) SysPerfcomponentMBytes: New
System Tag Changes: CPU 100% <R2 75% 50% 25% 0% 0 1 2 3 Total Max Service Core (25+75+0+50)/4 =38% MAX(25,75,0,50) =75% (25+0+0+50)/4 =19%
Historian 2014 R2 Is Amazing! Simple to manage, high performance alarm & event history Impressive network bandwidth efficiency System time independence Easy summaries in ArchestrA Graphic dashboards Expanded tag types (double) Power user utilities for value imports & tag rename
Check Out SmartGlance 1. Install App 2. Log in Email: demo@invensys.com Password: password
Historian Scalability Challenge: Manageability 100,000 150,000 Tiered 500,000 Tiered 2,000,000 Tiered Managed 9.0 (released 2005) 2012 (aka 10.0) 2012 R2 (aka 11.0) ~70,000 licenses sold vs. ~800,000 InTouch licenses 2014 (aka 11.5) Challenge: Performance
Managed Historian Drive Historian into new applications HMI-only embedded (OEM) applications Targeted VAR applications (e.g. water, coal seam gas) Small applications in large customers (e.g. 5-tag farm) Remove obstacles to a Historian De-skill setup (5-minutes or less, zero training) Eliminate all routine maintenance (disk, passwords, etc.) Convert from capital to operational costs Not about converting existing customers
Historian Publisher Conceptually, combination of Setup wizard with login to managed Historian account An InTouch tag Importer selects all historized tags A Remote IDAS for managed Historian Will be extended for Citect SCADA Indusoft & InTouch Machine Edition
Client Connectivity Options On-Premise Managed SQL (TCP) Historian Client 2014 R2 odata* Early 2015 Trend only * On-premise odata support in Historian 2014 R2 Patch 1
Responsibilities On-Premise Licensing Servers Tags Clients User Device Managed Customer Customer Customer Subscription:? +? Users + Term Concurrent CALs InTouch Historian
Information Server 2014 R2 ArchestrA Graphics Updates Significantly faster with Silverlight 5 Scripting support for opening windows Trend supports Managed Historian Cybersecurity hardening SQL Server 2014 support
Session: WW INFO-07 elliott.middleton@schneider-electric.com 2014 Schneider Electric. All Rights Reserved. All trademarks are owned by Schneider Electric Industries SAS or its affiliated companies or their respective owners.