Rocscience International Conference 2025 is going to take place in Sydney, Australia Read more

Search Results

7 - Barrier Sensitivity Analysis

1.0 Introduction

This tutorial will demonstrate the Barrier Sensitivity analysis option in RocFall2. Barrier Sensitivity allows you to automatically vary the location, height, angle, or capacity of rockfall barriers. Results are plotted as sensitivity plots, allowing you to determine the optimum location, height, angle, or capacity of rockfall barriers without the need to edit and re-compute multiple files. Output variables include rock energy, number of rocks impacting or passing a barrier, impact height, and velocity.

Topics Covered in this Tutorial:

  • X-Location, Height, Angle, and Capacity
  • Single input variable
  • Two input variables
  • Optimization based on energy, number of rocks, and impact height

Finished Product

The finished product of this tutorial can be found in the Tutorial 07 Barrier Sensitivity Analysis data file. All tutorial files installed with RocFall2 can be accessed by selecting File > Recent Folders > Tutorials Folder from the RocFall2 main menu.

2.0 Model

Let's start by opening the file for the tutorial.

  1. Select File > Recent Folders > Tutorials Folder and open the Tutorial 07 initial file.

You should see the following model:

starting model
Initial RocFall2 model

The slope, barrier, rocks, and seeder have already been defined.

NOTE: Barrier sensitivity analysis can only be performed on ONE barrier at a time. If your model includes multiple barriers, you can still perform a barrier sensitivity analysis, but only ONE barrier can be chosen for sensitivity analysis. All other barriers will have fixed properties (X-Location, Inclination, Height, and Capacity).

2.0 Barrier Sensitivity Dialog

In order to carry out a barrier sensitivity analysis, you must first add a barrier to the model. In the above model, a single barrier has already been added. The Barrier Sensitivity can be opened by:

  • Selecting: Barriers > Barrier Sensitivity
  • Right-clicking on a barrier and select Barrier Sensitivity from the popup menu

You will then see the Barrier Sensitivity dialog:

Barrier Fence Sensitivity dialog

In this dialog, you can choose:

  • Single Variable Analysis or Double Variable Analysis
  • The input Variable(s) for the analysis (X-Location, Length, Inclination, Capacity)
  • The Start/End values for the input Variable(s) and the number of Steps (i.e., the number of intervals between the values)

3.0 Single Variable Analysis

To start with, we'll demonstrate a Single Variable Analysis. With single variable analysis:

  • You choose ONE input variable (X-Location, Length, Inclination, Capacity)
  • After the analysis is run, you can plot one or more output variables versus the input variable on a sensitivity plot.

3.1 LOCATION SENSITIVITY

Let’s start with a sensitivity analysis of X-Location. This allows you to vary the barrier location by inputting the range of X-coordinates for the barrier. In the Barrier Sensitivity dialog:

  1. Select Single Variable Analysis.
  2. Set the following:
    • Variable = X-Location
    • Start = 8
    • End = 15
    • Steps = 10
  3. Click OK.

You should see the following, based on the range of X-Locations.

Image of model based on the range of X-Locations

The min and max barrier locations are highlighted in red and the currently selected barrier is highlighted in dark blue. The locations correspond to the Start/End/Steps values entered for X-Location. The barrier Length and Inclination are constant since we are only varying the X-Location.

NOTE: Although the sensitivity display shows all barrier locations generated by the input, only ONE barrier is active (the currently selected barrier) for each analysis run.
  1. Select the Compute Compute icon option from the toolbar or the Analysis menu.

The sensitivity analysis is computed and you should see the following plot.

Image of sensitivity analysis plot

The above plot shows X-Location (horizontal axis) plotted against two output variables (maximum total energy and number of rock hits). These are the default output variables.

NOTE: If the plot is not automatically generated, then select Graph > Graph Sensitivity and select output variables as discussed below.

3.2 SENSITIVITY ANALYSIS

A RocFall2 Barrier Sensitivity analysis means that the analysis is automatically repeated for EACH value of sensitivity input variable, in this case, the barrier X-Location. For each barrier location, the results are recorded and can be plotted on a sensitivity plot.

Let’s plot some additional output variables.

  1. Select: Graph > Graph Sensitivity.
    You will see the Barrier Sensitivity Plot dialog.
    Barrier Fence Sensitivity Plot dialog
  2. NOTE: For Single Variable analysis, you will see the current input variable at the top of the dialog, and all available output variables. For output variables, you can select any number of variables to plot (e.g., one, two, three, or more).
  3. Select Max Total Energy, Mean Total Energy, Number of Rock Hits, and Number of Rocks Passed for output variables.
  4. Click OK.

You should see the following plot.

Energy (KJ) send Number of Rocks vs X-Location plot

3.3 VIEWING DIFFERENT RESULT SETS

A very important property of the Barrier Sensitivity analysis is that you can obtain results for any individual analysis run (i.e., any value of input variable) by double-clicking the mouse on either:

  • A point on a Sensitivity Plot, or
  • A sensitivity barrier location on the model.

This automatically re-runs the analysis for that value of input variable, and the rock paths on the model are updated accordingly.

To demonstrate this:

  1. Select Window > Tile Vertically to vertically tile the views.
  2. If you have two plot views open, close one and re-tile the views.
  3. Double-click the mouse on:
    • The leftmost point on the sensitivity plot, or
    • The leftmost (first) sensitivity barrier in the model view.

You will see that the analysis is re-computed and that the rock paths correspond to the selected barrier location, in this case the first barrier location. Notice that many rocks pass over the top of this first barrier. On the plot view, a vertical dotted line indicates the currently selected value of input variable.

Energy (KJ) and Number of Rocks vs X-Location plot and model

  • Now double-click the mouse on successive barrier locations and notice how the rock paths are updated to correspond to the selected barrier.

Image of model

Image of model

Another important thing to remember is that, once a particular barrier result set is being viewed, all other plotting options in RocFall2 (e.g., Graph Endpoints, Graph Data on Slope) will correspond to the current result set. For example, if you plot the Endpoint Location graph while the right-most sensitivity location is selected, you will see the following plot.

Distribution of Rock Path End Locations plot

3.4 INCLINATION SENSITIVITY

Let’s now vary barrier Inclination (angle) at a constant location, height, and capacity:

  1. Close all plots so only the slope model view is open.
  2. Select Design on the toolbar to switch back to Design Mode.
  3. Right-click on the currently selected barrier (dark blue) and select Barrier Sensitivity from the popup menu.
    The Barrier Sensitivity dialog appears.
    Barrier Fence Sensitivity dialog
  4. Set Variable = Inclination, Start = 90, End = 30, Steps = 7.
  5. Click OK.

The model should look as follows. Note that the number of Steps = 7 gives 10 degree increments of inclination from 90 to 30.

image of model

  1. Select Compute Compute icon and tile the views.

Max Total Energy (KJ) and Number of Rock Hits vs Inclination plot and model

  1. Now click on different data points on the sensitivity plot or on the sensitivity barriers on the slope model view to view the rock paths corresponding to the selected barrier inclination.

Image of model

Image of model

As we discussed with the location sensitivity, all other analysis results (e.g., Graph Endpoints, Graph Data on Slope) will correspond to the currently selected barrier.

3.5 HEIGHT SENSITIVITY

Let’s now vary barrier height at a constant X-Location, Inclination, and Capacity.

  1. Close all plots so only the slope model view is open.
  2. Select Design Design icon on the toolbar to switch back to Design Mode.
  3. Right-click on the currently selected barrier (dark blue) and select Barrier Sensitivity from the popup menu.
    Barrier Fence Sensitivity dialog
  4. Set Variable = Length, Start = 1.0, End = 4.0, Steps = 10.
  5. Click OK.

The model should look as follows:

Image of model

Notice that Barrier Length Sensitivity is displayed as small red circles marking the min and max lengths, and discretizations along the length according to the number of Steps.

  1. Select Compute Compute icon and tile the views.

Max Total (KJ) and Number of Rock Hits vs Length (m) plot and model

  1. Now click on different data points on the sensitivity plot or on the sensitivity length discretizations on the slope model view to view the rock paths corresponding to the selected barrier length, for example the minimum length results shown below.

Image of model

4.0 Double Variable Analysis

Now we will demonstrate Double Variable sensitivity analysis for barriers. Double variable sensitivity allows you to simultaneously vary two variables over user-defined ranges. For example:

  • Location and Inclination
  • Location and Length
  • Length and Inclination
  1. Close the previous sensitivity plot so only the slope model view is open.
  2. Right-click on the current barrier and select Edit > Barrier Properties in the popup menu.
  3. Select the Barrier Sensitivity check box.
  4. Select Double Variable Analysis.
  5. Select Height and Inclination as the Variables and enter the values shown below.
    Barrier Fence Sensitivity dialog
  6. Click OK.
  7. The model should appear as follows. Notice the barrier display now indicates the range of Inclination and Height values that will be generated during the analysis.

    Image of model

  8. Select Compute Compute icon.
  9. A 3D plot should automatically be generated. The default output variable is Max Total Energy. In this case, the output variable Max Total Energy shows a constant value for nearly all values of Inclination and Length.

    Image of 3D Plot

    Let’s plot a different output variable.

  10. Close the plot.
  11. Select Graphs > Graph Sensitivity.
    You should see the Barrier 3D Sensitivity Plot dialog. Note that for Double Variable analysis, the dialog indicates the two Input Variables and you can select only one Output Variable.
    Barrier Fence 3D Sensitiviy Plot dialog
  12. Choose Number of Rock Hits as the Output Variable.
  13. Click Plot.

The 3D plot should look as follows:

Image of 3D Plot

For double variable analysis, the same functionality exists as for single variable analysis. You can click on the 3D plot or on the barriers on the model to obtain the rock path results corresponding to that combination of input variables. For example, on the above 3D plot, the minimum number of rock hits occurs at the smallest values of length and inclination.

  1. Double-click on the blue histogram bar at this minimum value.

You should see the following result on the model.

Image of model

As expected, the shortest barrier with the flattest inclination has the minimum number of rock hits for this example. Conversely, if you plot the Number of Rocks Passed, this barrier will have the Maximum number of rocks passed.

4.1 LENGTH AND INCLINATION

Let’s plot a different combination of variables.

  1. Close all 3D plots so that only the slope model view is open.
  2. Select Design Design icon on the toolbar to return to Design Mode.
  3. Right-click on the currently selected barrier (dark blue) and select Barrier Sensitivity from the popup menu.
  4. Select X-Location and Inclination as the Variables and enter the ranges shown below.
    Barrier Fence Sensitivity dialog
  5. Click OK.

You should see the following:

Image of model

  1. Select Compute Compute icon.

The compute dialog indicates the progress of the sensitivity analysis and each individual analysis run (rock throws). When the compute is finished, the following plot should be automatically generated.

Image of 3D model

In this case, the Maximum Total Energy is quite variable over the range of the two input variables. Tile the views.

4.2 DISPLAY RESULTS FOR MINIMUM OR MAXIMUM VALUES

Another useful feature of 3D plots is that you can automatically locate the minimum or maximum values of the output variable with a right-click shortcut.

  1. Right-click on the 3D plot, and select Pick Result Set to Minimize Value from the popup menu.
    You should see the following rock path results.

Image of 3D and 2D models

  1. Now right-click on the 3D plot and select Pick Result Set to Maximize Value from the popup menu.
    You should see the following rock path results:

Image of 3D and 2D models

4.3 MEAN TOTAL ENERGY

You are encouraged to experiment with the Barrier Sensitivity analysis and plotting options. For example, using the Location and Inclination example above, plot the Mean Total Energy on a barrier and compare results with the Max Total Energy Plots.

Barrier Fence 3d Sensitivity Plot dialog

Use the right-click shortcut to display results for the Minimum and Maximum values of Mean Total Energy (right click on the barrier and select Graph Barrier Sensitivity). Notice that the results are different compared to the Max Total Energy results. In general, Mean Total Energy results may be a better variable to optimize as it considers the average of all rock hits on a barrier, whereas the Max Total Energy usually represents only a single rock, which may possibly represent a statistical outlier value.

Image of model

4.4 BARRIER CAPACITY

In this tutorial, we have not demonstrated sensitivity analysis using Barrier Capacity as an input variable. This is left as an optional exercise.

Note that there is currently no graphical representation of the barrier capacity in the model view for a barrier sensitivity analysis. A text label will indicate the values of the capacity range, but you cannot double click in the model view to select the barrier capacity. You can click in the plot views to select barrier capacity. As you vary barrier capacity, rocks may either stop at a barrier or pass through a barrier, depending on the capacity, therefore this may affect the number of rocks which can pass a barrier, by travelling over or through the barrier.

This concludes the tutorial. You are now ready for the next tutorial, Tutorial 08 - Forest Damping in RocFall2.

Rocscience logo, click here to return to the homepage Portal Account Portal Account Log In Log Out Home Shopping Cart icon Click here to search our site Click here to close Learning Tech Support Documentation Info Chevron Delete Back to Top View More" Previous Next PDF File Calendar Location Language Fees Video Click here to visit Rocscience's LinkedIn page Click here to visit Rocscience's YouTube page Click here to visit Rocscience's X page Click here to visit Rocscience's Facebook page Click here to visit Rocscience's Instagram page Click here to visit Rocscience's Reddit page Bookmark Network Scroll down for more Checkmark Download Print Back to top Single User Multiple Users RSLog RocFall3 CPillar Dips EX3 RocFall RocPlane RocSlope3 RocSupport RocTopple RS2 RS3 RSData RSPile Settle3 Slide2 Slide3 SWedge UnWedge RocTunnel3 RocSlope2 BlastMetrix ShapeMetriX Fragmenter Commercial License Education License Trial License Shop safe & secure Money-back guarantee