Automate from Excel for a Deterministic Analysis
To automate a Deterministic Analysis:
- Create a new SWedge model file
- Set up the Project Settings dialog. Select Analysis > Project Settings.
- Set Analysis = Deterministic.
- If a Basal Joint is to be considered, set Block Shape = Basal Joint.
- Select OK to close the dialog.
- Set up the Deterministic Input Data dialog. Select Analysis > Input Data.
- Under the Slope page, set the check box and radio controls as applicable.
- Under the Joints page, set the combo box controls as applicable.
- Under the Basal Plane page (if Basal Joint exists), set the combo box controls as applicable.
- Under the Forces page, set the check box and combo box controls as applicable.
- Under the Water page, set the check box, radio and combo box controls as applicable.
- Select OK to close the dialog.
External Forces are not automated inputs from Automate from Excel. If any external forces are to be applied, they must be entered into the Deterministic Input Data dialog. - Set up the Scale Wedge dialog. Select Analysis > Scale Wedge.
- Set the check box controls as applicable.
- Pre-process input data.
- Save a copy of the input Excel template.
- Each row of input data represents a separate Deterministic computation in SWedge (i.e., one wedge). Enter all applicable numerical data corresponding to the selections in the Deterministic Input Data dialog and the Scale Wedge dialog.
- Save and close the Excel input file.
The Excel workbook is protected to prevent accidental manipulation of worksheets. The predefined column header cells are protected to prevent accidental manipulation of input columns.All applicable data must be entered into the Excel input file. If any required columns are left blank, in an incorrect format, or outside the valid range, the Error Log generated from Automate from Excel will indicate these errors. - Select Automate from Excel from the Analysis menu.
- In the Automated Compute dialog:
- Add Excel input file(s) to the File Queue by selecting the Open button.
- Select the desired Output File Format (either Text File or Excel) of the results file in the combo box dropdown.
- One text file per Excel input file is generated; the results are comma-delimited and listed as one wedge per row.
- One Excel file per Excel input file is generated; the results are separated by columns and listed as one wedge per row.
- Select the Compute button to run the analysis and write the results on all Excel input files in the File Queue.
Only files created from SWedge Automation Template_Deterministic.xlsx can be automated since the project setting and input data setup, and file reading is format-specific to the program SWedge and to the Analysis Type. - Check the Error Log for any errors detected in the Excel input file. If any errors are reported, correct them in the Excel input file and repeat step 6.
- Post-process output data.