may 12-04 ge ptools improvement€¦ · title: may 12-04 ge ptools improvement author: tyler...
TRANSCRIPT
Team: Tyler Thein-EE
Brad Schmickley-SE
Brent Jasperson-EE
Cody Westlund-SE
Michael Johnson-EE
Advisor: Professor Ajjarapu
Webpage: http://sdmay1204.weebly.com/
• In its current state, PTOOLs cannot read large
plot files (>10MB)
• GE would also like to have a Worst Case
Analysis (WCA) Tool implemented
• 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
PTOOLs code with improved file readability
WCA Application
• Criteria load/save
• Bus Filtering
• Results
• Help
PTOOLs Software & Source Code
PSLF Software
MATLAB
• Guide GUI Builder
Tortoise SVN
Low experience in software programming in MATLAB
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
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
• Client wanted a simple design
• SE Guidelines for GUI layout • Left-to-right, Top-to-bottom
• 3-click rule
Filters - Manually compare against excel lists
runWCA - Manually compare against PSLF wca function
GUI inputs - Manually compare GUI selections with variables in MATLAB workspace
• 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
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
Inputs • Positive Numerical
Values
• Cycles or Seconds
Advantages • Future Use
• Speed
• Multiple Sets
Inputs • Add/Remove
• Type & Values
• kV Filters
Outputs • GUI
• runWCA
Design • Case Statements
• New Zones/Buses
o kV Filters
runWCA
Inputs • Bus list
• Criteria
Outputs • Results matrices
violationCheck
Inputs • Bus data
• Single criteria set
Outputs • Violation data
Invalid Inputs
• non-numeric values
• non-existent criteria cases
No cases loaded
No buses selected
Invalid Criteria File
CHF2XLS Function
Pivot Table Sorting
• Variable
• Area
• Zone
• Bus kV
Used original WCA function in PSLF’s PLOT program to compare with the results in the new WCA
Each WCA yielded similar results
• Optimization of analysis algorithm, possible parallelization
• Allow results to be exported
• Batch processing
Lessons Learned • Be more proactive
• Research more thoroughly
• Delegation is important
• GUI design is an ongoing project
• Benefits to programming in MATLAB