Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall...

23
Aaron Alphonsus, Javier Salazar, Chi Zhang August 8, 2018 Dartmouth College, Cold Regions Research and Engineering Laboratory (CRREL)

Transcript of Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall...

Page 1: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Aaron Alphonsus, Javier Salazar, Chi ZhangAugust 8, 2018

Dartmouth College, Cold Regions Research and Engineering Laboratory (CRREL)

Page 2: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Motivation

Source: Soderman/NLSI Staff

1

Page 3: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Bayesian Inference Framework

Goal: Infer coefficients θ⃗ given data x⃗

d⃗xdt = u⃗

mdu⃗dt = F⃗(θ)

Prior: Reasonable assumptions based on past experienceand knowledge.

Likelihood: A function describing the compatibility of theobserved data with the model.

Posterior: Result of updating the prior given the new data.

2

Page 4: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Forward Model

F⃗(θ) = ma⃗ F⃗(θ) = mdu⃗dt u⃗ =d⃗xdt

Damped Harmonic Oscillator:

F⃗(θ) = −θ1F⃗spring − θ2F⃗damping

Iceberg Model:

F⃗(θ) = θ1F⃗water + θ2F⃗air + F⃗coriolis

3

Page 5: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Prior & Likelihood

Prior: A distribution allowing only non-negative values forθ1 and θ2.

Likelihood: A function showing model-data mismatch for eachgiven θ.

π(d|θ) ∝ exp(L(∥d− G(θ)∥2))

4

Page 6: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Bayes’ Rule

Posterior ∝ Prior · Likelihoodπ(θ|d) ∝ π(θ)π(d|θ)

Goal: Generate samples from the posterior distributionMethod: Markov chain Monte Carlo (MCMC) sampling

5

Page 7: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Markov chain Monte Carlo (MCMC)

Metropolis (1953) & Hastings (1970)

θt+1 only depends on θt

3 step algorithm (for t = 1→ ∞):

1. Propose new point:θ̂ ∼ q(·|θt)

2. Compute acceptance rate α:

0 ≤ α(θt, θ̂) ≤ 1

3. Accept / Reject:

θt+1 =

{θ̂ with probability αθt otherwise

6

Page 8: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

MCMC - Visualization

Source: The University of British Colombia, Ricky Chen

7

Page 9: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Harmonic Oscillator

Recall the forward model:

d⃗xdt = u⃗

F⃗(θ) = −θ1F⃗spring − θ2F⃗damping

8

Page 10: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Data with Additive Noise

9

Page 11: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Sampled Posterior Distribution

10

Page 12: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Posterior Predictive Distribution

11

Page 13: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Real Iceberg Model

Recall the forward model:d⃗xdt = u⃗

mdu⃗dt = θ1F⃗water + θ2F⃗air + F⃗coriolis

F⃗air(x, y, t) = |⃗vair − v⃗ice|(⃗vair − v⃗ice)

F⃗water(x, y, t) = |⃗vwater − v⃗ice|(⃗vwater − v⃗ice)

Source: Mountain(1980)

12

Page 14: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Sample Forward Model Run

13

Page 15: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Approximate Prior v/s Posterior Predictive

14

Page 16: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Simplified Iceberg Model

15

Page 17: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Data with Additive Noise

16

Page 18: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Sampled Posterior Distribution

17

Page 19: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Posterior Predictive Distribution

18

Page 20: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Conclusion

19

Page 21: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Questions

20

Page 22: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Damping Ratios of Oscillatory Systems

Source: Stuart Aitken, University of Leeds

21

Page 23: Estimating Iceberg Drag Coefficients Using Bayesian …reu/iceberg.pdf · Real Iceberg Model Recall the forward model: d⃗x dt = ⃗u m d⃗u dt = 1⃗Fwater+ 2⃗Fair+⃗Fcoriolis

Posterior Predictive Distribution

22