may 12-04 ge ptools improvement€¦ · title: may 12-04 ge ptools improvement author: tyler...

26
Team: Tyler Thein-EE Brad Schmickley-SE Brent Jasperson-EE Cody Westlund-SE Michael Johnson-EE Advisor: Professor Ajjarapu Webpage: http://sdmay1204.weebly.com/

Upload: others

Post on 21-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Team: Tyler Thein-EE

Brad Schmickley-SE

Brent Jasperson-EE

Cody Westlund-SE

Michael Johnson-EE

Advisor: Professor Ajjarapu

Webpage: http://sdmay1204.weebly.com/

Page 2: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

• In its current state, PTOOLs cannot read large

plot files (>10MB)

• GE would also like to have a Worst Case

Analysis (WCA) Tool implemented

Page 3: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM
Page 4: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM
Page 5: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM
Page 6: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

• Raise the maximum readable file size limitation from 10MB to 120+ MB

• Save/Load criteria and the analysis

• Specify criteria for sub-transient, transient, & post-transient violations

• Filter buses by Area, Zone, Buses and kV range

• View a "Help" menu

• Report violations

Page 7: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

PTOOLs code with improved file readability

WCA Application

• Criteria load/save

• Bus Filtering

• Results

• Help

Page 8: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

PTOOLs Software & Source Code

PSLF Software

MATLAB

• Guide GUI Builder

Tortoise SVN

Page 9: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Low experience in software programming in MATLAB

Page 10: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM
Page 11: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Since we have a pure software based project, our only specifications are:

• WCA tool be written in MATLAB for version 2009b and later

• Operate on a Windows machine

Page 12: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Input:

• The WCA Tool shall use the information from the inputted CHF files to run analysis on.

• All inputs as defined in the Functional Requirements

Output: A results table with columns for:

• Data Set, Bus Number, Bus Name, Bus kV, Area, Zone, Violations, Initial, Min/Max, Delta, % Diff, At Time, Duration

• Allow the user to view all violations or worst violation

• Allow user to select the transient type viewed

Page 13: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

• Client wanted a simple design

• SE Guidelines for GUI layout • Left-to-right, Top-to-bottom

• 3-click rule

Page 14: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Filters - Manually compare against excel lists

runWCA - Manually compare against PSLF wca function

GUI inputs - Manually compare GUI selections with variables in MATLAB workspace

Page 15: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

• PTOOLs could only load files <= 10 MB

• Found root issue to be lack of computing power

• Considered multiple programmatic solutions

• Reduced memory consumption of loaded files by

~20% with final solution

Page 16: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Used MATLAB's Guide

• Drag and drop editor

• .M file modified callbacks

Early research pointed to using a pure Java GUI built using WindowBuilder. This option seemed desirable because it is a tool we are familiar with.

• This option required MatlabControl for communication and GImport for supporting a pure Java GUI

• This method was not ideal so we switched

Page 17: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Inputs • Positive Numerical

Values

• Cycles or Seconds

Advantages • Future Use

• Speed

• Multiple Sets

Page 18: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Inputs • Add/Remove

• Type & Values

• kV Filters

Outputs • GUI

• runWCA

Design • Case Statements

• New Zones/Buses

o kV Filters

Page 19: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

runWCA

Inputs • Bus list

• Criteria

Outputs • Results matrices

violationCheck

Inputs • Bus data

• Single criteria set

Outputs • Violation data

Page 20: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM
Page 21: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Invalid Inputs

• non-numeric values

• non-existent criteria cases

No cases loaded

No buses selected

Invalid Criteria File

Page 22: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

CHF2XLS Function

Pivot Table Sorting

• Variable

• Area

• Zone

• Bus kV

Page 23: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Used original WCA function in PSLF’s PLOT program to compare with the results in the new WCA

Each WCA yielded similar results

Page 24: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM
Page 25: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

• Optimization of analysis algorithm, possible parallelization

• Allow results to be exported

• Batch processing

Page 26: May 12-04 GE PTOOLS Improvement€¦ · Title: May 12-04 GE PTOOLS Improvement Author: Tyler Created Date: 4/23/2012 8:00:39 PM

Lessons Learned • Be more proactive

• Research more thoroughly

• Delegation is important

• GUI design is an ongoing project

• Benefits to programming in MATLAB