1 | """ |
---|
2 | Scenario information, used to run simulations and create graphs. |
---|
3 | |
---|
4 | The Hinwood study consisted of four scenarios each conducted twice, leading to |
---|
5 | 8 experiments in total. |
---|
6 | """ |
---|
7 | |
---|
8 | # A list of scenario dictionaries |
---|
9 | # Each element will represent one experiment (8 in the Hinwood study) |
---|
10 | scenarios = [] |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | # Experiment S1R1 |
---|
15 | offshore_water_depth = .4 |
---|
16 | data = {'xleft':[-3.106,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
17 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
18 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
19 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
20 | 'offshore_water_depth': offshore_water_depth, |
---|
21 | 'scenario_id':'S1R1', |
---|
22 | 'gauge_names':['B','1','2','3','4','5','7'], |
---|
23 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562, 7.559], |
---|
24 | 'gauge_bed_elevation':[-0.400000, -0.293158, |
---|
25 | -0.234473, -0.175788, -0.117104, |
---|
26 | -0.058419, 0.058950], |
---|
27 | 'start_slope_x':4, |
---|
28 | 'finish_slope_x':6, |
---|
29 | 'break_xs':[5.45, 5.58, 5.29, 5.245, 5.21, 5.21], |
---|
30 | 'break_type':['none', 'plunge', 'plunge', 'plunge', 'plunge', \ |
---|
31 | 'plunge'], |
---|
32 | 'wave_times':[20.0, 59.0] |
---|
33 | } |
---|
34 | scenarios.append(data) |
---|
35 | |
---|
36 | # Experiment S1R2 |
---|
37 | data = {'xleft':[-3.106,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
38 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
39 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
40 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
41 | 'offshore_water_depth':offshore_water_depth, |
---|
42 | 'scenario_id':'S1R2', |
---|
43 | 'gauge_names':['B','1','2','3','4','5','7'], |
---|
44 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562, 7.559], |
---|
45 | 'gauge_bed_elevation':[-0.400000, -0.293158, |
---|
46 | -0.234473, -0.175788, -0.117104, |
---|
47 | -0.058419, 0.058950], |
---|
48 | 'start_slope_x':4, |
---|
49 | 'finish_slope_x':6, |
---|
50 | 'break_xs':[5.45, 5.45, 5.28, 5.28, 5.29, 5.29], |
---|
51 | 'break_type':['none', 'plunge', 'plunge', 'plunge', 'plunge', \ |
---|
52 | 'plunge'], |
---|
53 | 'wave_times':[23.0, 59.0] |
---|
54 | } |
---|
55 | scenarios.append(data) |
---|
56 | |
---|
57 | |
---|
58 | # Experiment S2R1 |
---|
59 | data = {'xleft':[-4.586,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
60 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
61 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
62 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
63 | 'offshore_water_depth':offshore_water_depth, |
---|
64 | 'scenario_id':'S2R1', |
---|
65 | 'gauge_names':['B','1','2','3','4','5'], |
---|
66 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562], |
---|
67 | 'gauge_bed_elevation':[-0.400000, -0.293158, |
---|
68 | -0.234473, -0.175788, -0.117104, |
---|
69 | -0.058419], |
---|
70 | 'start_slope_x':5, |
---|
71 | 'finish_slope_x':6.5, |
---|
72 | 'break_xs':[5.93, 5.93, 5.907, 5.78], # since depth finishes at 65 sec |
---|
73 | 'break_type':['none', 'front steepened', 'front steepened', 'spill'], |
---|
74 | 'wave_times':[15.0, 64.0] |
---|
75 | } |
---|
76 | scenarios.append(data) |
---|
77 | |
---|
78 | # Experiment S2R2 |
---|
79 | data = {'xleft':[-4.586,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
80 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
81 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
82 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
83 | 'offshore_water_depth':offshore_water_depth, |
---|
84 | 'scenario_id':'S2R2', |
---|
85 | 'gauge_names':['B','1','2','3','4','5'], |
---|
86 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562], |
---|
87 | 'gauge_bed_elevation':[-0.400000, -0.293158, |
---|
88 | -0.234473, -0.175788, -0.117104, |
---|
89 | -0.058419], |
---|
90 | 'start_slope_x':5, |
---|
91 | 'finish_slope_x':6.5, |
---|
92 | 'break_xs':[6.32, 6.32, 6.033, 5.935], # since depth finishes at 75 sec |
---|
93 | 'break_type':['none', 'front steepened', 'front steepened', |
---|
94 | 'weak break'], |
---|
95 | 'wave_times':[34.0, 74.0] |
---|
96 | } |
---|
97 | scenarios.append(data) |
---|
98 | |
---|
99 | |
---|
100 | # Experiment S3R1 |
---|
101 | # Now the slope has changed - and when tank was refilled the depth also changed |
---|
102 | offshore_water_depth = .336 |
---|
103 | data = {'xleft':[-3.875,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
104 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
105 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
106 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
107 | 'offshore_water_depth':offshore_water_depth, |
---|
108 | 'scenario_id':'S3R1', |
---|
109 | 'gauge_names':['B','1','2','3','5','7', |
---|
110 | '9','10','11','12'], |
---|
111 | |
---|
112 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
113 | 7.57, 9.569, 10.569, 11.569, |
---|
114 | 12.569], |
---|
115 | |
---|
116 | 'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315, |
---|
117 | -0.143368, |
---|
118 | -0.096420, -0.049472, |
---|
119 | -0.025998, -0.002524, 0.020949], |
---|
120 | |
---|
121 | 'start_slope_x':8., |
---|
122 | 'finish_slope_x':9.5, |
---|
123 | 'break_xs':[9.063, 9.063, 9.043, 9.043], |
---|
124 | 'break_type':['none','collapse', 'collapse', 'collapse'], |
---|
125 | 'wave_times':[30.0, 74.0] |
---|
126 | } |
---|
127 | scenarios.append(data) |
---|
128 | |
---|
129 | # Experiment S3R2 |
---|
130 | data = {'xleft':[-3.875,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
131 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
132 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
133 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
134 | 'offshore_water_depth':offshore_water_depth, |
---|
135 | 'scenario_id':'S3R2', |
---|
136 | 'gauge_names':['B','1','2','3','5','7', |
---|
137 | '9','10','11','12'], |
---|
138 | |
---|
139 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
140 | 7.57, 9.569, 10.569, 11.569, |
---|
141 | 12.569], |
---|
142 | |
---|
143 | 'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315, |
---|
144 | -0.143368, |
---|
145 | -0.096420, -0.049472, |
---|
146 | -0.025998, -0.002524, 0.020949], |
---|
147 | 'start_slope_x':8., |
---|
148 | 'finish_slope_x':9.5, |
---|
149 | 'break_xs':[9.17, 9.135, 9.135, 9.105], |
---|
150 | 'break_type':['collapse', 'collapse', 'collapse', |
---|
151 | 'collapse'], |
---|
152 | 'wave_times':[30.0, 85.0] |
---|
153 | } |
---|
154 | scenarios.append(data) |
---|
155 | |
---|
156 | # Experiment S4R1 |
---|
157 | data = {'xleft':[-2.43,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
158 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
159 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
160 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
161 | 'offshore_water_depth':offshore_water_depth, |
---|
162 | 'scenario_id':'S4R1', |
---|
163 | 'gauge_names':['B','1','2','3','5','7', |
---|
164 | '9','10','11','12'], |
---|
165 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
166 | 7.57, 9.569, 10.569, 11.569, |
---|
167 | 12.569], |
---|
168 | |
---|
169 | 'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315, |
---|
170 | -0.143368, |
---|
171 | -0.096420, -0.049472, |
---|
172 | -0.025998, -0.002524, 0.020949], |
---|
173 | |
---|
174 | 'start_slope_x':6, |
---|
175 | 'finish_slope_x':9, |
---|
176 | |
---|
177 | 'break_xs':[7.673, 7.673, 7.43, 7.448, 7.448], # Pressure info ends early |
---|
178 | 'break_type':['none','spill', 'spill', 'spill', 'spill'], |
---|
179 | 'wave_times':[34.0, 75.0] |
---|
180 | } |
---|
181 | scenarios.append(data) |
---|
182 | |
---|
183 | # Experiment S4R2 |
---|
184 | data = {'xleft':[-2.43,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
185 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
186 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
187 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
188 | 'offshore_water_depth':offshore_water_depth, |
---|
189 | 'scenario_id':'S4R2', |
---|
190 | 'gauge_names':['B','1','2','3','5','7', |
---|
191 | '9','10','11','12'], |
---|
192 | |
---|
193 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
194 | 7.57, 9.569, 10.569, 11.569, |
---|
195 | 12.569], |
---|
196 | |
---|
197 | 'gauge_bed_elevation':[-0.336000, -0.237263, -0.213789, -0.190315, |
---|
198 | -0.143368, |
---|
199 | -0.096420, -0.049472, |
---|
200 | -0.025998, -0.002524, 0.020949], |
---|
201 | |
---|
202 | 'start_slope_x':6, |
---|
203 | 'finish_slope_x':9, |
---|
204 | 'break_xs':[8.53, 7.46, 7.492, 7.492, 7.444], |
---|
205 | 'break_type':['collapse', 'spill', 'spill', 'spill', 'spill'], |
---|
206 | 'wave_times':[34.0, 75.0] |
---|
207 | } |
---|
208 | scenarios.append(data) |
---|
209 | |
---|