Practical Uses of PI AF - OSIsoftcdn.osisoft.com/corp/en/media/presentations/2014/... · Practical...
Transcript of Practical Uses of PI AF - OSIsoftcdn.osisoft.com/corp/en/media/presentations/2014/... · Practical...
PJM©2014
Practical Uses of PI AF
Matt Rivett
Sr. OSI PI Developer
PJM Interconnection
Date
Forum Name
PJM©20142
Agenda
• About PJM
• PI AF Infrastructure
• AF Databases
– Generator
– AGC
– Synchrophasor
– Thunder Storm Alert
– Server Monitoring
• Conclusion
PJM©20143
PJM Vision Statement
To be the electric industry leader – today and
tomorrow – in reliable operations, efficient
wholesale markets, and infrastructure
development.
PJM©20144
PJM ‒ Focus on Just 3 Things
Market Operation• Energy
• Capacity
• Ancillary Services
Regional Planning• 15-Year Outlook
Reliability• Grid Operations
• Supply/Demand Balance
• Transmission monitoring
2
1
3
PJM©20145
PJM as Part of the Eastern Interconnection
KEY STATISTICS
PJM member companies 900+
millions of people served 61
peak load in megawatts 165,492
MWs of generating capacity 183,604
miles of transmission lines 62,556
2013 GWh of annual energy 791,089
generation sources 1,376
square miles of territory 243,417
area served 13 states + DC
externally facing tie lines 191
• 27% of generation in
Eastern Interconnection
• 28% of load in Eastern Interconnection
• 20% of transmission assets in
Eastern Interconnection
21% of U.S. GDP
produced in PJM
As of 4/1/2014
PJM©20146
PJM Control Room
• Many video walls and
dispatcher workstations
• Majority of displays are
PI Process Book
• Dispatchers and
engineers build their
own PI displays
• Reviewed by IT PI
Support for performance
reasons but not data
PJM©20147
PI AF Infrastructure at PJM
AF Collective
AF Server
Primary
AF Server
Secondary
SQL Replication
SQL Cluster
SQL Cluster
AF Clients
PI Process Book
PI Data Link &
Power Pivot
PI Coresight
PI System
Explorer
Custom AF SDK
Code
PJM©20148
Generator Database
Purpose
• Determine which PI tags are the correct PI tags for a piece of equipment
• Updated each night to ensure the most accurate information
Requirements
• Access to source system model (Oracle database)
• A strict PI tag naming convention
• Custom AF SDK coding
PJM©20149
Generator Database Source
PJM©201410
Generator Database Source
PJM©201411
Generator Database Source (CIMSPY)
PJM©201412
Generator Database Source (CIMSPY)
PJM©201413
Generator Database PI AF
Top Level PECO Hierarchy Limerick Unit 01
PJM©201414
Source vs PI AF
• Each attribute of the
generator is automatically
assigned appropriate PI tag
• If there is no associated PI
tag a placeholder tag is
substituted which has a
snapshot value of “No
Result”
PJM©201415
Generator Database Automation
• Written by PJM PI administrator / developer Kireet Dholareeya
• .Net using AF SDK
• Loads source CIM model from Oracle database
• Builds hierarchy of pools, companies, stations and voltage levels using AF
templates
• Adds generators using templates based on their types
• AF templates use inheritance
– All generators must have specific attributes
– Wind units have additional attributes, etc
PJM©201416
Generator Database Tools
Element Relative
• Process Book
• Coresight Displays
PJM©201417
Automatic Generation Control (AGC) Database
Purpose
• Detect data quality issues between PJM’s many redundant systems
• Replicates PJM’s tie line report
• Source to build reports and send notifications
Requirements
• Access to source system model
– Currently using manual XML exports
• A strict PI tag naming convention
• Custom AF SDK coding
PJM©201418
• PI Tag lookup done to translate
source system IDs into PI tag
names
• Calculation attributes created to
replicate existing EMS screens
• Additional alarm states
• Deviation calculations
AGC Database PI AF
PJM©201419
AGC Database Process Book ERD
Element Relative
• Shows
values from
5 different PI
Collectives
• Real-time
telemetered,
AGC, SE &
backup data
PJM©201420
AGC Database Notifications
• In testing phase: Might require AF 2014 to write AF formula
results to PI tags
• Using Notification Template
PJM©201421
AGC Database Notification Example
Subject: AGC Tie Deviation Violation on FALCONER-WARREN
Name: FAL-WAR / FALCONER-WARREN
Time:
AGC Value: 64.9941101074219 MW
SE Value: 71.0193710327148 MW
Deviation: 6.02526092529297 MW
Limit: 5.75 MW
PJM©201422
Synchrophasor Database
Purpose
• Initially developed for PI tag creation
• Recently added power calculations to investigate data quality issues
Requirements
• Source meta data
– Provided in excel sheets, manually entered into PI AF using PI system explorer
• Attention to detail
PJM©201423
Synchrophasor Database Source Excel File
…
PJM©201424
Synchrophasor Database Model
• Meta data is manually
entered in PI AF
• Once it is verified PI AF is
used to create the PI tags
• Additional steps are
required to add PMUs to
output stream of PDC
(C37118) and RTDMS
(DNP3)
PJM©201425
Synchrophasor PMU Template (Partial)
• Example of substitution in STAT attribute allowing PI tag
creation using PI AF
• \\%@tag configuration|pi collective%\%@Zone%_%@Data
Type%_%@Equipment
Type%/%@B1B2B3%:stat;ptclassname=classic;pointtype=Int
32;descriptor="%@STN%";exdesc="%@STN%:stat";span=6
5536;pointsource="%@tag
configuration|pointsource%";scan="%@Enabled%";excmax=1
;excdev=0;step=1;compmax=1;compdev=0;compdevpercent=
0;excdevpercent=0;location1="%@tag
configuration|location1%";location2="%@tag
configuration|location2%";location3="%@tag
configuration|location3%";location4="%@tag
configuration|location4%";location5="%@IDCODE%";instrum
enttag=PMU\STAT
PJM©201426
Synchrophasor Calculated Template
Calculates the complex, reactive and real power values from
current and voltage phasors
PJM©201427
Synchrophasor Power Calculation Process Book
Element Relative
PJM©201428
Synchrophasor Power Calculation Coresight
When requesting long periods of time, high CPU usage on Coresight server.
Element Relative
PJM©201429
Synchrophasor Power Pivot Example
• Pick zone and/or
manufacturer to
display if any
PMUs are in error
• Also displays
latency and
frequency
PJM©201430
Thunder Storm Alert Database
Purpose
• Experimenting with AF 2014 and event frames
• Detect when thunder storm alert is active and capture an event frame
Requirements
• Data in PI and model manually created
PJM©201431
Thunder Storm Alert Database Template
Simple start and end
triggers based off
digital PI tag
PJM©201432
Thunder Storm Alert Database Events
Events that have been captured
PJM©201433
Thunder Storm Alert Coresight Display
• Easy way to
visualize event
frames
• Select event
frame and the
displays
updates with
the data from
the event
PJM©201434
Server Monitoring Database
Purpose
• PI Administrators to monitor the PI servers at PJM
• Notifications
• Visualization
Requirements
• Server performance monitor data
• Interface health points
PJM©201435
Server Monitoring Database
• Minimal data entry
required
• Uses substitution to
create PI tags
PJM©201436
Server Monitoring Coresight Display – PI Server
Element Relative
PJM©201437
Server Monitoring Coresight Display – Windows Server
Element Relative
PJM©201438
Conclusion
OSIsoft has greatly improved the
capabilities of PI AF over the last
few years
The PI client tools are now at a
point where they can take
advantage of PI AF
Event frames have great potential
now that they can be easily
generated
PI Coresight is a good tool but it
needs to be more customizable in
simple things like layout and
colors