Wonderware Historian 2014 R2 Technical Overview Schneider Electric 3 - Software Historian 2014 R2...

download Wonderware Historian 2014 R2 Technical Overview Schneider Electric 3 - Software Historian 2014 R2 Features ●Simple to manage, high performance alarm.

If you can't read please download the document

Transcript of Wonderware Historian 2014 R2 Technical Overview Schneider Electric 3 - Software Historian 2014 R2...

  • Slide 1
  • Slide 2
  • Wonderware Historian 2014 R2 Technical Overview
  • Slide 3
  • Schneider Electric 3 - Software Historian 2014 R2 Features Simple to manage, high performance alarm & event history Network bandwidth efficiency System time independence Retrieval Exception Handling Easy summaries in ArchestrA Graphic dashboards Expanded tag types (double) Power user utilities for value imports & tag rename
  • Slide 4
  • Schneider Electric 4 - Software 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 Alarm & Events Engine Tags* Replicated Tags Classic StorageStorage EngineSQL ServerEvent Storage Historian 2014 R2 SuiteLink Tags* Engine Tags* Replicated Tags Alarm & Events * Newly collected data in Storage Engine, previous Classic data still accessible
  • Slide 5
  • Schneider Electric 5 - Software Historian 2014 Architecture History Blocks SQL Server Historian OLEDB Retrieval Storage Engine Classic Storage Historian 9.0 SDK IDAS Application Server
  • Schneider Electric 27 - Software Original Data Snapshot Structure Snapshot Header Tag Lookup Area Nodes Tag Lookup Area Leafs VTQ Area >> 16-byte snapshot signature version, time range, creation time total snapshot size balanced multi-way search tree by tagid Tag Details Tag VTQs 64-bit offset per tagid de-duplicated sequence of VTQs per tagid
  • Slide 28
  • Schneider Electric 28 - Software 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
  • Slide 29
  • Schneider Electric 29 - Software History Block Structure Historian 11.5 Historian 11.6 blockstatus.dat block80.inf Classic Data & Metadata
  • Slide 30
  • Schneider Electric 30 - Software 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
  • Slide 31
  • Schneider Electric 31 - Software Detailed Consequences No ActiveImage Settings in Config Editor All Tags Get Upgraded During Product Installation Data Can Be Stored on Top of Legacy No Waiting for Next Block On Commit Reliable Daylight Savings Transitions
  • Slide 32
  • Schneider Electric 32 - Software Time-stamp Age Real-time Future Late Historian 9.0 -30.0 sec to +0.999 sec Timestamp overwritten; values in future Now on Server Future Streamed Historian 2012 R2 & 2014 (Application Server only) Timestamp overwritten; values in future Streamed Historian 2014 R2 (Application Server & SuiteLink*) Values in the past did not fit within the real-time window Important for VMs & poorly synchronized clocks * While in store-forward, future time limits still apply to IDAS
  • Slide 33
  • Schneider Electric 33 - Software Classic Storage System Clock Dependency Storage Relied on Classic History Block Infrastructure Complicated Classic History Block Sync Protocols Classic Storage Created New Current Blocks Classic Storage Updates End Time every 20s Indexing Service Created Old Patch Blocks Future VTQs Get Overwritten (QualityDetail 448) INSERTs/UPDATEs/CSV Rejected if Too Close History Block Changeovers VM Issues (time sync/suspend/resume) Disconnect NULL Injection by Current Server Time
  • Slide 34
  • Schneider Electric 34 - Software Historian 11.6 System Clock Independence Future VTQs Can Be Stored And Retrieved INSERTs/UPDATEs/CSV Can Be Anywhere in Time No Block Changeovers No Current History Block Block Creation is Data Driven HCAP Injects Disconnect NULLs with Current Server Time for Tags of ChannelStatus=1 Time Synchronization is Needed if You Care! No Future Time for IDAS in Store/Forward
  • Slide 35
  • Schneider Electric 35 - Software Time Independence Example Now 5-minutes early 1-minute early Live 1-minute late 5-minutes late
  • Slide 36
  • Schneider Electric 36 - Software oData Connectivity Options oData (REST) Integrated History Alarm Event Process More secure Initially, read-only Namespace Customization Annotations Works With Reporting Services Excel 2013 & 365 SQL (TCP) SQLXML Only accessible via REST & SDK
  • Slide 37
  • Schneider Electric 37 - Software Classic StorageStorage Engine Old/LateReal-timeNon-streamedStreamed Time Limits < t-30 t < +1t < +24 hours* Live SuiteLink (aahIOSvrSvc) ReplicationQueuedStreamedQueuedStreamed Import LGH, CSV, FastLoad LGH, CSV, FastLoad via Utility* SQL INSERT/ UPDATE Realtime INSERT/ UPDATE Realtime * New in Historian 2014 R2
  • Slide 38
  • Schneider Electric 38 - Software File Import (aahImport.exe) Single file or Folder Watcher Streamed/non-streamed UI & Command Line Local/remote LGH & CSV
  • Slide 39
  • Schneider Electric 39 - Software Tag Rename
  • Slide 40
  • Schneider Electric 40 - Software Bullet Chart FFC FT Good Range Current = PV Target = SP
  • Slide 41
  • Schneider Electric 41 - Software Statistics Works okay Cant use it to compare different periods Why not use Historian?
  • Slide 42
  • Schneider Electric 42 - Software Historian Custom Property Average Count First Integral Maximum Average Count First Integral Maximum Minimum Percent PercentGood StdDev Total Blank for now as end time For state statistics, select which one
  • Slide 43
  • Schneider Electric 43 - Software Comparison To Extension Table Columns aaHistoryStatAnalogSummaryHistoryStateSummaryHistory Average StateTimeAvgContained CountValueCountStateCountContained FirstFirst* Integral MaximumMaximum*StateTimeMax MinimumMinimum*StateTimeMinContained PercentStateTimePercent PercentGood StdDev TotalStateTimeTotal * Uses the timestamp of the associated value
  • Slide 44
  • Schneider Electric 44 - Software Historian Network Bandwidth No Compression2014 P1 w/ Compression 2014 R2 w/ Compression* 92% savings * Applies to tier 1. Tier 2 savings is 18%. No change for Remote IDAS. 53% savings
  • Slide 45
  • Schneider Electric 45 - Software HCAL Packet Optimization Rationale: Existing compression ratio was not good for data streaming packet ~ 20% Customer requires better utilization of bandwidth. Analysis: Unique Tag ID precedes every VTQ causing low compression ratio. Method: Build tag dictionary - Tag handle (DWORD) for each Tag ID for each connection session. Use Tag Handle instead of Tag ID in the packet. Result: Compression ratio improved ~ 92% Optimization enabled when compression is enabled. Transparent to user. Slight increase of Resource Usage
  • Slide 46
  • Schneider Electric 46 - Software HCAL Packet Optimization
  • Slide 47
  • Schneider Electric 47 - Software HCAL Diagnostics When Fail to Connect: On Client Computer: Set LogFlag aahClientCommon[Connection] to see WCF exception stack. On Historian Computer: Check warning messages. Possible Cause: Invalid Historian name, firewall blocking, incorrect port, invalid credentials etc. To See Tag Information: Set Registry Setting [HKLM\Programs\aahClient] TraceGlobal=dword:1 Trace files will be created under c:\aahClientCommon-TraceGlobal Toggle LogFlag aahClientCommon[TagDump] to see tags reported in the corresponding file. To Trace Tag Values See Tracing Document
  • Slide 48
  • Schneider Electric 48 - Software HCAL Diagnostics To See Buffer Type and Count Set LogFlag aahClientCommon[BufferCount] Buffer Type SF Partial Store/Forward (Tags not synchronized or values time less than cut-off time) Buffer Type Streaming Regular Buffer To See Buffer Destination (Historian or SF) and Size Set LogFlag aahClientCommon[BufferTransmit] To Find Out Reasons that Store/Forward Files not Forwarded: Set LogFlag aahClientCommon[StoreForward]. Or Set Registry Setting [HKLM\Programs\aahClient] TraceGlobal=dword:1 and check the trace file.
  • Slide 49
  • Schneider Electric 49 - Software HCAL Diagnostics To See Data Transmission Activities in HCAL: Set LogFlag aahClientCommon[Operation] To See Status Checking/Management Activities Set LogFlag aahClientCommon[ServerStatus]
  • Slide 50
  • Schneider Electric 50 - Software HCAP Diagnostics To See Incoming Requests from All Clients Set LogFlag aahClientAccessPoint[Operation] To See Status Checking/Management with Clients and Other Components: Set LogFlag aahClientAccessPoint[ServerStatus]. To See Buffer Information Received from Clients: Set LogFlag aahClientAccessPoint[BufferTransmit] To See Status Checking/Management Activities Set LogFlag aahClientCommon[ServerStatus]
  • Slide 51
  • Schneider Electric 51 - Software HCAP Diagnostics To Trace Tags from Client See Trace Document To See Tag Information: Set Registry Setting [HKLM\Programs\aahClientAccessPoint] TraceGlobal=dword:1 Trace files will be created under c:\aahClientAccessPoint-TraceGlobal Toggle LogFlag aahClientAccessPoint[TagDump] to see tags and their last value received.
  • Slide 52
  • Schneider Electric 52 - Software Storage Activity Tracing TraceSessions trace storage session creation/deletion TraceQueries trace tagids and start/end queries during LLR TraceBlocks trace history block search during LLR TraceDiskManager trace Circular/Alternate block movement/deletion TraceGetSnapshots trace S/F snapshot enumeration done by HCAL TraceMerge more detailed info on snapshot merge management TraceTagPipeline more detailed info on in-memory snapshot management TraceTimeManager trace block boundary calculations (DST change) TraceMemory set to 0 to exclude memory stats from the global trace HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ArchestrA\Historian\Programs\aahStorage DWORD Values (0 = disabled by default, 1 = enabled) TraceGlobal must be 1 for the others Traces to work
  • Slide 53
  • Schneider Electric 53 - Software Tag Editor Historian 2014 R2
  • Slide 54
  • Schneider Electric 54 - Software 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 True value of = 3.1415926535897932384626433832795 = 3.1415927 = 3.1415926535898 What if your instrument has 5-digits of precision? 12345678910121314151611
  • Slide 55
  • Schneider Electric 55 - Software Is Your System Like This? As Designed Reality Expanded support for optimistic quality More robust counter
  • Slide 56
  • Schneider Electric 56 - Software Counter: Routinely Rolls Over Rollover Point Infer these points
  • Slide 57
  • Schneider Electric 57 - Software Counter False Rollovers Reverse Reset (when normally rollover) Introduced Counter Deadband 0=pre-R2 behavior
  • Slide 58
  • Schneider Electric 58 - Software Optimistic Full Optimistic
  • Slide 59
  • Schneider Electric 59 - Software 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
  • Slide 60
  • Schneider Electric 60 - Software Quality Handling Optimistic Suppressed all bad quality points with OPC Quality < 64 (excluding vendor bits). Good Suppressed all uncertain quality points with OPC Quality >= 64 and < 192 (excluding vendor bits)
  • Slide 61
  • Schneider Electric 61 - Software Optimistic Quality No Quality rule Optimistic Quality rule
  • Slide 62
  • Schneider Electric 62 - Software Optimistic Quality Improved back tracking for quality rule No Quality rule Optimistic Quality rule
  • Slide 63
  • Schneider Electric 63 - Software System Tag Changes CPU SysPerfCPUn: Deprecated SysPerfCPUTotal: Across all cores (unchanged) SysPerfMax: Highest single-core load SysPerfserviceCPU: % across all cores (previously 0-100 for a single core, even on multicore systems) Memory SysPerfcomponentBytes: Now modulo 4GB SysPerfcomponentMBytes: New
  • Slide 64
  • Schneider Electric 64 - Software System Tag Changes: CPU 100% 75% 50% 0% 25% 0123 Core Total (25+75+0+50)/4 =38% Max MAX(25,75,0,50) =75% Service (25+0+0+50)/4 =19%