0% found this document useful (0 votes)
179 views23 pages

Outage Analysis Via Excel - Phil Caskey

This document discusses using SQL and Excel to analyze power outage data for a utility company. It provides background on the company and describes how SQL Server is used to create views and tables from outage data and schedule daily and hourly update jobs. Key SQL views summarize outage statistics and causes. The views and tables are then linked to Excel to create pivot tables and charts for analyzing outage statistics, causes, and performance indices. The analyses allow the company to identify problem areas and focus efforts for improved reliability and accountability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
179 views23 pages

Outage Analysis Via Excel - Phil Caskey

This document discusses using SQL and Excel to analyze power outage data for a utility company. It provides background on the company and describes how SQL Server is used to create views and tables from outage data and schedule daily and hourly update jobs. Key SQL views summarize outage statistics and causes. The views and tables are then linked to Excel to create pivot tables and charts for analyzing outage statistics, causes, and performance indices. The analyses allow the company to identify problem areas and focus efforts for improved reliability and accountability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Outage Analyses

via SQL/Excel

Phil Caskey
Consolidated EC
Quick Background
CEC HQ Mount Gilead, Ohio
District Oce: Delaware, Ohio
17k Meters
~50 employees
2 Dispatchers
Dispatching is only one of many
duties
No line experience
CRC after hours
Highlights

Reports vs. Analyses


Examples
MS SQL Server
MS Excel
Bottom line
Stats are nice to know BUT
Whats most important is:
What are we going to do?
Where are we going to do it?
How much is it going to cost?
What will members get?
Reports Dont Cut It!!
Turn information into knowledge!
What tells the whole story?
Indices
Standard
Excel table
and graph
Monitor
performance
Causes
Pivot table
and chart
Focus
eorts for
most eect
Cause/Device Analysis
Pivot table
ID problem areas
RUS Form 7
Pivot table
Condenses
detail
How?
1. SQL Server Views/Tables/Jobs
Highlight a few views
Summarize automated processes
2. Link SQL to Excel
Show steps
3. Create pivots/graphs
A whole other topic, itself
Create Views/Tables/Jobs
MS SQL Server Management Studio
Add DB (SAIDI)
Options/Recovery Model = Simple!
Create Views (Queries)
Can be slow to execute
Optionally create tables
Update nightly via Jobs
Set up Jobs
Key SQL Views
dbo.StatsBase Outage Cause
OutageRecID Outage Type
OutageDay
MED Flag
Midnight
OutageMonth Month Number
Day 1, midnight Outage Year
Customer Minutes of Substation
Interruption Feeder
SUM(dbo.InterruptionDuration)
Troubled Element
# Aected
COUNT(dbo.InterruptionDuration)
Upline Element
Form 7 Code Business Hours Flag
Key SQL Views
dbo.Indices Looks at 4-5 cases for
SAIDI each
SAIFI All outages
CAIDI No MED
ASAI Form 7 Other Only
No MED/ Other Only
Excluding major storms
Would have been MED if all
in one day
Daily Processes

SQL Server Agent Yearly Update


Jobs TMED
Runs SQL commands Daily Updates
Typ stored procedures
MED table
Schedules customizable Yearly & Monthly
Average # Customers
Hourly Updates
Business Hours Flag
Link Views/Tables to Excel
Link Views/Tables to Excel
Link Views/Tables to Excel
Link Views/Tables to Excel
Link Views/Tables to Excel
Link Views/Tables to Excel
Summary
No one report or 10 reports will do it
Analyses must be dynamic, exible
Requires some comfort with Excel & SQL Server
Maximizes your members dollars
Conclusion
Seen key analyses and their exibility
Discussed SQL needed to provide useable data
Shown how to link SQL data into Excel
Next steps are up to your needs
Phil Caskey
[email protected]

You might also like