Skip to content
Odds and ends, S1E5 episode artwork

Dec 14, 2016 28 min

Odds and ends, S1E5

from Engineering Out Loud Hosted by Engineering Out Loud

The Monte Carlo method conjures images of a suave gambler beating the house in Monaco. In reality, Monte Carlo methods are computational algorithms that use randomness to solve problems. In this episode we hear from Todd Palmer, professor of nuclear engineering, about his use of Monte Carlo simulations in nuclear power. In addition, find out how Haizhong Wang, assistant professor in transportation engineering, is incorporating Monte Carlo to model tsunami evacuation routes in the Cascadia Subduction Zone. BONUS MATERIAL Oregon and Washington Tsunami Inundation Zones and Evacuation Routes California Tsunami Indundation Zones and Evacuation Routes Tsunami Warning System How To Prepare For The Cascadia Megaquake Available on Apple Podcasts, Google Podcasts, Spotify, Stitcher, and YouTube. https://engineering.oregonstate.edu/season-1-data-science-and-engineering/odds-and-ends-s1e5

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Odds and ends, S1E5

0:00 28:43
of matches

Transcript Auto-generated, may contain errors

From the College of Engineering at Oregon State University, this is Engineering Out Loud. One night in 1946, the brilliant young mathematician Stanislaw Ulam was rushed to the hospital with violent headaches caused by encephalitis. He lapsed into a coma, but survived and recovered. During his many weeks of recovery, he played game after game of solitaire, and like a true mathematician, wondered just what the odds were of winning a game. He quickly realized that solving the problem mathematically would be nearly impossible. Much more elegant would be to simulate 100 games, then count the number of wins.

That was the humble birth of a technique that changed the world and today is used in any field that applies statistics. That's pretty much anyone you can think of. Ulam called it Monte Carlo, supposedly for the casino where his uncle gambled. The Monte Carlo method is a way of modeling physical systems using randomness and probability. That's Todd Palmer, professor of nuclear engineering, who frequently uses Monte Carlo simulations in his work. I'm Steve Franzel from the College of Engineering, and in this segment of Engineering Out Loud, we'll explore the Monte Carlo method, how it's used to work out extremely complicated problems, and how it almost saved a nuclear reactor more than 6,000 miles from the Oregon State campus.

Monte Carlo is the most mathematically simple, physically intuitive approach for addressing very complicated problems. You just have to envision what's happening and assign distributions to the various possible outcomes, and then you can model it. We use these probability distributions to describe what happens to radiation that's born in the reactor core when it moves through the background medium. If you know where the radiation is produced, its direction, and its energy, now you can ask, what's the likelihood that it will travel a certain distance before it collides with a nucleus, or the chance that it escapes the fuel and interacts with another medium like the reactor coolant? Essentially, you're just simulating the life cycle of the radiation in the core. As powerful as it is,

Monte Carlo still has a glaring drawback. Well, the major one is that Monte Carlo is very slow. Of all the algorithms, it's easily one of the slowest ways of solving these types of problems. The time it takes to run a simulation varies depending on the speed of the computer and the number of samples that you use in the problem. The more samples, the smaller the error. Suppose we're trying to estimate if a certain configuration of reactor fuel creates a critical state, meaning that the reactor is operating safely at a steady-state power level. A simulation like that can take on the order of 10 hours on computers that we have here at Oregon State, and that's a relatively simple simulation.

If you have a problem where time is a variable, simulations take much longer. For instance, if a reactor runs, it's using up its fuel. This is a time-dependent problem, and that calculation can take on the order of two weeks of computer time. Essentially, we're trading speed for accuracy. Monte Carlo offers the benefit of modeling all the physics as accurately as you really can, but it can also be very slow. And big, really big, when it comes to the amount of data involved. To get the fidelity we need to make decisions about whether a reactor is efficient and safe, we need on the order of two billion individual pieces of information from a simulation.

Lots and lots of data, huge amounts. Other problems are simpler, but the scope of the reactor problem is particularly large. Palmer also points out that nuclear engineering led directly to the high-speed computers that are capable of processing huge amounts of data, and which makes Monte Carlo simulation possible at all. Digital computing came out of the same people who were doing nuclear engineering in the Manhattan Project. There's a closer coupling between high-performance computers and nuclear engineering than there is with any other field. It sprang from the same well, and I feel a really strong familial relationship with that.

Back in the days of the Manhattan Project, the word computer referred to women who were handed calculations to do. They did their calculations, got a result, handed it to the next person who took that result and did something else. They were doing computing on very large scale with humans. In one of his research projects, Palmer used Monte Carlo to simulate what would happen if one type of nuclear fuel in a small but important research reactor in Uzbekistan was replaced by another type of fuel. But first, it helps to know the function and importance of research reactors, which are tiny versions of the giant nuclear power plants we're used to hearing about. Primarily, the purpose of research reactors is to produce neutrons, and we use those neutrons to irradiate a known sample of a particular material that's been sliced into a thin section.

And we'll measure what comes out. So if you know the thickness of that material and how many neutrons you're using to bombard it, then you can estimate the number of the interactions, like absorption or scattering, all the different types of interactions that radiation can have. One of the applications that we're interested in is nuclear forensics, trying to understand the origin of either pre-detonation or post-detonation material after a nuclear weapon is exploded. So that's material that's been affected, for instance, by a nuclear blast. Essentially, you need neutrons to do this, and a reactor is a good source of that.

For many years, the Uzbekistan reactor has been a reliable source of those neutrons, and researchers from prominent laboratories and the United States government itself have come to rely on it. Researchers at places like Pacific Northwest National Lab and the National Nuclear Security Administration, which is part of the DOE, the U.S. Department of Energy, use the reactor in Uzbekistan to irradiate materials with neutrons. This reactor is very economical, and the work can be done on a very short turnaround time. There are reactors in the U.S. that can do this work as well, but their availability is limited. Typically they're booked three to six months, maybe to a year in advance. So this reactor is available to us, but Russia supplies the fuel. And it's a particular type of fuel called plate fuel. The Russians have a monopoly on this particular plate fuel, and they're very good at making it. But they keep raising the price and squeezing Uzbekistan for more money. Essentially they can't afford it.

Russia is saying if you don't give us the money we need for the fuel, you won't get any fuel, and without fuel the reactor will cease to operate. Those operators will lose their jobs. It's a threat to those particular technical folks and their standard of living and what they're doing with the science. It's also not good for the United States because it disrupts a reliable source of neutrons. There is another possibility. Alter the reactor so that it can use another type of fuel. But is that really practical? The replacement of the core will be expensive, millions of dollars. And we can't afford to do that without knowing if it will work beforehand. So we use Monte Carlo to simulate it. We already know how the reactor works with plate fuel. We have models for that as well.

We kicked around the idea of showing that you could operate this reactor using pin-type fuel, which is housed in long cylindrical rods, and it's abundant and it's inexpensive. We're talking about redesigning the core using a totally different kind of fuel, but keeping the facilities the same. It's a lot like yanking the combustion engine out of your car and putting in an electric engine. Hopefully you get the same performance and all the safety systems and the brakes will still work. We needed to predict the behavior of the reactor using the pin fuel. Things like how long will it run before it needs refueling? How much power will each fuel pin produce? What are the radiation fluxes inside the reactor? Is it safe? So we ran these simulations and we said, hey, they look pretty close. So much so that you could probably do this. For a while, Palmer was optimistic about the possibilities of saving the reactor. If we talked about this about six months ago, I would have said things are looking really good. The core is going to work out and there's support for this in the Department of Energy.

They certainly thought this when they funded the work in the first place to look at this, but now we're hearing that DOE isn't all that interested anymore. It seems much more likely that when the current fuel supply is exhausted, this reactor will shut down and it may never start up again. Unfortunately, Palmer was right about that. Uzbekistan decided to close the reactor permanently. Even though events overtook him, Palmer's work on the reactor problem illustrates the power of Monte Carlo. But it also raises questions about the role and even the definition of data science and engineering. What exactly is it? This is a tough question. The way I think of it is it's about understanding and using information in the best way possible to solve problems. It involves things like quantifying the uncertainty of the data, knowing how good the actual information is, visualizing it, interpreting it, and then making decisions based on the results. I think this last piece is the hardest part.

As scientists and engineers, we tend to stop after we complete the calculation. So here's the calculation and the associated uncertainty, and basically I'm out of here. But then the question is, really, what does that mean? And how does a policymaker or decision maker use that information? The information we get from our calculations, it's not just numbers. It has a relevance in the real world. Whoa, that turned scary quick. One minute we're hanging out on the deck of a boat playing cards, and the next, the big one hits. It's unpredictable. Welcome to part two of the episode. I'm Jan Zodigard. And I'm Rachel Robertson, and we are from the College of Engineering at Oregon State University.

Both of us actually grew up in Oregon, living in this zone, this earthquake zone. But I don't remember anyone really talking about it, do you? No, I don't. You know, I grew up just across the Cascade Mountains on the east side. And, you know, certainly no one was ever really talking about the Cascadia Subduction Zone over there. It was more talk about, you know, there's a few above ground faults in eastern Oregon that historically happened and big earthquakes over there. But that's like a totally a thing of the past. And then the other big, you know, talking point was always the San Andreas Fault in Southern California. You know, the big one that's going to knock L.A. off into the Pacific Ocean and, you know, cause major havoc.

Right. But we've all become more aware of the danger. So fortunately, we have scientists here at Oregon State University who are doing a lot of research on earthquakes and, you know, helping us build buildings that are safer. And also Haijong Wang, who we're going to be talking to later in the podcast, he is doing research on looking at how people evacuate from an earthquake. Yeah, actually, Johanna Carson, who's one of the members of our podcast team, interviewed Dr. Wang a while back about his work. And we stepped in to take over her podcast because she actually had to run off to Nepal. She got the opportunity to go interview folks doing fieldwork in Nepal. Yeah, it's pretty cool that she got that chance to do that. And, you know, we're not bitter at all that she left us behind to finish up the podcast. But I got an opportunity to talk to Johanna on the phone about what she's doing there. Hello.

Hi, Rachel. Hey, Johanna. How are you? I'm very well. How are you? Good. It's awesome to hear from you all the way from Nepal. That's crazy. It is crazy. So why don't you just tell me what you're doing in Nepal? Yeah, well, I'm here with Ben Mason, assistant professor in geotechnical engineering here at Oregon State, as well as Dominiki Asimaki, who's a professor of civil and environmental engineering at Caltech. And they are here conducting a workshop for local engineers here in Nepal on ground failure, risk, and mitigation. Okay, cool. And so what has been your experience so far with interacting with the local people there in Nepal?

Well, it has been overwhelming in a wonderful sense. I've met a lot of warm, just wonderful, lovely people. And particularly at the workshop, I was able to meet an engineer who took me out on a tour of a few of the schools that were impacted by the April 2015 Gorka earthquake here in Nepal. One of the schools was completely pancake. It just collapsed. Here in Nepal, they use the term sandwich. But subsequently, that school has been...

reconstructed. So I was able to see what had occurred since the earthquake. And then we also went to another school that survived the earthquake quite well, and it was because it had been retrofitted prior to the earthquake through a program called NSET schools, and NSET stands for the National Society for Earthquake Technology Nepal. And they're an organization that has been around for about 20 years, and they've just done a tremendous amount of work in both the technical aspects of going out into the field and doing these retrofits to training engineers, training masons, training the general public in what to do during an earthquake. Okay, cool. And so there is hope that you can actually build a building so that it will withstand, then, a pretty big earthquake. Yes. Yes, there is. And I was able to see that. And so what is your take-home message? My take-home message is that not only are...

Our Dr. Mason and Dr. Asmaki here are providing their expertise to local engineers here in Nepal to make Nepal a safer place. But, you know, we're also learning a lot here from the Kathmandu Valley that can be applied to us back home in the Willamette Valley to make that a safer place for us as well. Okay, great. Well, thanks so much for taking the time to talk to me. I really appreciate it. Yeah, well, you know what? I appreciate you. You aren't going to believe the fruit baskets that you and Yens are going to get. Oh.

So there are actually several researchers in the College of Engineering that study earthquakes and tsunamis. For example, our dean, Scott Ashford, is an international expert on the impact of subduction zone earthquakes in much of the Pacific Rim, including Japan's major disaster in 2011. He's also the director of Cascadia Lifelines Program, which is a collaborative research initiative of eight partners from government and private industry. And what they're doing is they're trying to improve the infrastructure, like roads and bridges, so that they perform better in an earthquake. Yeah, so his research is really, you know, related around the stuff that Johanna is over in Nepal with those guys about. It's more about the structure and about resiliency in the earthquake or, you know, while the tsunami is happening. But, you know, it's also, okay, so we have to have the structure and the infrastructure, but what about the humans involved? What do we do after the earthquake and the tsunami hits? And, you know, we mentioned that Johanna talked to Haijong Ling, and his research is all about that. He's an assistant professor of transportation engineering here in the College of Engineering, and he actually models earthquake evacuation scenarios. The scenario that we're trying to capture is...

is the worst scenario. The really big one we're talking about is a magnitude 9.0 earthquake and tsunami. So that's the worst event that could happen to the region. So this has been a long introduction about the earthquake research happening at Oregon State. But now we want to get back to the topic of data science and engineering. So Jens, bring us back to the point. How is this related to the Monte Carlo method? Dr. Wang uses the Monte Carlo method in his simulations of how evacuated decision-making behavior impacts traffic flow, and then he validates these models with real data. So he takes various transportation options, such as driving or walking or riding your bike, into account. It's computationally intensive, and as he explains, it can be a tricky business. The earthquake.

The following, you know, multi-hazard, more of a, you know, tsunami, if it's a near-field earthquake, you know, in the ocean, that will trigger a tsunami and other type of secondary heathers, landslides and, you know, soil liquefactions and, you know, all those are, because, you know, that in nature is not just a one type of heather, it's a multi-hazard in nature. All these, you know, complications are actually creating the additional complexities in that modeling effort. To simulate how individuals would flee hazardous areas, Dr. Wang uses a method called agent-based modeling. There are other approaches, but, you know, agent-based morphism is a microscopic simulation tool. It's more looking at, you know, an individual and from the individual and, you know, to study the collective motion, collective behavior. It's not a predictive approach. It's more, you know, we can understand it's more as a scenario evaluation approach. You know, we try to mimic a real-world setting. The agent-based approach provides a lot of flexibility in terms of, for example, when we...

try to accommodate, you know, like heterogeneous population group. For example, there are senior, elderly, and all the different, you know, population types. And also the decision-making, you know, the different kind of decision-making that behavior that they have. And how does that affect life safety and the mobility and life safety in general? So now we come to how it involves the Monte Carlo method.

To account for random events, Dr. Wang uses this method in his models. It was developed at the Los Alamos National Laboratory, and the Monte Carlo method is a way to insert randomness into models. In this modeling work, there's a lot of uncertainties. And even we take into account a lot of the different decision-making and different people's departure time, and there's a lot of uncertainties associated with the simulation itself. So if we, for example, using a one-shot simulation, only run the simulation once, if we draw conclusions from that one-shot simulation, the result is not as convincing.

The Monte Carlo simulation allows us to run the scenarios, for example, a thousand times or even more than that, and to look at, okay, in that thousand or ten thousand times, how often does this scenario emerge? Once Dr. Wang creates a simulation, he validates it with real data, which can also be tricky. In our case... In natural disaster research, one challenge is the lack of empirical data. And we don't know when it will happen. So it's not something we can set up to collect the data. A lot of the data in this setting is either post-disaster or post-event survey, and you can only survey people who survived. So as with many of the stories of research in our podcast season on data science and engineering, advances in the speed and storage capabilities of computers has completely changed what science is capable of.

Wang said that when Monte Carlo simulations were first proposed, computers did not have the capacity to even carry them out. And the smartphones we all carry around are another boon to science. As one company, they actually unintentionally collected people's location data and the travel. For example, the trajectory. If you are using smartphones, if you are walking from one area to a city shelter, and your data is recorded. If you're driving using GPS, your data is also recorded.

the people's access to the smart devices. And especially over the past few years, the smartphones and other smart devices could be connected and could be using as a tool to collect the data. And we're experiencing really from a data desert to a data ocean. So these scenarios are not just thought experiments. The work of Dr. Wang and his collaborators could have direct impact on those of us living in the Cascadia subduction zone. The model actually can be used as more of a scenario simulation.

management to inform decision makings for example if you know like city of seaside they wanted to design a certain number of tsunami you know vertical tsunami evacuation structures and you know where those structures should be located or you know what kind of which are the optimum locations that you know to put those shelters the vertical evacuation shelters that can generate the maximum you know safety outcome and this model can be used as you know a tool to evaluate that for example we put you know the shelters in the different locations in the model and run that simulation using Monte Carlo simulation and to evaluate why this location is better than the others and can provide the evidence or support to that decision-making process.

So we've learned a little bit about what researchers are doing at Oregon State, you know, related to earthquakes and tsunamis. But people might want to know what they can do practically. You know, if they're on the coast, at seaside or somewhere else, what should they do if the big one hits? Yeah, that's a question I ask myself quite a bit. I surf quite often at the coast. Newport is just west of us, about 50 minutes from Corvallis here. And so that's the region I'm usually in. But, you know, it has similarities to seaside or any other coastal town up and down Washington and Oregon and Northern California. And so, you know, the question is if you're out surfing or if you're on the Bayfront or just hanging out with the family.

how do you know the big ones hit? And, you know, how do you know the tsunami's coming? In the past, there's been, you know, physical air raid sirens that'll blast, you know, that classic air raid noise and that will alert you. And some of those are still in effect. But really modern technology has shifted some of the alerts, you know, to wireless push notifications like to your cell phone. It might not help you if you're surfing, but if you're actually, you know, on the coast and you have your cell phone with you, it'll push a notification to alert you to get out of the area. And that, you know, the earthquakes hit, the tsunami's coming. And so that'll let you know that that's happening. And then I guess from there, it's what's your response? So once it happens, what do you do?

Yeah, well, I mean, the research shows that if the really, you know, the really big one hits, we have maybe like 10 to 15 minutes. And if it's just the regular big one, you know, it's a little bit longer, but not much longer in response time to get out of the inundation zone. So the earthquake hits and it sends this wave, the tsunami toward the coast. And, you know, you have maybe 10 to 20 minutes to get out of the low lying areas and to a safer place, you know, a higher vantage point. So, you know, really, you have to know what areas will be affected if you're at the coast and how to get out of them. I'll give you a practical example. In Newport, the bay front is, you know, really low lying. And if you're on the south side.

of the bridge, there's really only one area to go. And I often surf off of South Beach there. And the only way out of the inundation zone, it would be to book it back up the seawall and run up this hill that's right there. And it's just tall enough to get you out of the inundation zone. But if I was unprepared, you know, before I went surfing, I have no way of knowing where I was supposed to go or how to get up that, you know, that's the only safe hill because there's other sand dunes that look tall enough. But if the tsunami actually hits, you'd be underwater.

Okay, so be aware of where you are and where the safe areas are. Yeah. And you can actually, you know, find that information out by some websites that we'll have linked on our webpage that really show you, you know, the inundation zone and also the evacuation routes for like every city on the coast. That's great information, Jens. Thank you for all of that. And as he mentioned, all this information will be linked on our episodes page on our website, engineeringoutloud.oregonstate.edu.

So this has been a podcast takeover by Jens Odegaard and Rachel Robertson for Johanna Carson, who is off on assignment. Steve Franzel produced the first part of the episode, and we had help from Mitch Lee, as always, with our final audio editing. Our intro music is The Ether Bunny by Eyes Closed Audio on SoundCloud and is used with permission via Creative Commons 3.0 license. For more episodes, visit engineeringoutloud.oregonstate.edu or search Engineering Out Loud on iTunes or your favorite podcast app. Take care. That's good. That's it, huh?

Frequently asked questions

How long is this episode of Engineering Out Loud?

This episode is 28 minutes long.

When was this Engineering Out Loud episode published?

This episode was published on December 14, 2016.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Engineering Out Loud episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.