Data Assimilation in Coupled Wildland Fire - Atmosphere Modeling - - PowerPoint PPT Presentation

data assimilation in coupled wildland fire atmosphere
SMART_READER_LITE
LIVE PREVIEW

Data Assimilation in Coupled Wildland Fire - Atmosphere Modeling - - PowerPoint PPT Presentation

Data Assimilation in Coupled Wildland Fire - Atmosphere Modeling Jan Mandel Department of Mathematical and Statistical Sciences University of Colorado Denver, Denver, CO Mesoscale and Microscale Meteorology Division National Center for


slide-1
SLIDE 1

Data Assimilation in Coupled Wildland Fire - Atmosphere Modeling

Jan Mandel

Department of Mathematical and Statistical Sciences University of Colorado Denver, Denver, CO Mesoscale and Microscale Meteorology Division National Center for Atmospheric Research, Boulder, CO Supported by the NSF under grants CNS-0325314, CNS-0719641, and DMS-0623983 Faculty of Civil Engineering Czech Technical University Prague, May 15, 2008

slide-2
SLIDE 2

The Wildfire DDDAS Team

University of Colorado Denver Department of Mathematical Sci.

Jan Mandel (PI) Lynn Bennethum (Co-PI) Leo Franca (Co-PI) Craig Johns (prior Co-PI) Tolya Puhalskii (prior Co-PI) Mingeong Kim (graduate student) Vaibhav Kulkarni (graduate student) Jonathan Beezley (graduate student)

National Center for Atmospheric Research

Janice Coen (PI)

Texas A&M University

  • Dept. of Computer Science

Guan Qin (PI) Wei Zhao (prior PI) Jianjia Wu (graduate student)

Rochester Institute of Technology Center for Imaging Science

Anthony Vodacek (PI) Robert Kremens (Co-PI) Ambrose Onoye (postdoc) Ying Li (graduate student) Zhen Wang (graduate student) Matthew Weinstock (undergrad. student)

University of Kentucky

  • Dept. of Computer Science

Craig Douglas (PI) Deng Li (visiting scientist) Wei Li (graduate student) Adam Zornes (graduate student) Soham Chakraborty (graduate student) Jay Hatcher (graduate student)

slide-3
SLIDE 3

The Objective

A Dynamic Data Driven Application System (DDDAS) for short-range forecast of wildfire behavior with models steered by real-time weather data, fire- mapping images, and sensor streams.

slide-4
SLIDE 4

Goals

The model

faster than real time: model only what is essential coupled weather-fire calibrated from measurements

Data assimilation: incorporate new data while the model

is running

sparse data (weather stations) large image datasets (aerial photographs) data acquisition steering data arriving delayed and out of order capable of adjusting a highly nonlinear model

Evaluate the effect of fire management scenarios in real

time

Real-time visualization over the internet in the field

slide-5
SLIDE 5

The coupled weather-fire model

slide-6
SLIDE 6

FIRE

Wind

ATMOSPHERE: WRF MODEL

Heat, water vapor 2D fire propagation

Coupled weather - fire spread model WRF-SFIRE

Weather: atmospheric dynamics and parametrized physics (clouds, rain,…)

slide-7
SLIDE 7

Fire model

Empirical model (not PDEs). Contains components representing:

1.

Surface fire:

  • Spread of “flaming front” depends on

wind, fuel, and slope. Based on Rothermel (1972) semi-empirical equations.

  • Post-frontal heat/water vapor release

2.

Crown fire

  • If the surface fire produces enough

heat, it heats, dries, and ignites the tree canopy.

3.

Heat, water vapor, and smoke fluxes released by fire into atmosphere

slide-8
SLIDE 8

Burning area: f(x,y)<0, fireline f(x,y)=0 Spread rate R in normal direction from fuel, slope Level set function evolves by the level set equation Solved numerically by Runge-Kutta method of order 2 (Euler

is systematically biased and pulls f up), force f to always decrease (the fire can only grow)

Coupled with the Weather Research and Forecasting Model

(WRF)

Suitable for data assimilation – simply manipulate f

SFIRE: Spread fire model implementation by the level set method: make it into a PDE

f R f t ∂ + ∇ = ∂

slide-9
SLIDE 9

Level set function representation of the burning area

slide-10
SLIDE 10

Atmosphere model: Weather Research and Forecasting Model (WRF)

A leading contemporary meteorological model, freely available

from http://wrf-model.org

Modular, extensible, strict programming discipline Horizontal tile based parallelization, OpenMP + MPI Fortran 95, some C, much of the code automatically generated

from descriptions of the variables by a C code

Successor of MM5 We are using WRF-ARW, developed and supported at NCAR Dynamical core (= a fluid dynamics solver) Parametrized subgrid physics (clouds, rain, hail,…) Explicit timestepping, nested grids

slide-11
SLIDE 11

From “WRF Software” presentation, Michalakes et al.

slide-12
SLIDE 12

WRF-SFIRE software structure and atmosphere-fire coupling

The fire model itself is independent of WRF Coupled by single driver module as a surface physics process SFIRE input: wind velocities, fuel data, ignition locations and

time

Interpolate winds to fire grid, advance fire one time step, compute

fuel burned assuming exponential fuel decay from ignition

Submesh granularity: fireline is a straight line crossing fire cells,

computation of fuel burned by approximate integration, can be done exactly too

SFIRE output: add up heat flux from fuel burned over

atmospheric cells, translate into temperature and moisture tendencies (with assumed exponential decay over several layers, WRF cannot take flux boundary conditions)

slide-13
SLIDE 13

Coupled WRF-SFIRE simulation

The fire propagates from two line ignitions and one circle ignition, in the process of merging. The arrows are the horizontal wind at the ground level. The false color is the fire heat flux.The fire front on the right has an irregular shape and is slowed down because of air being pulled up by the heat created by the fire. This kind of fire behavior cannot be modeled by empirical spread models alone and requires a two-way interaction with the atmosphere. (Mandel, Beezley, Coen, Kim 2008)

Horizontal mesh step: fire 6m, atmosphere 60m

slide-14
SLIDE 14

Characteristic fire shape

(Coen 2003)

slide-15
SLIDE 15

WRF-SFIRE status and immediate goals

Currently works with OpenMP parallelization and

made-up data

Summer 08:

read real data through WRF interfaces MPI parallel (our code supports that but the custom version

  • f WRF with surface mesh refinement for fire won’t run with

MPI yet), read data in WRF-approved manner

add crown fire (its own level set function)

Fall 08: ready for release, merge with then current

WRF version

End 08: code freeze Spring 09: release as a part of WRF free download

slide-16
SLIDE 16

Data assimilation

slide-17
SLIDE 17

Stochastic approach

“There are no guarantees in life, only probabilities”

(Jack Ryan in "Executive Orders" by Tom Clancy)

slide-18
SLIDE 18

Data assimilation a.k.a. statistical estimation

Model state, including uncertainty Synthetic data O b s e r v a t i

  • n

f u n c t i

  • n

Data Model state with the data assimilated Bayes thm Advance time Advance time

  • Balances the uncertainty in the model and in the data
  • Use of new data reduces the uncertainty in the model state
  • Gaussian probability distributions → Kalman filter
  • Uncertainty represented by an ensemble
  • ensemble Kalman filters (still Gaussian)
  • particle filters (need huge ensembles)
slide-19
SLIDE 19

State space model (discrete in time)

  • Simulation state u evolves by a PDE ut=A(u)
  • Model and data are uncertain: model state is a probability density

function (pdf) p(u)

  • Represent p(u) in the computer and evolve it in time
  • To add data, stop, and apply the Bayes theorem to update the pdf of u (~

means proportional to) pnew (u) ~ p(d|u)pold (u)

  • Here p(d|u) is the data likelihood = the probability of measurement d

conditional on simulation state u. It can be obtained from

  • The observation function, a.k.a. forward operator: h(u) is synthetic data

= what the measurement would be without any errors, given the state u

  • Data error bounds (the pdf of measurement error) perror(e)
  • Then,

p(d|u)= perror (d-h(u))

slide-20
SLIDE 20

What actually are data?

Meaningful data must

  • Have measurement values
  • Have accuracy estimate
  • Be related to the model state in some known way

A data item is really a conditional probability density: p( measurements | model state ) = data likelihood Example (Gaussian case): p(d|u) ~ exp( -(d-h(u))TR-1(d-h(u)) )

  • d are the measurement values
  • u is the model state
  • h is the observation function: if the model state and the data were accurate, the

measured data values would be h(u)

  • R is the error covariance matrix of the measurements (assumed known)
  • ~ means proportional

The probability of model states u such that the data residual d-h(u) is large is small. The error covariance matrix R determines what “large” means.

slide-21
SLIDE 21

Representation of the state pdf gives the data assimilation algorithm

  • Pdf represented by the mean and covariance → assumed

Gaussian → observation function must be linear to preserve that → Kalman filter (needs to evolve the covariance…)

  • Pdf represented by the mean only, using some assumed

covariance → assumed Gaussian → optimal (statistical) interpolation, 3DVAR, 4DVAR

  • Pdf represented by an ensemble of simulations (=empirical

measure)

  • Pdf assumed Gaussian, covariance estimated from the ensemble →

ensemble Kalman filters

  • No assumptions about the form of the pdf, weighted ensemble →

particle filters (need huge ensembles…)

slide-22
SLIDE 22

The Ensemble Kalman Filter

  • Given
  • bservation function h(u)=Hu
  • data error covariance R
  • measurement d
  • ensemble of simulation states U=[u1,…,un]
  • Compute
  • The covariance matrix C=(U-E(U)) (U-E(U))T of U
  • The perturbed observation matrix D=[d+ε1,…,d+ εn]
  • The new ensemble Unew=U+CHT(HCHT+R)-1(D-HU)
  • The new ensemble members are linear combinations of the old

ensemble

  • This is Evensen’s original version; other variants e.g. impute decay of

the covariance matrix with physical distance

  • EnKF can be efficiently implemented by dense linear algebra

(SCALAPACK)

slide-23
SLIDE 23

But the ensemble Kalman filter fails for fire models

  • Probability distributions are strongly non-Gaussian (burning/not

burning)

  • Discrepancies are in the fire position as well as in the intensity
  • EnKF is least squares in the span of the ensemble. Arbitrary

linear combinations of states are often nonphysical and break down simulations.

  • Unlike features in other problems (atmosphere, ocean,…)

spurious ignitions will not conveniently dissipate, but they grow instead, and soon the whole domain is on fire

  • One fix is regularization: add an artificial observation “gradient of

the temperature is small”, this helps to keep the simulations in check (Johns, Mandel 2006/2008)

  • But the problem of correcting the location remains
slide-24
SLIDE 24

Regularized EnKF applied to reaction- diffusion PDE fire model

Vertical axis is temperature Ensemble visualized as superposition of transparent

members

Additional data = the whole temperature field of the

truth

The panes in the following pictures are

Reference solution = the truth Comparison solution = started from intentionally wrong

initial conditions with no further data assimilated

EnKF = result of the unchanged EnKF method EnKF+reg = with regularization

slide-25
SLIDE 25
slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28

Dealing with position errors: Morphing Ensemble Filters

slide-29
SLIDE 29

Probability distributions are concentrated around the burning and not burning states

  • Probability distributions (also of the solution) are too far from Gaussian
  • The problem is highly nonlinear

Probability density at one point Burns: 70% probability Does not burn: 30% probability Least squares solution: does not burn Temperature Ignition temperature

slide-30
SLIDE 30

How to move the state to fit the data?

Classical data assimilation methods work by making additive

corrections to the state amplitude (least squares,…)

EnKFs look in linear combinations (some do that locally, but still) Data assimilation methods break when the model state gets too

far from reality, such as fire is in the wrong location

We test the power of a method by how much error it can take

before it breaks (test to destruction…)

Position errors are a pervasive problem in weather forecasting

(storm, weather front, hurricane, pollution cloud are known to be in the wrong location, but weather models cannot correct for that)

+ ½( ) = ?

slide-31
SLIDE 31

Image registration and morphing

(Picture Gao and Sederberg, 1998)

1 1

Solve t To create i he registra ntermediate functions tion problem: find a m between two given functions and (e.g., darkness of images) 1. ( ) min (automatically apping , by

T

u u u I T u const T con T T st + − + + ∇ →

  • (

)

1 1 1

multilevel optimization, Gao, Sederberg, 1998 + improvements)

  • 2. Now

( ) . Get the residual ( )

  • 2. create the intermediate images (morphs)

( ), u I T u r u I T u u u r I T

λ

λ λ λ

+ ≈ = + − = + +

  • (Beezley, Mandel, Tellus A, 2008)

This way we can interpolate position and amplitude at the same time 1 λ < <

slide-32
SLIDE 32

Automatic morphing combines fire positions and intensities in one shot

The first and the last temperature profiles are given. The intermediate profiles are created automatically.

slide-33
SLIDE 33

Morphing ensemble filter

  • Replace linear combination by intermediate images:
  • Represent the ensemble members ui as morphs of one fixed

state plus a residual:

  • Apply data assimilation to extended states (Ti , ri)
  • After the members are advanced in time, use the previous

morph mappings as a good initial guess.

  • The probability distribution of the extended state is much

closer to Gaussian

  • Now the ensemble Kalman filter can move the fireline

easily!

(Beezley, Mandel 2008)

( ) (

)

i i i

u u r I T = + +

slide-34
SLIDE 34

Data assimilation by morphing EnKF

X (m) Y (m) 100 200 300 400 500 100 200 300 400 500 X (m) Y (m) 100 200 300 400 500 100 200 300 400 500 X (m) Y (m) 100 200 300 400 500 100 200 300 400 500

Forecast fire positions (model

  • utputs)

Data Analysis fire positions (after data assimilated, continue running the model)

Instead of having linear combinations of the states create a number of smaller fires, linear combinations of the transformed states move a single fire around.

slide-35
SLIDE 35

Data assimilation in coupled atmosphere/fire model WRF/SFIRE

Standard EnKF Morphing EnKF (Mandel, Beezley, Coen, Kim, 2007)

Prior ensemble

Simulated data

slide-36
SLIDE 36

The software

If it’s not programmed and it doesn’t work, it’s just a fantasy.

slide-37
SLIDE 37

Overall software architecture

Synthetic data Map sources (GIS) Fuel Data Sensors, telemetry Forecast Weather Fire Model Observation function Aerial imaging Adjust Compare Data Assimilation Initial conditions Weather stations Data Acquisition Real data pool Real time data Interpret Global Weather Forecast

slide-38
SLIDE 38

Parallel software structure

Real data pool CPU1 CPUn Fire - atmosphere model Observa- tion function State

State Synthetic data Fire - atmosphere model Observa- tion function State

State Synthetic data CPUk CPUm Fire - atmosphere model Observa- tion function State

State Synthetic data Fire - atmosphere model Observa- tion function State

State Synthetic data

… Ensemble member 1 Ensemble member N

Morphing ensemble Kalman filter Parallel linear algebra

Advancing the ensemble in time Data assimilation

slide-39
SLIDE 39

Observation function

slide-40
SLIDE 40

Observation function and data sources

  • Create synthetic data from the

model state to be matched against the real data

  • Synthetic weather station data:

reports location, timestamp, wind velocity, temperature, and humidity. Must determine which cell in grid, where, and if fire is present in cell

  • r a neighboring cell (Douglas,

Chakraborty 2008)

  • Synthetic infrared aerial images

in several frequencies bands. Needs ray tracing and computation

  • f the flame height and direction

(Vodacek, Wang, 2008) Determine sensor location Fire in multiple cells

slide-41
SLIDE 41

Data Acquisition

slide-42
SLIDE 42

Primarily for local weather… but some burnovers

100 200 300 400 500 600 700 800 11250 11750 12250 12750 13250 seconds after ignition temperature, C

Kremens, et al. 2003. Int. J. Wildland Fire

Data logger and thermocouples Time (sec. after ignition)

T (oC)

Reconfigure to rapidly deploy

GPS - Position Aware Versatile Data Inputs Voice or Data Radio telemetry Inexpensive

Autonomous Environmental Detectors

slide-43
SLIDE 43

Autonomous Environmental Sensorss

  • positioned so as to provide weather

conditions near a fire, are

  • mounted at various heights above the

ground on a pole with a ground spike

  • will survive burnovers by low intensity

fires

  • the temperature and radiation

measurements provide a direct indication of the fire

  • front passage and the radiation

measurement can also be used to determine the intensity of the fire

  • the sensors transmit data and can be

reprogrammed by radio

(Kremens)

slide-44
SLIDE 44

Wildfire Airborne Sensor Program (WASP, Vodacek)

High Performance Position Measurement System Color or Color Infrared Camera

  • 4k x 4k pixel format
  • 12 bit quantization
  • High quality Kodak CCD

Fire Detection Cameras

  • 640 x 512 pixel format
  • 14 bit quantization
  • < 0.05K NEDT
  • Position 5 m
  • Roll/Pitch 0.03 deg
  • Heading 0.10 deg
  • D. McKeown
  • B. Kremens
  • M. Richardson
slide-45
SLIDE 45

AVIRIS Images, SCAR-B, Cuiaba, Brazil Vodacek et al. and Latham 2002, Int. J. Remote Sensing 589 nm 1501 nm 770 nm/779 nm 770 nm

slide-46
SLIDE 46

Next: Put it All Together and Test

  • n a Real Fire

The morphing EnKF method works reliably now –

integrate it into our production quality data assimilation framework

Integrate the data assimilation code with the real

wildfire-atmosphere code

Connect the input with real-time data acquisition,

under development separately

Integrate the output with Google Earth visualization Test on reanalysis of the Esperanza 2006 fire

slide-47
SLIDE 47

Data assimilation status and software goals

Morphing EnKF now works, a research code Now data = a whole array in the state Need to speed up the automatic registration Summer 08: image data, one observation function as

a template

Fall 08: time series of station data (will require

different algorithms… more math)

Spring 09: a presentable code

slide-48
SLIDE 48

Conclusion

  • A real-time system for wildfire modeling and prediction in progress
  • Highly nonlinear system poses unique challenges in data

assimilation and motivates new developments in data assimilation methodology

  • Practical needs drive new mathematical methods
  • Collaborative software development
  • Emphasis on software validation and reliability
  • Coupled atmosphere-fire model handles realistic fires
  • Many components done, still need to put them together
  • Data assimilation works well on model fire problems