46
WW INFO-07 Valuable Information From Wonderware System Platform 2014 R2 Elliott Middleton

Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

Embed Size (px)

Citation preview

Page 1: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

WW INFO-07 Valuable Information From Wonderware System Platform 2014 R2

Elliott Middleton

Page 2: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 3: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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 Storage Storage Engine SQL Server Event Storage

Historian 2014 R2 SuiteLink

Tags* Engine Tags*

Replicated Tags

Alarm & Events

* Newly collected data in Storage Engine, previous Classic data still accessible

Page 4: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Historian 2014 Architecture

History Blocks

SQL Server Historian OLEDB

Retrieval

Stor

age

Engi

ne

Cla

ssic

St

orag

e

Historian 9.0 SDK

IDAS

Application Server <3.5

Historian 11.0+ SDK

Replication

Application Server 3.5+

Active Image

Page 5: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Active Image

Cla

ssic

St

orag

e

Historian 2014 R2 Architecture

History Blocks

SQL Server Historian OLEDB

Retrieval

Stor

age

Engi

ne

Cla

ssic

Sto

rage

R

edire

ctor

Historian 9.0 SDK

IDAS

Application Server <3.5

Historian 11.0+ SDK

Replication

Application Server 3.5+

Page 6: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Tag Editor

Historian 2014 & earlier

Historian 2014 R2

Page 7: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 8: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

ArchestrA Graphic Alarm Client

Not supported in 2014 R2

WWALMDB

Alarm DB Logger

InTouch

Historian 2014 R2 Architecture

History Blocks

SQL Server Historian OLEDB

Retrieval

Stor

age

Engi

ne

Historian 11.0+ SDK

Replication

Application Server 3.5+

A2ALMDB

Application Server 4.0

Retrieval

oData/REST

Even

t St

orag

e

Application Server 4.1

Cla

ssic

St

orag

e R

edire

ctor

Historian 9.0 SDK

IDAS

Application Server <3.5

oData/REST

Historian Client Historian Client 2014 R2

Page 9: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Selecting Alarm & Event Storage

Page 10: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Historian Interface Capabilities

Interface On-Premise 2014 R2 On-Premise Future

Managed Process Event A2ALMDB Process Event A2ALMDB

SQL read ? SQL store SDK read ? SDK store oData read oData write ? ? ?

Page 11: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 12: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Excel Power Query

Copy URL from “Historian.htm” For PowerPivot, need to add “&format=atom”

Page 13: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Block Management

Circular Alternate Buffer Permanent

Page 14: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Block Creation

● Historian 2014 & earlier ● Based on system time ● Startup/shutdown ● Block duration ● Block size ● Manual (SMC, stored proc)

● Historian 2014 R2 & later ● Based on time of data ● Assigned based on duration

10110011 10010011 01010011 00001101 11001101 01001100 01101011 01001111 01100000 01011001 01100111 00011001

Page 15: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 16: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 17: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 18: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Time Independence Example Now 5-minutes early

1-minute early

Live

1-minute late

5-minutes late

Page 19: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

File Import (aahImport.exe)

● Single file or “Folder Watcher”

● Streamed/non-streamed ● UI & Command Line ● Local/remote ● LGH & CSV

Page 20: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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 LGH, CSV, FastLoad

LGH, CSV, FastLoad

LGH, CSV, FastLoad via

Utility*

SQL INSERT/ UPDATE “Realtime” INSERT/

UPDATE “Realtime”

* New in Historian 2014 R2

Page 21: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Tag Rename

Page 22: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Bullet Chart

FFC

FT

“Good” Range

Current = PV Target = SP

Page 23: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Statistics

• Works okay • Can’t use it to compare

different periods

• Why not use Historian?

Page 24: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 25: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Example

Page 26: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 27: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Historian Network Bandwidth

No Compression 2014 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

Page 28: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

System Platform 2014 R2 Distribution 4.6 GB

• Supported approach to create subsets • Does not expand compatibility

Historian: 98 MB

Historian Client: 180 MB

Prerequisites: 295 MB

SQL Express: 1,300 MB

Page 29: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Tag Editor Historian 2014 R2

Page 30: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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?

1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 11

Page 31: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Is Your System Like This? As Designed Reality

• Expanded support for “optimistic” quality • More robust “counter”

Page 32: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Counter: Routinely Rolls Over

Rollover Point

Infer these points

Page 33: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Counter

●False Rollovers ●Reverse ●Reset (when normally

rollover) ●Introduced

●Counter Deadband ●0=pre-R2 behavior

Page 34: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Optimistic Full

Optimistic

Page 35: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 36: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 37: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

System Tag Changes: CPU 100%

75%

50%

0%

25%

0 1 2 3

Core

Total

(25+75+0+50)/4 =38%

Max

MAX(25,75,0,50) =75%

Service

(25+0+0+50)/4 =19%

<R2

Page 38: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 39: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Check Out SmartGlance

Email: [email protected] Password: password

1. Install App 2. Log in

Page 40: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Historian Scalability

9.0 (released 2005)

100,000

2012 (aka 10.0)

150,000 Tiered

2012 R2 (aka 11.0)

500,000 Tiered

2014 (aka 11.5)

2,000,000 Tiered

Managed Challenge:

Performance

Challenge: Manageability

~70,000 licenses sold vs. ~800,000 InTouch licenses

Page 41: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 42: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 43: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

oData*

Client Connectivity Options

SQL (TCP)

On-Premise Managed

Early 2015 Historian Client 2014 R2

* On-premise oData support in Historian 2014 R2 Patch 1

Trend only

Page 44: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

Responsibilities

InTouch Historian

Customer Customer Customer

+ ? ?

Managed On-Premise

× Licensing • Servers • Tags • Clients

User Device Concurrent

• CALs

Subscription: Users + Term

Page 45: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

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

Page 46: Historian 2014 R2 - Invensysiom.invensys.com/EN/SoftwareGCC14Presentations/Wonderware/WW I… · 2014 Software Global Client Conference Historian 2014 R2 Is Amazing! Simple to manage,

2014 Software Global Client Conference

©2014 Schneider Electric. All Rights Reserved. All trademarks are owned by Schneider Electric Industries SAS or its affiliated companies or their respective owners.

[email protected]

Session: WW INFO-07