3.10. Structural Response Prediction Using a Surrogate Model (Gaussian Process)

Warning

To reproduce the result of this example, the user should first click EVT and Select Records, and then click the RUN button. See the below procedure for details.

This example shows how to replace structural dynamic simulations using a pre-trained Gaussian process (GP) surrogate model for running forward uncertainty propagation (Monte Carlo Simulation). The ground motions are selected from the PEER NGA database matching the Design Spectrum of ASCE 7-16 standard.

../../../../../_images/EE10_main2.png

Fig. 3.10.1 Prediction of response statistics using a surrogate model

Important

This examples uses the surrogate model trained in example 09

3.10.1. Set Up Forward Propagation Configuration

  1. In UQ tab select the Forward modeling as UQ Method. Select Dakota engine.

    ../../../../../_images/EE10_UQ.png

    Fig. 3.10.1.1 UQ tab - Scatter plots

    We will select 30 samples. If recorded ground motions will be used as input excitation, as in this example, the number of ground motions that will be selected in the EVT tab should match the number of samples specified in this tab. This restriction does not apply when a stochastic ground motion generator is used instead of the recorded ground motions.

3.10.2. Define Target Structure

  1. The GI tab is kept as default. (GI tab is not used when a surrogate model is used in SIM tab)

  2. In SIM tab, the surrogate model (.json) trained in Example 09 is imported as shown in the figure.

    ../../../../../_images/EE10_SIM.png

    Fig. 3.10.2.1 SIM tab

    Note

    Example 09 describes how to train GP surrogate model and save it as .json format.

    When the option “Random sample under prediction uncertainty” is selected, the predictions from GP are random realizations that account for both model uncertainty and a portion of uncertainty in the ground motion time histories (i.e. the remaining uncertainty after given intensity measures (IMs)). Alternatively, when the user is interested in only the mean of the response, disregarding all the uncertainties, the user can select “Median (representative) prediction”.

3.10.3. Select Ground Motions

  1. In EVT tab, PEER NGA ground motion records option is selected. Let us consider the site of interest located at (37.8715, -122.273), of which we would like to select ground motions that follow USGS Uniform Hazard Spectrum (2014 v4.2.0) with return period 2475. Vs30 is assumed 760 m/s. Let us select 30 ground motion time histories that match this spectrum by clicking Select records button. The target response spectrum curve and the selected ground motions will be displayed on the right-hand side panel as shown below.

    ../../../../../_images/EE10_EVT1.png

    Fig. 3.10.3.1 EVT tab - target response spectrum

    ../../../../../_images/EE10_EVT3.png

    Fig. 3.10.3.2 EVT tab - selected ground motion records on the response spectrum curve

The list of the selected ground motions is shown in the table.

../../../../../_images/EE10_EVT2.png

Fig. 3.10.3.3 EVT tab - temporary records directory and scaling options

The actual time histories are saved in the “Temporary Records Directory”.

Warning

Due to copyright issues, PEER imposes a strict limit on the number of records that can be downloaded within a unique time window. The current limit is set at approximately 200 records every two weeks, 400 every month. Please make sure this limit is not exceeded. Otherwise, the analysis will fail.

  • Temporary Records Directory is where the downloaded ground motion records are stored. It is recommended to specify a directory here instead of using the default temporary directory, in order to reuse the time history data in future analysis.

  • Acceleration Components option is used to select the directional components to be used in the analysis. For example, if H1 is selected, single-direction ground motion will be excited to the structure.

  1. In FEM tab select None (only for surrogate).

    ../../../../../_images/EE10_FEM.png

    Fig. 3.10.3.4 FEM tab

  2. The EDP tab is automatically populated with the EDP names used when training the surrogate. Keep the option None (only for surrogate)

    ../../../../../_images/EE10_EDP.png

    Fig. 3.10.3.5 EDP tab

3.10.4. Distribution of Random Variables

  1. The RV tab is pre-populated with the random variables that were used to train the surrogate. Change the distribution of the statistical parameters as desired. In this example, the stiffness is assumed to be distributed around 120 with a standard deviation of 5.

    ../../../../../_images/EE10_RV.png

    Fig. 3.10.4.1 RV tab

Warning

Note that the surrogate modeling is essentially based on “interpolation”. Therefore, the distribution of stiffness should not significantly exceed the training bound. If a sampled stiffness value lies outside of the training range, [50, 150] in this example, the prediction from the surrogate model for that sample is likely not reliable.

3.10.5. Run the Analysis and Process Results

  1. Click Run button. The analysis may take several minutes. The RES tab will be highlighted when the analysis is completed

  2. The obtained statistics of responses are shown in the “Summary tab”

    ../../../../../_images/EE10_RES1.png

    Fig. 3.10.5.1 RES tab - summary of response statistics

  3. In the “Data Values” tab, one can plot the histogram and cumulative density function (CDF) of the samples, as well as scatter plots between the input and output of surrogate predictions

../../../../../_images/EE10_RES2.png

Fig. 3.10.5.2 RES tab - cumulative density function

../../../../../_images/EE10_RES3.png

Fig. 3.10.5.3 RES tab - scatter plots

Note

The user can interact with the plot as follows.

  • Windows: left-click sets the Y axis (ordinate). right-click sets the X axis (abscissa).

  • MAC: fn-clink, option-click, and command-click all set the Y axis (ordinate). ctrl-click sets the X axis (abscissa).

In the scatter plot, the gray square markers represent the mean prediction from the surrogate, gray bounds denote 90% prediction interval, orange bounds denote 90% confidence interval of the mean prediction, and blue dots represent the sample obtained from the surrogate prediction.

Note

  • The term “90% prediction interval” is the interval in which the exact “response”, i.e. dynamic simulation output, will fall with 90% probability.

  • The term “90% confidence interval” is the estimated range of the “mean response”. Therefore, the confidence interval is always tighter than the prediction interval.

  1. [Verification] Only for verification purposes, an additional forward propagation is performed using the exact simulation model instead of the surrogate model, using the exact same ground motion/structural parameters. For this, UQ, GI, EVT, RV tabs are kept unchanged, and SIM, FEM, EDP tabs are modified to replace the surrogate with the original model, i.e. for SIM, FEM, EDP tabs, the exact same configuration used in example 09 was used. Below is a comparison of the obtained mean log-EDPs from 30 samples:

../../../../../_images/EE10_RES4_1.png

Fig. 3.10.5.4 Comparing median of log-EDP

The same comparison in the original scale is shown below.

../../../../../_images/EE10_RES4_2.png

Fig. 3.10.5.5 Comparison of log-standard deviation

On the other hand, the log-standard deviation of the EDPs from 30 samples is obtained as below.

../../../../../_images/EE10_RES4_3.png

Fig. 3.10.5.6 Comparing the standard deviation of log-EDP

The estimated medians of EDPs from the surrogate and the original model show in general good agreement. The standard deviation of the surrogate model is larger partly because of the added uncertainty in the surrogate model approximation. The difference in the statistics may also be attributed to the small sample size of 30.