WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS...
Transcript of WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS...
![Page 1: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/1.jpg)
WRIMS – Water Resources Integrated Modeling System Nancy Parker U.S. Bureau of Reclamation February 21-22, 2012
![Page 2: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/2.jpg)
WRIMS Overview
• WRIMS is a general purpose water resources management tool for modeling surface water and/or groundwater allocations
• Water Resources Integrated Modeling System • Developed and maintained by the California
Department of Water Resources • CVP/SWP Planning Modeling • Klamath Project Planning Modeling
![Page 3: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/3.jpg)
WRIMS Basics
• Physical river system represented as a network of nodes (reservoirs, diversion points) and arcs (river channels, canals)
• Describe what the problem is, not how to solve it
1
2
I1
C1
3
C2
C3
D2
R3
![Page 4: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/4.jpg)
WRIMS Basics
• Water Resources Engineering Simulation Language (wresl) Code – Define variables, Write goals/constraints
– “English-like” syntax
• Input – Time series inputs – HEC-DSS (monthly, daily)
– Parameter/Function inputs – ascii tables
• Output – HEC-DSS
![Page 5: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/5.jpg)
WRIMS Components and Structure
Linear Programming
Solver
LP Problem Formulation
WRESL Parser-
Interpreter
User Interface/ Controller
DSS
table files
WRESL code
Definitions, goals, and
weights
![Page 6: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/6.jpg)
WRESL Basics – Three Elements
• Definitions – State Variables – Input data (time series or
lookup) or values calculated from input data – Decision Variables – Storage, Flows, Diversions,
or other values calculated at run time
• Goals / Constraints – describe physical and institutional limits on operations; hard or soft, constant or conditional
• Weights – prioritize flows, deliveries, storage
![Page 7: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/7.jpg)
Optimization Problem
![Page 8: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/8.jpg)
WRIMS Example
• Define Inputs
![Page 9: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/9.jpg)
WRIMS Example
• Define Decision Variables
![Page 10: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/10.jpg)
WRIMS Example
• Write Constraints and Goals • Weight Decision Variables
![Page 11: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/11.jpg)
WRIMS Example
• Soft Constraints – slack and surplus penalties
![Page 12: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/12.jpg)
WRIMS Example
![Page 13: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/13.jpg)
WRIMS Example
![Page 14: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/14.jpg)
WRIMS Solution
• XA LP/MILP Solver – Sunset Software – $1250 – Hardware license
• Maximize objective function value while meeting user specified constraints
• Integer variables allow dynamic switches • Solution vs. optimization • Debugging is an acquired skill
![Page 15: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/15.jpg)
WRIMS Software
• Conditional or multiple solutions within each time step allow for layering of constraints
• Can incorporate external functions or dll’s • Position analysis capabilities enable use of
ensemble input data sets • Flow routing using arc “storage” • Mixed timestep simulations – look-ahead
forecasting and routing applications
![Page 16: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/16.jpg)
WRIMS User Experience
• Problems are hard; models should help • WRIMS development done in text files
– custom, readable, searchable, “story-line”, text highlights
• GUI facilitates running the model • GUI enables basic results processing –
variable lists, time series, plots, tables
![Page 17: WRIMS – Water Resources Integrated Modeling System Business/TechnologyInnovation... · WRIMS Overview • WRIMS is a general purpose water resources management tool for modeling](https://reader036.fdocuments.us/reader036/viewer/2022070717/5eddd0d0ad6a402d66690466/html5/thumbnails/17.jpg)
WRIMS Look and Feel