<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=648880075207035&amp;ev=PageView&amp;noscript=1">

BayesiaLab Webinar Series

Simulation Meta-Modeling with Bayesian Networks and BayesiaLab

Recorded on February 21, 2019

In this webinar, we demonstrate how Bayesian networks can serve as a practical modeling framework for building meta-models of technical simulations. Our case study is about optimizing multiple parameters (e.g., spring and damping constants) of a simplified vehicle suspension in order to maximize ride comfort while maintaining good body control.


Webinar Materials


Simulations, Fast and Slow

Given the cost and technical challenges of experimenting with real physical systems, it is common practice in engineering to approximate such domains with computer models. These models incorporate the physical laws, typically in the form of hundreds of differential equations, that govern the system's real-world behavior. That way, the system performance can be examined in detail before building a hardware prototype. Simulations allow engineers to try out different parameters of components in pursuit of performance objectives while taking into account constraints.

While increasing computing power has made simulations more accessible and affordable than ever, performance remains a significant constraint. Why? For each set of parameter values a new simulation must be run, in which many differential equations need to be solved. While this might only take a few seconds on modern computers, one generally needs to test many levels of many parameters, which would require thousands or even millions of iterations.

So, as the computing requirements grow exponentially with the number of parameters and levels, alternative strategies must be sought. One approach would be to be very selective in terms of which parameters and levels to test, i.e., narrowing the search space by utilizing a search algorithm.

Simulating the Simulation

In our webinar, we pursue a different strategy. We approximate the original simulation model that is based on differential equations with another model, a so-called meta-model. In effect, we are simulating the simulation of the real-world system. This approach is generally known as Response Surface Methodology, in which the relationships between parameters and target variables are approximated with functions that are unrelated to the underlying physical laws.

In our case, we machine-learn a Bayesian network meta-model from previously-computed simulation data and, thus, capture the relationships between parameters and target variables entirely nonparametrically. With such a meta-model, we can perform inference much faster and see the effect of parameter changes in real-time. 

Quarter-Vehicle Model

Quarter-Vehicle Model

In our case study, we examine, the impact of tire stiffness, spring rates, and damping constants on the ride comfort of vehicle passengers. For that purpose, we create a so-called "quarter-vehicle model" using a two-mass spring/damper system in Modelica. On that basis, we simulate the response of the vehicle to vertical excitations from a synthesized, irregular road surface. This produces the sample observations we need for learning a Bayesian network model with BayesiaLab. 

Analysis in the Frequency Domain

Bayesian networks offer another key advantage in that variables can represent distributions in the frequency domain. This allows for a direct evaluation of the impact of parameter changes to the frequency response of the vertical vehicle body acceleration. This frequency response will be our principal measure for judging ride quality and body control. Generally speaking, we are looking to minimize peaks in the frequency range between 0 Hz and 200 Hz.

In this context, computing the frequency response curve's entropy, an information-theoretic measure, is very helpful. For instance, BayesiaLab's built-in optimization algorithms can search for parameter values that minimize the entropy of the frequency response, i.e., making the curve as uniform as possible.

Meta-Models in Your Head

Meta-models are ultimately shortcuts for a faster system evaluation. As it turns out, we implicitly use meta-models in the qualitative evaluation of systems all the time. Reasoning about a vehicle suspension, we would presumably argue that "softer spring and damper settings" generally provide a "smoother ride," and we could make such a (correct) statement entirely without solving any differential equations. 

Related Examples

A recent presentation by Zack Xuereb Conti on simulation metal-modeling with Bayesian networks provided the impetus for developing this case study.

BayesiaLab Courses

June 17–19, 2019 Seattle, WA Advanced Course (3 Days)
July 17, 2019 Washington, D.C. BayesiaLab 101 Short Course (1 Day)
October 7–9, 2019 Durham, NC Introductory Course (3 Days)
October 14–16, 2019 Durham, NC Advanced Course (3 Days)

7th Annual BayesiaLab Conference

October 7–9, 2019 Durham, NC 3-Day Introductory Course
October 10–11, 2019 Durham, NC 7th Annual BayesiaLab Conference
October 14–16, 2019 Durham, NC 3-Day Advanced Course