History MSE: multi-case
In this example time history curves are used to calibrate directly experiment vs. simulation curves with two analysis cases.
Solution with LS-OPTui
Solution with LS-OPTui
Solvers
Solvers
Start LS-OPTui.
→ Open the command file com.mse_history generated in param_history.
Solvers Panel
|
Sampling
Sampling
Sampling
| ![]() |
Histories
Histories
Define Response Histories
Define z-displacement of node 288
|
|
Define z-slave-force on interface 1
| ![]() |
Define crossplot for -Disp2 and Force2
| ![]() |
Define a history through a text file
| ![]() |
Responses
Responses
Define the Responses
| ![]() |
Objective
Objective
Objectives
| ![]() |
Run
Run
Run the Optimization
| ![]() |
Com-file
Com-file
The created command file may look like this:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Command file "com.mse_history_multi"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ Generated using LS-OPT Version 4.1
$
"Optimization Problem"
$
$ Created on Fri Jan 21 17:10:51 2011
solvers 2
$
$ WARNING -- NO RESPONSES ARE DEFINED
$
histories 8
$
$ DESIGN VARIABLES
$
variables 2
Variable 'YMod' 7.e5
Lower bound variable 'YMod' 5.e5
Upper bound variable 'YMod' 2.e6
Variable 'Yield' 1500.
Lower bound variable 'Yield' 500.
Upper bound variable 'Yield' 2.e3
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ OPTIMIZATION METHOD
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
Optimization Method SRSM
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ SOLVER "Case1"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
$ DEFINITION OF SOLVER "Case1"
$
solver dyna960 'Case1'
solver command "ls971_R4_2"
solver input file "foam1.k"
solver check output on
solver compress d3plot off
$ ------ Pre-processor --------
$ NO PREPROCESSOR SPECIFIED
$ ------ Post-processor --------
$ NO POSTPROCESSOR SPECIFIED
$ ------ Metamodeling ---------
solver order linear
solver experiment design dopt
solver approximate history linear
$ ------ Job information ------
solver concurrent jobs 1
$
$ WARNING - NO RESPONSES DEFINED FOR SOLVER "Case1"
$
$
$ HISTORIES FOR SOLVER "Case1"
$
history 'Disp1' "BinoutHistory -res_type nodout -cmp z_displacement -id 296"
history 'Force1' "BinoutHistory -res_type RCForc -cmp z_force -id 1 -side SLAVE"
$
$ HISTORY EXPRESSIONS FOR SOLVER "Case1"
$
history 'F_vs_d' expression {Crossplot("-Disp1","Force1")}
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ SOLVER "Case2"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
$ DEFINITION OF SOLVER "Case2"
$
solver dyna960 'Case2'
solver command "ls971_R4_2"
solver input file "foam2.k"
solver check output on
solver compress d3plot off
$ ------ Pre-processor --------
$ NO PREPROCESSOR SPECIFIED
$ ------ Post-processor --------
$ NO POSTPROCESSOR SPECIFIED
$ ------ Metamodeling ---------
solver order linear
solver experiment duplicate 'Case1'
solver approximate history linear
$ ------ Job information ------
solver concurrent jobs 1
$
$ WARNING - NO RESPONSES DEFINED FOR SOLVER "Case2"
$
$
$ HISTORIES FOR SOLVER "Case2"
$
history 'Disp2' "BinoutHistory -res_type nodout -cmp z_displacement -id 288"
history 'Force2' "BinoutHistory -res_type RCForc -cmp z_force -id 1 -side SLAVE"
$
$ HISTORY EXPRESSIONS FOR SOLVER "Case2"
$
history 'F2_vs_d2' expression {Crossplot("-Disp2","Force2")}
$
$ HISTORIES FROM FILES
$
history 'FILE1' file "Test1.txt"
history 'FILE2' file "Test2.txt"
composites 2
$
$ COMPOSITE EXPRESSIONS
$
composite 'MSE' {MeanSqErr(FILE1,F_vs_d)}
composite 'MSE2' {MeanSqErr(FILE2,F2_vs_d2)}
$
$ OBJECTIVE FUNCTIONS
$
objectives 2
objective 'MSE' 1
objective 'MSE2' 1
$
$ THERE ARE NO CONSTRAINTS!!!
$
constraints 0
$
$ PARAMETERS FOR METAMODEL OPTIMIZATION
$
Metamodel Optimization Strategy DOMAINREDUCTION
$
iterate param design 0.01
iterate param objective 0.01
iterate param stoppingtype and
$
$ OPTIMIZATION ALGORITHM
$
Optimization Algorithm hybrid simulated annealing
Use GSA
$
$ JOB INFO
$
iterate 3
STOP
Results
Results
Histories
Histories
Start the LS-OPT Viewer by selecting the View tab and
|
|
Set up the left panel for Case1
Set up the right panel for Case2
|
|
→ It's very convenient to compare them, if we place the plots from two cases in one diagram. | ![]() |
Confidence Intervals
Confidence Intervals
The Confidence Intervals can be found in the lsopt_report file.
The Confidence Intervals are located at the end of the file. | ![]() |
Alternatively, we can directly open the lsopt_report file from the main directory with an editor and scroll to the end to find the Confidence Intervals of YMod and Yield. → YMod is rather insignificant and Yield is significant. | ![]() |
Download
Download
The complete data set (input and command files) is available for download:
For Linux
For Windows














