320 likes | 426 Views
www.costapse.org. COSTA An Introduction Nils van Velzen email: c.vanvelzen@tudelft.nl. www.costapse.org. Outline. Data assimilation and calibration Existing software and programming issues COSTA Application of COSTA with WAQUA/TRIWAQ Conclusions. Data assimilation and calibration.
E N D
www.costapse.org COSTAAn Introduction Nils van Velzen email: c.vanvelzen@tudelft.nl Data Assimilation Summer School, Sibiu, 6th August 2009
Data Assimilation Summer School, Sibiu, 6th August 2009 www.costapse.org Outline • Data assimilation and calibration • Existing software and programming issues • COSTA • Application of COSTA with WAQUA/TRIWAQ • Conclusions
Data Assimilation Summer School, Sibiu, 6th August 2009 Data assimilation and calibration • (Dynamic) simulation models • Weather forecast • Air quality • Shallow water (storm surge) • Ocean modelling • Reservoir • Predictions are not perfect!
Data Assimilation Summer School, Sibiu, 6th August 2009 Data assimilation and calibration • Measurements: • Satellites • Buoy • Radar • Weather stations
Data Assimilation Summer School, Sibiu, 6th August 2009 Data assimilation and calibration • Make model perform better using the available observations: • Calibration: change model parameters in order to reduce the difference between the model predictions and observations • Data assimilation: combine the model forecast and observations into a mixed forecast
Data Assimilation Summer School, Sibiu, 6th August 2009 Existing software and programming issues • Simulation software is complex • More complex is combined with Data assimilation and/or Calibration methods • Expensive to develop and maintain • Splitting up software is in general a good idea • Less complex • Possible to reuse (parts of) the code
Data Assimilation Summer School, Sibiu, 6th August 2009 Existing software and programming issues • Why people think they have to develop a custom implementation of a DA method: • Computational efficient • Need to handle model specific issues • Are these assumptions correct? Issues are: • Which method to implement? • Expensive • Incompatible • Potentially full of bugs
Data Assimilation Summer School, Sibiu, 6th August 2009 COSTA • A problem solving environment for data assimilation and calibration • Components and their interface • Data assimilation methods • Platform for exchanging models and methods • Free software (LGPL)
Data Assimilation Summer School, Sibiu, 6th August 2009 Steps to prepare model codes for implementing data assimilation • Identify the state-vector of your model and those parameters and forcing (you think) you want to use • Isolate the model time step --This is 90% of the work and has to be done for a custom data assimilation implementation as well --COSTA provides tools to simplify this work
Data Assimilation Summer School, Sibiu, 6th August 2009 COSTA • A generic environment where user can easily try out different DA-methods to their models • A generic environment where method developers can easily implement their method to different models
Data Assimilation Summer School, Sibiu, 6th August 2009 COSTA • Most data assimilation actually only requires information about model state and observation at the same time. • This makes it possible to implement model, observation and data assimilation methods separately as independent components.
Data Assimilation Summer School, Sibiu, 6th August 2009 COSTA components Model, observations and DA-method
Data Assimilation Summer School, Sibiu, 6th August 2009 Model Component • Model component in COSTA (formal) • State of a model instance • Methods to get or change the state of model instance
Model Component • Propagate the model state-vector • Get, set, axpy for • GetObsValues: Data Assimilation Summer School, Sibiu, 6th August 2009
Data Assimilation Summer School, Sibiu, 6th August 2009 Using COSTA
Data Assimilation Summer School, Sibiu, 6th August 2009 Using COSTA • Use the “costawb” program to combine a model with a DA-method without any programming • Model components are dynamic libraries and are linked to the “costawb” program
Data Assimilation Summer School, Sibiu, 6th August 2009 WAQUA/TRIWAQ • Simulation model for shallow water • Used operational by the Dutch Rijkswaterstaat • Long history of data assimilation • Too expensive • Inflexible
Data Assimilation Summer School, Sibiu, 6th August 2009 WAQUA/TRIWAQ • Domain decomposition and parallel computing • COSTAmodel component • RRSQRTFilter
Data Assimilation Summer School, Sibiu, 6th August 2009 The WAQUA/TRIWAQ model • Deterministic model: • Stochastic model:or
Data Assimilation Summer School, Sibiu, 6th August 2009 Deterministic and Stochastic • We want a separation between deterministic and stochastic model • Use deterministic model for other applications • Play with alternative noise models
Data Assimilation Summer School, Sibiu, 6th August 2009 Deterministic and Stochastic • WAQUA/TRIWAQ uses ADI-scheme: • One time step consist of two half time steps • Time correlation applied each half time step • New approach: • Time correlation each whole time step • Different results!
Data Assimilation Summer School, Sibiu, 6th August 2009 Challenge • Can we: • Separate filter and method Method? • have same results? • Similar performance? • Is the COSTA modelinterface sufficientfor this task?
Data Assimilation Summer School, Sibiu, 6th August 2009 Conclusions • COSTA offers a flexible framework for using and developing data assimilation methods. • Successful coupling with “real” models: • WAQUA/TRIWAQ • Lotos-Euros • Chimere
Data Assimilation Summer School, Sibiu, 6th August 2009 Conclusions • Easy to use • Complete basic functionality available: • Implementation available for all basic building blocks • Growing number of available methods • Support for parallel computing
Data Assimilation Summer School, Sibiu, 6th August 2009 Thank you!
Data Assimilation Summer School, Sibiu, 6th August 2009 Existing software and programming issues
Data Assimilation Summer School, Sibiu, 6th August 2009 Tools for creating COSTA models • Simple model builder • Handles the “object oriented” aspects of the model • You only need to implement 4 functions • Model combiner • Combine multiple COSTA models in one composite model • Create a stochastic model from a deterministic model • Black Box model builder • Create a COSTA component for a model without changing the model code • Support for parallel models
Data Assimilation Summer School, Sibiu, 6th August 2009 Automatic parallelization
Data Assimilation Summer School, Sibiu, 6th August 2009 Using parallel models