1#@ On Windows: workdir issue?
2#@ *: DakotaConfig=UNIX
3#@ s0: TimeoutAbsolute=1800
4
5# DAKOTA Input File: dakota_uq_timeseries_ivp_optinterf.in
6# Mixed UQ with aleatory post-processing of optional interface simulation
7
8environment,
9	  method_pointer = 'EPISTEMIC'
10
11#################################
12# begin EPISTEMIC specification #
13#################################
14method,
15        id_method = 'EPISTEMIC'
16        model_pointer = 'EPIST_M'
17	global_interval_est
18	  ego						#s0
19#	  lhs						#s1
20	  samples = 100 seed = 1234567
21	  output verbose
22
23model,
24        id_model = 'EPIST_M'
25        nested
26          variables_pointer  = 'EPIST_V'
27	  optional_interface_pointer  = 'OPTIONAL_I'
28	  optional_interface_responses_pointer = 'OPTIONAL_I_R'
29          sub_method_pointer = 'ALEATORY'
30          responses_pointer  = 'EPIST_R'
31          primary_response_mapping   = 0. 0. 1.
32	hierarchical_tagging
33
34variables,
35        id_variables = 'EPIST_V'
36        continuous_interval_uncertain = 8
37#	  num_intervals   = 8*1
38#         interval_probs  = 8*1.0
39# coefficients for cubic polynomial trajectories with time:
40#                           const       linear      quad        cubic
41      	  lower_bounds    = 10.   0.1   10.   0.1  -0.2   5.   -0.03  0.05
42	  upper_bounds    = 20.   0.2   15.   0.3  -0.1   8.   -0.01  0.10
43	  descriptors     = 'E1'  'E2'  'E3'  'E4'  'E5'  'E6'  'E7'  'E8'
44
45responses,
46        id_responses = 'EPIST_R'
47        response_functions = 1
48        response_descriptors = 'PLOAS'
49        no_gradients
50        no_hessians
51
52##########################################
53# begin optional interface specification #
54##########################################
55interface,
56	id_interface = 'OPTIONAL_I'
57# make this part synchronous
58	fork
59	  analysis_driver = 'trajectory'
60	  work_directory named 'epistemic_simulation'
61# Note: file tagging affects the directory tag that's employed
62	  directory_tag directory_save   #file_tag file_save
63	  parameters_file = 'epist_params.in'
64	  results_file    = 'epist_results.out'
65
66responses,
67	id_responses = 'OPTIONAL_I_R'
68	response_functions = 0 # No response contribution; just a sim driver
69	no_gradients
70	no_hessians
71
72################################
73# begin ALEATORY specification #
74################################
75method,
76        id_method = 'ALEATORY'
77        model_pointer = 'ALEAT_M'
78	polynomial_chaos
79	  askey non_nested
80	  sparse_grid_level = 3
81          response_levels = 0.0
82          compute probabilities
83	  samples_on_emulator = 10000 seed = 12347 fixed_seed
84          cumulative distribution
85
86model,
87        id_model = 'ALEAT_M'
88        single
89          variables_pointer = 'ALEAT_V'
90          interface_pointer = 'ALEAT_I'
91          responses_pointer = 'ALEAT_R'
92# files not named, so reliant on content inside parameters files
93
94variables,
95        id_variables = 'ALEAT_V'
96# inactive variables passed from outer epistemic loop (placeholder spec)
97        continuous_interval_uncertain = 8
98      	  lower_bounds    = 10.   0.1   10.   0.1  -0.2   5.   -0.03  0.05
99	  upper_bounds    = 20.   0.2   15.   0.3  -0.1   8.   -0.01  0.10
100# active variables on inner aleatory loop
101	normal_uncertain = 2
102	  means          =   80.0   300.0
103	  std_deviations =   20.0    75.0
104	  descriptors    = 'FailThresh1' 'FailThresh2'
105
106interface,
107	id_interface = 'ALEAT_I'
108# this part may execute asynchronously
109	fork asynchronous evaluation_concurrency = 6
110	  analysis_driver = 'trajectory_post'
111	  work_directory named 'aleatory_processing'
112# Note: file tagging affects the directory tag that's employed
113	  directory_tag directory_save file_save
114	  parameters_file = 'aleat_params.in'
115	  results_file    = 'aleat_results.out'
116	deactivate evaluation_cache
117
118responses,
119        id_responses = 'ALEAT_R'
120        response_functions = 1
121        response_descriptors = 'DeltaTime'
122        no_gradients
123        no_hessians
124
125