Open Source ENKI: Dynamic Environmental Model Framework. A possible pre-processor for WRF-Hydro?

Similar documents
Operational water balance model for Siilinjärvi mine

VIC Hydrology Model Training Workshop Part II: Building a model

Watershed simulation and forecasting system with a GIS-oriented user interface

AN INTERNATIONAL SOLAR IRRADIANCE DATA INGEST SYSTEM FOR FORECASTING SOLAR POWER AND AGRICULTURAL CROP YIELDS

Flood Forecasting Tools for Ungauged Streams in Alberta: Status and Lessons from the Flood of 2013

WRF Modeling System Overview

WRF Modeling System Overview

Finnish Open Data Portal for Meteorological Data

The National Operational Hydrologic Remote Sensing Center Operational Snow Analysis

Visualising and communicating probabilistic flow forecasts in The Netherlands

Role of Arc GIS in developing Real Time and Forecasting Water Resource System ANMOL BHARDWAJ 1, ANIL VYAS 2 1

5. General Circulation Models

Uncertainty analysis of nonpoint source pollution modeling:

Focus Areas. Colorado Rio Grande Jemez. San Pedro. An NSF Science and Technology Center SAHRA

Land Data Assimilation at NCEP NLDAS Project Overview, ECMWF HEPEX 2004

C o p e r n i c u s L a n d M o n i t o r i n g S e r v i c e

Lecture 3. Data Sources for GIS in Water Resources

Transactions on Information and Communications Technologies vol 18, 1998 WIT Press, ISSN

Hydrologic Modelling of the Upper Malaprabha Catchment using ArcView SWAT

MODULE 8 LECTURE NOTES 2 REMOTE SENSING APPLICATIONS IN RAINFALL-RUNOFF MODELLING

The HIGHTSI ice model and plans in SURFEX

Towards operationalizing ensemble DA in hydrologic forecasting

CWMS Modeling for Real-Time Water Management

Creating Meteorology for CMAQ

GEOG415 Mid-term Exam 110 minute February 27, 2003

Developments for a semi-distributed runoff modelling system and its application in the drainage basin Ötztal. Diplomarbeit

Regional offline land surface simulations over eastern Canada using CLASS. Diana Verseghy Climate Research Division Environment Canada

WRF Modeling System Overview

July, International SWAT Conference & Workshops

RHOAPS. Real-time Hydrology Ocean Atmosphere Prediction System. Pronunciation: Ropes Motto: More than just THREDDS

Supplementary Materials for

Drought Monitoring with Hydrological Modelling

Sea ice charts and SAR for sea ice classification. Patrick Eriksson Juha Karvonen Jouni Vainio

QualiMET 2.0. The new Quality Control System of Deutscher Wetterdienst

Liliana Pagliero June, 15 th 2011

Modelling snow accumulation and snow melt in a continuous hydrological model for real-time flood forecasting

WRF Modeling System Overview

INTRODUCTION TO HEC-HMS

Workshop: Build a Basic HEC-HMS Model from Scratch

Applying GIS to Hydraulic Analysis

Appendix D. Model Setup, Calibration, and Validation

Watershed Application of WEPP and Geospatial Interfaces. Dennis C. Flanagan

Weather Forecasting: Lecture 2

Design and implementation of a new meteorology geographic information system

GIS Frameworks in the National Weather Service

4. GIS Implementation of the TxDOT Hydrology Extensions

MODERN TECHNOLOGIES IN HYDRO-METEOROLOGICAL INFORMATION SYSTEMS

REQUIREMENTS FOR WEATHER RADAR DATA. Review of the current and likely future hydrological requirements for Weather Radar data

USE OF SATELLITE INFORMATION IN THE HUNGARIAN NOWCASTING SYSTEM

István Ihász, Hungarian Meteorological Service, Budapest, Hungary

Speedwell High Resolution WRF Forecasts. Application

Introduction-Overview. Why use a GIS? What can a GIS do? Spatial (coordinate) data model Relational (tabular) data model

Using the EartH2Observe data portal to analyse drought indicators. Lesson 4: Using Python Notebook to access and process data

Climate Data for Non-experts: Standards-based Interoperability

Disseminating Fire Weather/Fire Danger Forecasts through a Web GIS. Andrew Wilson Riverside Fire Lab USDA Forest Service

Diana: A Free Meteorological Workstation. Lisbeth Bergholt and Helen Korsmo

Hydrological modeling and flood simulation of the Fuji River basin in Japan

YOPP archive: needs of the verification community

* * * Table (1) Table (2)

Lake Tahoe Watershed Model. Lessons Learned through the Model Development Process

THE METEOROLOGICAL DATA QUALITY MANAGEMENT OF THE ROMANIAN NATIONAL SURFACE OBSERVATION NETWORK

A Temporal Hydrologic Database for Rapidly Changing Landscapes

Model Integration - How WEPP inputs are calculated from GIS data. ( ArcGIS,TOPAZ, Topwepp)

Release Notes for Version 7 of the WegenerNet Processing System (WPS Level-2 data v7)

Global Flash Flood Guidance System Status and Outlook

Great Lakes Online Watershed Interface W. Elliot, Research Engineer USDA Forest Service Rocky Mountain Research Station, Moscow, ID March, 2016

Runoff-rainfall modelling: Predicting areal precipitation from runoff observations

Basin characteristics

EFFICIENCY OF THE INTEGRATED RESERVOIR OPERATION FOR FLOOD CONTROL IN THE UPPER TONE RIVER OF JAPAN CONSIDERING SPATIAL DISTRIBUTION OF RAINFALL

The Model SNOW 4. A Tool to Operationally Estimate Precipitation Supply

Management of Natural and Environmental Resources for Sustainable Agricultural Development

REVISION OF THE STATEMENT OF GUIDANCE FOR GLOBAL NUMERICAL WEATHER PREDICTION. (Submitted by Dr. J. Eyre)

Development of a GIS Interface for WEPP Model Application to Great Lakes Forested Watersheds

way and atmospheric models

The MRC Mekong Flood Forecasting and MRC Flash Flood Guidance Systems

Operational Perspectives on Hydrologic Model Data Assimilation

WegenerNet: A new climate station network in Eastern Styria/Austria for monitoring weather and climate at 1 km-scale resolution

QGIS FLO-2D Integration

Uncertainty in the SWAT Model Simulations due to Different Spatial Resolution of Gridded Precipitation Data

Model Calibration and Forecast Error for NFIE-Hydro

Advanced Geostationary Observations for the OzEWEX Community. Leon Majewski Bureau of Meteorology

Hydrological modelling of the Lena River using SWIM

Tropics & Sub-Tropics. How can predictive approaches be improved: Data Sparse Situations

Jet Propulsion Laboratory California Institute of Technology. ASO In The Tuolumne: 3 Years Of Basin SWE, and PRMS Assimilation Results

Land Surface Processes and Their Impact in Weather Forecasting

Inter-linkage case study in Pakistan

Maria Antonia Brovelli

ENV208/ENV508 Applied GIS. Week 1: What is GIS?

baltrad Mass media Overview

Hands On Applications of the Latin American and Caribbean Flood and Drought Monitor (LACFDM)

10A.1 The Model Evaluation Tool

Geospatial Fire Behavior Modeling App to Manage Wildfire Risk Online. Kenyatta BaRaKa Jackson US Forest Service - Consultant

Gridding of precipitation and air temperature observations in Belgium. Michel Journée Royal Meteorological Institute of Belgium (RMI)

SNOW AND GLACIER HYDROLOGY

Snow and glacier change modelling in the French Alps

Current and Future Plans. R. Srinivasan

Progress in Operational Quantitative Precipitation Estimation in the Czech Republic

LESSON HEC-HMS

The relationship between catchment characteristics and the parameters of a conceptual runoff model: a study in the south of Sweden

FLORA: FLood estimation and forecast in complex Orographic areas for Risk mitigation in the Alpine space

Transcription:

Open Source ENKI: Dynamic Environmental Model Framework A possible pre-processor for WRF-Hydro? 1st European Fully Coupled AtmosphericHydrological Modeling and WRF-Hydro Users workshop. University of Calabria. 11-13 June, 2014 John F. Burkhart Sjur Kolberg Sigbjørn Helset & Code Contributors 1

Overview Energy Management in practice Overview of the ENKI Hydrologic Modeling Framework ENKI as a prototyping framework for WRF-Hydro 2

What is ENKI? Software framework for model building and evaluation Extension and re-writing of PINE (Rinde, 1994-97), financed by Statkraft Simulation of temporal processes in spatial variables Primary application: Distributed hydrologic models Now: Open Source project under operationalisation Sumerian deity for sweet water, wisdom and magic 3

The Hydrologic Modeling Framework: ENKI Main objects are the model and the region A region is a set of static and dynamic GIS data A model is an ordered set of subroutines The subroutine variables are linked to the region s GIS data. It's Open Source and easily available (bitbucket) Linux and Python Porting are underway!

Distributed models and regional simulation One regional ENKI setup replaces many HBV models Q Common setup of input data using GIS tools Easy input of: Weather radar Satellite data Gridded met forecasts. Q Q The catchment is no longer the primary unit for Simulation Calibration Q Q 5

Distributed models Strong input gradients in mountainous basins Q Nonlinear processes Models need to be More physical Less calibrated but simpler Q Q Fewer states* Fewer parameters* Regional calibration Spatial parameter maps only where data allow Q Q 6

Regional simulation and calibration moh 7

Why regional calibration? In a distributed model, the parameters are applied to a different spatial unit than they can be inferred from. Operative management: Simulate arbitrary areas / catchments Compared to area scaling of discharge, differences in meteorology, elevation and land use are honoured In a regional model, the performance in gauged catchments is an estimator of the perfomance in the ungauged catchments Calibration: Robust parameter estimates By fitting several series simultaneously, the effect of errors and peculiarities in single catchments or series is reduced. Development: Discovery of errors and biases in model or data Adaptation to poor observation series is avoided Bad assumptions or data are exposed as errors But: Regional calibration always gives weaker performance in single catchments than specific calibration 8

Regional and local R2 Average best R2 Regional Local Gridded HBV 0.679 0.741 2-par Kirchner 0.684 0.752 9

GIS based model setup: Elevation map (DTM) Subcatchment delination Meteorological station map Lake percentage map Forest cover map Glacier cover map

Procedure for model evaluation Selection: Operational needs Dominant processes Available data Validation Required performance Achievable performance Physical correctness? «All models are wrong. Some, however, are useful» (Box, 1979) «A model should not only work well, but work for the right reasons» (Klemes, 1986) 11

ENKI s three modes of operation Model use or evaluation: Interactive simulation, parameter estimation, import/export of GIS or TS data, construction of evaluation criteria etc. No need to know the routines or internal variables in the model Model building: Link process methods to a complete model, manipulate spatial distribution No need to code or compile Routine development: Implement new process routines No need to handle user interface, data I/O, administration of model runs, calibration routines etc. 12

Model dialog The ENKI framework Main objects are the model and the region A region is a set of static and dynamic GIS data A model is an ordered set of subroutines The subroutine variables are linked to the region s GIS data. Region dialog 13

Time series import Time series database uses NetCDF Discrete time series from ASCII files Raster time series from map groups GRIB and radar file import/reproj. 14

Assessing performance Any simulated variable is available for evaluation Evaluation may be temporal or spatial A large number of objective functions are available: Additive: Information strength independent of nobs. Multiplicative (likelihood): Strength increases with nobs. Temporal evaluation Spatial evaluation 15

Performance Measure specification 16

Parameter estimation 17

A typical model setup Interpolation Interpolation The model framework does not know the function of each routine Each time step, the framework calls the routines in specified order Each routine maintains the spatial repetition loop The routines operate on spatial variables owned by the region The region copies data from/to two time series databases before and after each time step Interpolation Snow routine Soil water / evaporation Response Catchment aggregation Channel routing Results / Evaluation 18

Model building 1: Routine composition and order Loaded DLL methods in left window, with browse capability Selected routines in right window, where simulation order is set Generic methods may be used for more than one routine 19

Model building 2: Routine variable interface 20

Adding new variables Raster, point network, or scalar All are defined as GIS data Scalars have no external file The region owns the GIS variables

Main code modules in ENKI RegModel.exe Statkraft Connections Graphical user interface Based on MFC No visualisation, R&D oriented WEB based service Links to EnkiAPI + SmG database Daily operation oriented EnkiAPI DHM Model construction GIS and time series database Different run functions GIS data types Method prototypes GDAL integration Methods Method Base Class IDWtemp HBVSoil GamSnow Etc

Kobling mot Statkraft-system

Variable types i ENKI routines Raster: Rectangular grid, usually representing the simulation domain Network: Irregular point set, may extend outside the domain Scalar: Spatially constant quantity, located or not. Static: Time-invariant quantity not subject to calibration Elevation model, lake map, forest map, gauge staion map etc. Parameter: Time-invariant quantity, available for calibration Can be spatially distributed (raster, network), or calibrated (scalar) Input: Dynamic variable which is read, but not written Must either be in input database, or also be a response/state in earlier routine Response: Dynamic variable which is written, but not read. Output variabel, available for storage and evaluation State: Dynamic variable which is both read and written. Need initialisation values 24

Available Model Methods in ENKI Numerous hydrologic routines have been implemented and are available for model development Method classes are available as part of the open source distribution Active development of method classes Documentation is poor! We are working to improve this. Interpolation of input Snow routines Soil water / evaporation Response functions Catchment aggregation Results / Evaluation Automatic Calibration 25

Overview Energy Management in Statkraft Overview of the ENKI Hydrologic Modeling Framework ENKI as a prototyping framework for WRF-Hydro 26

ENKI s three modes of operation Model use or evaluation: Interactive simulation, parameter estimation, import/export of GIS or TS data, construction of evaluation kriteria etc. No need to know the routines or internal variables in the model Model building: Link process methods to a complete model, manipulate spatial distribution No need to code or compile Routine development: Implement new process routines No need to handle user interface, data I/O, administration of model runs, calibration routines etc. 27

Coding of new routines 28

Coding of new routines 29

Coding of new routines #include "lineartank.h // LinearTank.cpp implementation LinearTank::LinearTank() // Constructor { storconst = newmethvar("storconst",true,"methvar","parameter", Time constant, days",0); inflow = newmethvar("inflow",true,"methvar","input","inflow to linear tank"); storage = newmethvar("storage",true,"methvar","state","response tank storage in mm",0); outflow = newmethvar("outflow",true,"methvar","response","outflow from linear tank"); } bool LinearTank::Calc() // Response function { storage->value += inflow->value; outflow->value = storage->value * (1 - exp(-steplength.m_span / storconst->value)); storage->value -= outflow->value; return true; } CMethod* CreateMethodObject() // Object factory { CMethod *p = new LinearTank; return p; } 30

Model composition Bayesian temperature kriging GRF precipitation simulation Kriging of radiation, humidity, wind Energy-sum snow melt Priestley-Taylor potential evap Air temperature Humidity Wind Clouds Shortwave radiation Power-law response (Kirchner, 2009) Turbulent transfer Snow temperature Longwave radiation Albedo 31

Main code modules in ENKI RegModel.exe Statkraft Connections Graphical user interface Based on MFC Minimal visualization, R&D oriented WEB based service Links to EnkiAPI + SmG database Daily operation oriented EnkiAPI DHM Model construction GIS and time series database Different run functions GIS data types Method prototypes GDAL integration Template Methods IDWtemp GamSnow Method Base Class HBVSoil Python Algorithms IDWtemp GamSnow Method Base Class HBVSoil

Summary ENKI an excellent tool for testing different model compositions and spatial setup alternatives Distributed modelling requires re-thinking of many subroutines, in particular regarding input data Regional calibration and restriction of calibration freedom show modest reduction of performance Improved parameter identifiability enables regionalisation ENKI recently released as OS under the LGPL license Currently in operationalisation phase both at Statkraft and among other companies 33

The Hydrologic Modeling Framework: ENKI Search: ENKI Hydrology Bitbucket is source for linux branch

Thank you all. John F. Burkhart Sjur Kolberg Sigbjørn Helset & Code Contributors 35