gpat - riverwareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · march 7,...

15
1 1 RiverWare User RiverWare User s Group s Group March 7, 2006 March 7, 2006 GPAT GPAT Graphical Policy Analysis Tool (GPAT) Graphical Policy Analysis Tool (GPAT) Implemented in Visual Basic for Applications Implemented in Visual Basic for Applications (VBA) as an Add (VBA) as an Add - - in to Excel in to Excel Analyzes and Compares Excel output from Analyzes and Compares Excel output from multiple multiple RiverWare RiverWare runs (policies, hydrologic runs (policies, hydrologic scenarios, etc.) scenarios, etc.) Graphs slots, statistics, percentile, probability Graphs slots, statistics, percentile, probability distributions and distributions and exceedance exceedance probabilities probabilities Allows dynamic data exploration Allows dynamic data exploration

Upload: others

Post on 12-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

11RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

GPATGPATGraphical Policy Analysis Tool (GPAT)Graphical Policy Analysis Tool (GPAT)Implemented in Visual Basic for Applications Implemented in Visual Basic for Applications (VBA) as an Add(VBA) as an Add--in to Excelin to ExcelAnalyzes and Compares Excel output from Analyzes and Compares Excel output from multiple multiple RiverWareRiverWare runs (policies, hydrologic runs (policies, hydrologic scenarios, etc.)scenarios, etc.)Graphs slots, statistics, percentile, probability Graphs slots, statistics, percentile, probability distributions and distributions and exceedanceexceedance probabilitiesprobabilitiesAllows dynamic data explorationAllows dynamic data exploration

Page 2: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

22RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

How to Compare Policies???How to Compare Policies???

POLICY #2POLICY #1

POLICY #3

POLICY #5POLICY #4

Page 3: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

33RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

One run, Alt. policiesOne run, Alt. policiesI want to compare individual slot values I want to compare individual slot values

over time for a common hydrologyover time for a common hydrology

Page 4: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

44RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Statistic(runsStatistic(runs), Alt. policies ), Alt. policies I want to compare the statistics of all I want to compare the statistics of all hydrologic scenarios over time hydrologic scenarios over time

Mean, Minimum, Maximum, Standard DeviationMean, Minimum, Maximum, Standard Deviation

Page 5: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

55RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Distribution(runsDistribution(runs), Alt. policies), Alt. policiesHow do the probabilistic distributions of How do the probabilistic distributions of slot values compare at one point in slot values compare at one point in time? time? PDF (Histogram) , CDF PDF (Histogram) , CDF

Page 6: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

66RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Percentiles(runsPercentiles(runs), Alt. policies), Alt. policiesWhat will the slot values be over time What will the slot values be over time

that correspond to a particular that correspond to a particular percentile of occurrence?percentile of occurrence?

Page 7: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

77RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

ExceedanceExceedance ProbabilityProbability

What is the probability of a slot variable What is the probability of a slot variable exceeding or not exceeding a certain value exceeding or not exceeding a certain value through time?through time?What is the probability of a slot variable What is the probability of a slot variable falling within a specified range through time?falling within a specified range through time?What is the probability of a binary What is the probability of a binary occurrence?occurrence?

Flood release, shortage, surplus, equalization Flood release, shortage, surplus, equalization flagsflags

Page 8: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

88RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Recent GPAT DevelopmentRecent GPAT Development

GUI reorganized into tabbed interfaceGUI reorganized into tabbed interfaceFlexible specification of samples across Flexible specification of samples across columns, worksheets, and workbookscolumns, worksheets, and workbooksTime range specificationTime range specificationGraph format options for vertical gridlines Graph format options for vertical gridlines and data markersand data markersChoice of six methods for calculating Choice of six methods for calculating percentilespercentiles

Page 9: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

99RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Tabbed Interface

Customized Selection of Workbooks Worksheets & Columns

Flexible Sample Specification Time Range

Choice

Page 10: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

1010RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Six Methods for Calculating Percentiles

Options for Including Vertical

Gridlines & Data

Markers

Page 11: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

1111RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Percentile MethodsPercentile Methods

Particularly with small sample sizes, the Particularly with small sample sizes, the methods can yield very different resultsmethods can yield very different resultsSuppose we have 4 observations with values Suppose we have 4 observations with values of: 1, 2, 3, and 4. The percentiles (p) of: 1, 2, 3, and 4. The percentiles (p) associated with the values are shown in the associated with the values are shown in the following tablefollowing table

Observation Least Greatest Split CRC Excel RangeObservation Least Greatest Split CRC Excel Range1 0 25 12.5 20 1 0 25 12.5 20 0 0 = p = 250 0 = p = 252 25 50 37.5 40 2 25 50 37.5 40 33.3 25 < p = 5033.3 25 < p = 503 50 75 62.5 60 3 50 75 62.5 60 66.7 50 < p = 7566.7 50 < p = 754 75 100 87.5 80 14 75 100 87.5 80 100 75 < p = 10000 75 < p = 100

Page 12: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

1212RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Upcoming GPAT Development*Upcoming GPAT Development*

New analysis for probability of event New analysis for probability of event occurrence among time seriesoccurrence among time series

Find the number of times a shortage is declared Find the number of times a shortage is declared in each runin each runCalculate statistics and plot distribution of the Calculate statistics and plot distribution of the numbers of shortages across the runsnumbers of shortages across the runs

* Funded by Lower Colorado Region of USBR* Funded by Lower Colorado Region of USBR

Page 13: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

1313RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Upcoming GPAT Development*Upcoming GPAT Development*

Compound event definitionCompound event definitionDefine an event with required conditions across a Define an event with required conditions across a number of different slotsnumber of different slotsLake Mead elevation < 1075 andLake Mead elevation < 1075 andLake Powell elevation > 3526 andLake Powell elevation > 3526 andLake Powell elevation < 3575Lake Powell elevation < 3575

* Funded by Lower Colorado Region of USBR* Funded by Lower Colorado Region of USBR

Page 14: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

1414RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Upcoming GPAT Development*Upcoming GPAT Development*

Graph format options for preGraph format options for pre--selecting plot selecting plot area color, line formats, and data marker area color, line formats, and data marker formatsformatsPlaceholder in results for an initial timestep Placeholder in results for an initial timestep value so a value can be easily entered and value so a value can be easily entered and displayed on graphsdisplayed on graphs

* Funded by Lower Colorado Region of USBR* Funded by Lower Colorado Region of USBR

Page 15: GPAT - RiverWareriverware.org/riverware/ugm/2006/presentations/cw/03a... · 2006-03-16 · March 7, 2006 RiverWare User’s Group 1 GPAT ¾Graphical Policy Analysis Tool (GPAT) ¾Implemented

1515RiverWare UserRiverWare User’’s Groups GroupMarch 7, 2006March 7, 2006

Potential Future DevelopmentPotential Future Development

Change the user interface from specifying a Change the user interface from specifying a graph graph ““typetype”” to specifying transformations to specifying transformations and analysesand analysesExpand capabilities for sampling by time, Expand capabilities for sampling by time, transforming series, and analyzing eventstransforming series, and analyzing eventsNonNon--spreadsheet GPAT to bypass row/column spreadsheet GPAT to bypass row/column limitations in Excellimitations in Excel