pi system management best practices

24
PI System Management Best Practices Bryan S. Owen P.E. OSIsoft Field Service

Upload: binta

Post on 21-Jan-2016

44 views

Category:

Documents


0 download

DESCRIPTION

PI System Management Best Practices. Bryan S. OwenP.E. OSIsoft Field Service. Focus on Benefits. Change Management Interacts with System Management!. Change Management and Continuous Improvement. Typical PI Improvement Projects Server Upgrades Custom Applications Raw Data Collection - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: PI System Management      Best Practices

PI System Management Best Practices

Bryan S. Owen P.E.OSIsoft Field Service

Page 2: PI System Management      Best Practices

Focus on BenefitsImprove

SustainAssess

Change Management Interacts with System Management!

Page 3: PI System Management      Best Practices

Change Management and Continuous Improvement

Typical PI Improvement Projects• Server Upgrades• Custom Applications• Raw Data Collection• Performance Calculations• Layered Data Structures• Desktop Deployments• Skill Development

Page 4: PI System Management      Best Practices

PI Server Upgrade

Stage Upgrade on Spare Platform• Preferred O/S – Windows 2K

• Windows Domain Membership

• Test with PItoPI or Parallel Interfaces

Review PI Timeout Table• Maxupdatequeue, Totalupdatequeue, Readtimeout

• http://support.osisoft.com/FieldService/service_downloads.htm

Interface Status Watchdog (Optional)• “flatline” detection

• optional status change for input points

Page 5: PI System Management      Best Practices

Custom Application Guidelines

Preferred Core PI Technology• SQL (OLEDB Provider)• OPC Server• SDK/API

Deployment Hints• Dedicated PI User Name• Identify all Inputs and Outputs to PI• Assign DataOwner on Output Points

Page 6: PI System Management      Best Practices

RtPM Pyramid

Data Collection from Inside and Outside the Corporation

Execs Look for Equipment, Plants, Products, not Tags

Aggregation, Reconciliation, Calculation, Cases

Get the Information to People Who Need It

People Need Pictures, Graphs, Trends

Without Action, there is no Benefit

Gather

Assign Context

Analyze

Distribute

Visualize

Act

Page 7: PI System Management      Best Practices

Connectors or Interfaces?

Integrated Data Source• Archive is provided

by source system• No data replication • PI queries redirected

to source host

Constraints: scalability, connection latency

Hot: OLEDB Connector

Decoupled Data Source• No archive retention

burden on source host• Scheduled replication• PI queries resolved

locally

Constraints: scan rate and out of order data

Hot: OPC Interface

Page 8: PI System Management      Best Practices

Data Source Reconciliation

Periodic Discovery• Automatic Point Synchronization

(yes, OPC connector!)• Dedicated workstation is suggested

Point Deletion• Server concordance check

(SMT advanced search…getpointssql)• Alternative: set ptaccess=“o: g: w:”

Page 9: PI System Management      Best Practices

Point Type Selection…Float16 vs Float32

FLOAT32 is easy on the administrator but…• No under/over range sanity check

(unless a supported by the interface).

• Dirty zero affects aggregates differently(not reflected in percent good, use Totalizer with zerobias).

• Performance penalty (~2x archive i/o).

FLOAT16 rules of thumb…• Well defined zero and span required.• Large scale systems >50,000 pts.• Sub second data collection.• High data density applications (PI profile points).

Page 10: PI System Management      Best Practices

Interface Accuracy

Scan Class Schedules• Avoid schedule collisions

Dedicated Instances• Load balancing and isolation• Event triggers and outputs• Special handling

(stopstat, watchdog list)

Report all changes to PI• Minimize Excdev (zero is ok!)• Buffer recovery is constraint

Page 11: PI System Management      Best Practices

Compression Guideline

Ideal: set based on process specification• usually <1% compression deviation

Easy: use rated instrument precision• Excess archiving is a potential process

issue or sampling limitation.• If possible, resolve “noise” at the source

(filter may be an appropriate remedy).

Page 12: PI System Management      Best Practices

RtPM Pyramid

Data Collection from Inside and Outside the Corporation

Execs Look for Equipment, Plants, Products, not Tags

Aggregation, Reconciliation, Calculation, Cases

Get the Information to People Who Need It

People Need Pictures, Graphs, Trends

Without Action, there is no Benefit

Gather

Assign Context

Analyze

Distribute

Visualize

Act

Page 13: PI System Management      Best Practices

Layered Data Structures in PI

Base• Digital Sets• Headings• Aliases• Properties• Modules

Archive• Batch, UnitBatch/SubBatch, Transfers

Page 14: PI System Management      Best Practices

Digital Sets

System set is global• Applies to all points• Important factory defaults include

• “Shutdown”, “Intf Shut”, “I/O Timeout”

Digital points preferred over string tags• Enables multistate symbols and trends• Create dedicated state sets• Include placeholders for volatile sets

Page 15: PI System Management      Best Practices

PI Headings…mutant Digital Sets!

• Name, Level and Description• Level starts at 1• Discontinuous sequences ok• Optional Module or SubBatch property

Page 16: PI System Management      Best Practices

PI Alias Collections…Cached point lists

• Organize points by module• Leverage utility with alias names• Multiple aliases for the same tag ok• Join tags from any number of servers

Alias “aware” applications:• ACE, Batchview, MDB Editor• OLEdb Provider, OPC Server, SDK/API

Page 17: PI System Management      Best Practices

PI Property Collections…Named Value Tables

Collections in free format hierarchal structures.

Associate nominally “static” properties with a Module.

Stored in Archive when assigned to a Batch or Transfer Record.

Page 18: PI System Management      Best Practices

PI Module Collections…File System for PI

Free format hierarchy, a PI module may “link” to multiple collections.

Access rights depend on DBsecurity and the root module owner.

Versioning and query control based on “effective” date.

“isPIunit” creates archive point for unitbatch recording.

Page 19: PI System Management      Best Practices

Layered Data Structures in PI…Management Tips

Restrict write access (DBsecurity default)• Digital Sets – PIDS• ModuleDB – PIModules, PIHeadingSets

Standardize Digital Sets across an Enterprise• Especially useful with PItoPI implementation

Configure ModuleDB with SDK/VB scripts:• Transmission Line Demo

Page 20: PI System Management      Best Practices

RtPM Pyramid

Data Collection from Inside and Outside the Corporation

Execs Look for Equipment, Plants, Products, not Tags

Aggregation, Reconciliation, Calculation, Cases

Get the Information to People Who Need It

People Need Pictures, Graphs, Trends

Without Action, there is no Benefit

Gather

Assign Context

Analyze

Distribute

Visualize

Act

Page 21: PI System Management      Best Practices

Server CalculationsPerformance Equation StudyOver 15 servers & 5500 expressions

• …expression lengthMedian 50 characters, 95% < 162, Max=2851!

• …archive function calls (~10% of total )Median time span <9 hrs, Max since 1970!

• …nesting levels (excluding circular logic)One Level 25%, Two Levels 9%, More 2.5%

• …variables per expression (max=156!)

Page 22: PI System Management      Best Practices

Performance Equation Study…Conclusions

Primary Usage Analysis• simple transformations…y=mx+b, steam tables• data smoothing…tagavg, medianfilt• state detection / signal selector…if then else

Conclusions• 80% of PE expressions are appropriate• 20% in need of redesign

• Implement in ALARM or TOTAL processor• Logic or schedule more appropriate for ACE

Page 23: PI System Management      Best Practices

Performance Equation Tips

Develop Expressions on PI Desktop• Datalink “Expression Calculation”• Processbook “PI Dataset”

Don’t implement on production servers until proven!

Scheduling Options• Run simple transforms at raw scan rate• Uniint event triggers

Event=‘motorstatus’ increment, (run on 0 -> 1 transition)

• Enable Recalc for expressions with LAB inputs

Page 24: PI System Management      Best Practices

RtPM Pyramid

Data Collection from Inside and Outside the Corporation

Execs Look for Equipment, Plants, Products, not Tags

Aggregation, Reconciliation, Calculation, Cases

Get the Information to People Who Need It

People Need Pictures, Graphs, Trends

Without Action, there is no Benefit

Gather

Assign Context

Analyze

Distribute

Visualize

Act