UnWedge Tutorials _ 14 - Automate Probabilistic Analysis
UnWedge Tutorials _ 14 - Automate Probabilistic Analysis
1.0 Introduction
The Automate Compute option helps users quickly generate results for several UnWedge analysis
cases at a time by reading in various model inputs from Excel. In this tutorial, we will familiarize you
with the Automate Compute feature by automating the computation of 10 Probabilistic analysis
cases, each case with 1,000 samples (i.e., 10 x 1,000 = 10,000 tunnel analyses).
Finished Product:
The finished products of this tutorial can be found in the Tutorial 14 Automate Compute -
Probabilistic Analysis folder, located in the Examples > Tutorials folder in your UnWedge
installation folder. Inside, you will find:
Tutorial 14 Automate Compute - Probabilistic_base file.weg5 UnWedge model file setup for
automation
Tutorial 14 Automate Compute - Probabilistic_inputs.xlsx Excel input file
Tutorial 14 Automate Compute - Probabilistic_inputs folder containing the computed results
files
When the program starts, a default model is automatically created. If you do NOT see a model on
your screen:
If the UnWedge application window is not already maximized, maximize it now so that the full
screen is available for viewing the model.
Before we are ready to run Automate Compute, we must first set up the model environment in the
following dialogs:
1. Project Settings
2. Input Data
3. Field Stress
4. Scale Wedge
Apply any other Boundaries (i.e., Ground Surface, Truncation Surface, End Truncation Plane), Water
Pressure Grid, or Supports, as required; these are not automatable.
Note
This UnWedge model file is meant to be used as a base file for automation. It contains the
appropriate settings to be used for all automated cases and the engine for computation. It is
not meant to be used for model creation and result viewing, as it does not save the model
state for every case.
1. Select Project Settings from the Analysis menu to open the Project Settings dialog.
2. Set the Units = Metric, stress as MPa .
3. Set the Analysis Type = Probabilistic.
4. Set Wedge Computation to Compute End Wedges.
Note
The above Project Settings will apply to all cases analyzed in Automate Compute. Each case
being analyzed is Probabilistic (i.e., 1,000 sample tunnels, as defined) in this case.
9. Type the circle centre " 0,0" into the prompt line followed by ENTER to draw the circle.
Note
1. Select Input Data from the Analysis menu to open the Deterministic Input Data dialog.
2. Navigate to the General tab.
We will keep all the checkbox controls in the default state. Keep in mind that the following are
required input parameters that have to be specified later on in the Input Excel File (mean
values):
Tunnel Trend
Tunnel Plunge
Design Factor of Safety
Unit Weight of Rock
Unit Weight of Water
Note
When exactly three joints are defined in the model, all three Joint Orientations are
automated by the Excel template. If more than three joints are defined, Joint Orientations
are not automated and use the Joint Orientations defined in the Input Data dialog to
perform a combinations analysis.
Keep in mind that the following are required input parameters that have to be specified later on
in the Input Excel File for all three joints (mean values):
Joint Dip
Joint Dip Direction
Note
Up to three Joint Properties can be automated by the Excel template. Automation will only
apply to the first three Joint Properties defined.
Keep in mind that the following are required input parameters that have to be specified later on
in the Input Excel File for Property 1 (mean values):
Phi
Cohesion
Tensile Strength
Water Pressure
Waviness
5. Select OK to close the dialog.
Note
You can learn about UnWedge input data in detail in Overview of UnWedge Input Data.
6.0 Statistic
Next, set the statistical variables.
1. Obtain the UnWedge Probabilistic Excel Template by selecting Analysis > Automate Compute
> Probabilistic Excel Template from the menu.
A Read-Only Excel workbook titled UnWedge Automation Template_Probabilistic.xlsx will be
automatically opened (if you have Excel installed on your local machine).
The UnWedge Probabilistic Input Data Automation Template Excel workbook and
worksheets are protected to prevent any accidental modification to the tab structure and
headers. The input Excel template contains 15 worksheets for inputting numerical parameters
for automation.
7.1 General
1. Navigate to the GENERAL worksheet.
2. Under the Tunnel ID column, provide the names of the tunnel analyses. We will name them
arbitrarily Tunnel A, Tunnel B, and Tunnel C. Each row in the input Excel file represents one
Deterministic Analysis case in UnWedge.
3. Enter the following:
Note
As set up previously in the UnWedge Probabilistic Input Data dialog, only the above input
data are required since Tunnel Length, Seismic Force, and Minimum Wedge Size are not
applicable (i.e., checkbox controls are unchecked). Be aware of units set in UnWedge
Project Settings when entering data into the input Excel file. The units should be the
same for both!
Trend00 40 170 15
Trend10 40 170 15
Trend20 40 170 15
Trend30 40 170 15
Trend40 40 170 15
Trend50 40 170 15
Trend60 40 170 15
Trend70 40 170 15
Trend80 40 170 15
Trend90 40 170 15
Note
As set up previously in the UnWedge Input Data dialog, all three Joint Orientations will be
automated.
Trend00 40 50 15
Trend10 40 50 15
Trend20 40 50 15
Trend30 40 50 15
Trend40 40 50 15
Trend50 40 50 15
Trend60 40 50 15
Trend70 40 50 15
Trend80 40 50 15
Trend90 40 50 15
Note
As set up previously in the UnWedge Input Data dialog, all three Joint Orientations will be
automated.
Trend00 40 280 15
Trend10 40 280 15
Trend20 40 280 15
Trend30 40 280 15
Trend40 40 280 15
Trend50 40 280 15
Trend60 40 280 15
Trend70 40 280 15
Trend80 40 280 15
Trend90 40 280 15
Note
As set up previously in the UnWedge Input Data dialog, all three Joint Orientations will be
automated.
Trend00 35 0 0
Trend10 35 0 0
Trend20 35 0 0
Trend30 35 0 0
Trend40 35 0 0
Trend50 35 0 0
Trend60 35 0 0
Trend70 35 0 0
Trend80 35 0 0
Trend90 35 0 0
Note
As set up previously in the UnWedge Input Data dialog, only the above input data are
required since only one Joint Property is defined. No inputs are required for PROP2
STRENGTH or PROP3 STRENGTH worksheets,
Pressure
Mean
Trend00 0
Trend10 0
Trend20 0
Trend30 0
Trend40 0
Trend50 0
Trend60 0
Trend70 0
Trend80 0
Trend90 0
Note
As set up previously in the UnWedge Input Data dialog, only the above input data are
required since only one Joint Property is defined. No inputs are required for PROP2
WATER or PROP3 WATER worksheets.
Waviness
Mean
Trend00 0
Trend10 0
Trend20 0
Trend30 0
Trend40 0
Trend50 0
Trend60 0
Trend70 0
Trend80 0
Trend90 0
Note
As set up previously in the UnWedge Input Data dialog, only the above input data are
required since only one Joint Property is defined. No inputs are required for PROP2
STRUCTURE or PROP3 STRUCTURE worksheets.
Note
We are now ready to automate computations in UnWedge by reading from the input Excel file.
The Automate Compute dialog allows you to add Excel input automation files to the queue, select
an output format, and compute the results.
1. Select Automate from Excel from the Analysis menu to open the Automated Compute
dialog.
2. Select the Open button to open a standard dialog to choose an Excel input file. Navigate
to the Tutorial 14 Automate Compute - Probabilistic folder and select the Tutorial 14
Automate Compute - Probabilistic_inputs.xlsx file.
You will see the Excel input file appear under the File Queue list box.
3. Select the Save As UnWedge File(s) checkbox. This will save each automated compute case
as an UnWedge file.
9.0 Output Result Files
Results files are automatically generated and saved into the same directory as the input Excel file
after Automated Compute is complete. Before we run Compute, first ensure that the Output File
Format is set to the desired format. Users can select from either Text File or Excel format.
For each input Excel file case, an Excel file (*.xlsx) containing all results data is generated.
The Probabilistic Values sheet contains global tunnel, design, unit weight, and seismic information
shared across all wedges.
The Field Stress sheet contains global field stress information shared across all wedges.
There are 10 sheets which contain wedge-specific information, including values computed at each
of their three joints.
Note that a total of 10 files with the same format (i.e., ResultsTrend00[0].xlsx,
ResultsTrend10[1].xlsx, ..., ResultsTrend90[9].xlsx ) have been created; one file per case. Each file
contains information for all 1,000 samples.