User Stories 

“MATLAB enabled us to perform all our modeling and produce diagnostic plots simultaneously. This would have been much more difficult in traditional programming languages."
David Robinson, Geoscience Australia
On December 28, 1989, an earthquake measuring 5.6 on the Richter scale occurred near Newcastle, Australia, damaging nearly 50,000 buildings. Geoscience Australia (GA) subsequently set out to help Newcastle and surrounding areas gain a better understanding of earthquake risk and reduce their potential impact.
Using MATLAB, and collaborating with Aon Impact Forecasting, GA integrated earthquake hazard assessment and risk models with details about buildings in the Newcastle and Lake Macquarie area to produce the most detailed earthquake risk assessment ever published in Australia. MATLAB enabled GA to develop the models quickly and efficiently.
"We cut the time for modeling and simulating earthquake hazards from 20.7 hours to a little over three hours with the JITAccelerator and some clever vectorization in MATLAB," says David Robinson, geophysicist for the Minerals and Geohazard Division at GA.
Geoscience Australia’a earthquake analysis involved estimating earthquake hazard and evaluating earthquake risk. They estimated building damage and economic loss for a subsample of the buildings in Newcastle and Lake Macquarie and then extrapolated the results to all buildings in the region.
Evaluating earthquake hazard was a spatial problem that involved estimating, or modeling, the level of ground motion expected within a specific time period across a geographical region. For this work, GA set up a grid of points and modeled the hazard at each of those points.
The hazard was modeled by simulating earthquakes of varying magnitude, attenuating the associated energy to the grid points, and amplifying the energy as it interacted with local geology.
Geoscience Australia worked with large data sets. The simulated data for the earthquake hazard model represented roughly 13,000 sites and 12,500 simulated earthquakes. The earthquake risk model represented a sample of 6,000 buildings and 1,200 simulated earthquakes.
Building on existing MATLAB applications, the GA team wrote the vulnerability code and used MATLAB to simulate local ground shaking, calculate building damage, and predict the effect of the simulated earthquake on surrounding rock and soil. “Having the ability to streamline tasks within one integrated environment was very beneficial,” Robinson says. They used historical and geological information about previous earthquakes to constrain the probability of future earthquakes in terms of magnitude and location.
“MATLAB lets us handle large data sets and perform calculations efficiently and quickly,” says Robinson. “Using the builtin MATLAB functions, it was easy to sort and find the required data from within very large matrices. The new JITAccelerator and some clever programming in MATLAB enabled us to perform routines more than six times faster.”
For earthquake hazard models, the team used MATLAB routines to sort through the matrices to identify events of interest and estimate the hazard. To estimate the building damage, they used functions in MATLAB to efficiently calculate the maximum building displacement and acceleration for each of the 6,000 buildings in the database. They used this data to calculate the probabilities of being in a given damage state. They then calculated the economic damage for each building by aggregating the dollar loss for all buildings in Newcastle for a specified period.
Geoscience Australia now has models that define the probability of a future earthquake, define the levels of ground shaking in relation to the distance from the earthquake, and its expected impacts. Based on this data, they have made recommendations to the Earthquake Loading Standards Committee of Australia, which is responsible for developing building codes that will help protect new buildings and key facilities, such as emergency services and hospitals, from earthquake damage.
To better understand earthquakes and their potential impact on populated areas
Perform data processing and simulations in MATLAB to estimate earthquake hazards and their associated risks