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 | 'break_xs':[5.45, 5.58, 5.29, 5.245, 5.21, 5.21], |
---|
25 | 'break_type':['none', 'plunge', 'plunge', 'plunge', 'plunge', \ |
---|
26 | 'plunge'], |
---|
27 | 'wave_times':[20.0, 59.0] |
---|
28 | } |
---|
29 | scenarios.append(data) |
---|
30 | |
---|
31 | # Experiment S1R2 |
---|
32 | data = {'xleft':[-3.106,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
33 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
34 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
35 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
36 | 'offshore_water_depth':offshore_water_depth, |
---|
37 | 'scenario_id':'S1R2', |
---|
38 | 'gauge_names':['B','1','2','3','4','5','7'], |
---|
39 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562, 7.559], |
---|
40 | 'break_xs':[5.45, 5.45, 5.28, 5.28, 5.29, 5.29], |
---|
41 | 'break_type':['none', 'plunge', 'plunge', 'plunge', 'plunge', \ |
---|
42 | 'plunge'], |
---|
43 | 'wave_times':[23.0, 59.0] |
---|
44 | } |
---|
45 | scenarios.append(data) |
---|
46 | |
---|
47 | |
---|
48 | # Experiment S2R1 |
---|
49 | data = {'xleft':[-4.586,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
50 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
51 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
52 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
53 | 'offshore_water_depth':offshore_water_depth, |
---|
54 | 'scenario_id':'S2R1', |
---|
55 | 'gauge_names':['B','1','2','3','4','5'], |
---|
56 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562], |
---|
57 | 'break_xs':[5.93, 5.93, 5.907, 5.78], # since depth finishes at 65 sec |
---|
58 | 'break_type':['none', 'front steepened', 'front steepened', 'spill'], |
---|
59 | 'wave_times':[15.0, 64.0] |
---|
60 | } |
---|
61 | scenarios.append(data) |
---|
62 | |
---|
63 | # Experiment S2R2 |
---|
64 | data = {'xleft':[-4.586,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
65 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
66 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
67 | 'xright':[8,.4843334 - offshore_water_depth], |
---|
68 | 'offshore_water_depth':offshore_water_depth, |
---|
69 | 'scenario_id':'S2R2', |
---|
70 | 'gauge_names':['B','1','2','3','4','5'], |
---|
71 | 'gauge_x':[-0.68, 1.569, 2.568, 3.566, 4.564, 5.562], |
---|
72 | 'break_xs':[6.32, 6.32, 6.033, 5.935], # since depth finishes at 75 sec |
---|
73 | 'break_type':['none', 'front steepened', 'front steepened', |
---|
74 | 'weak break'], |
---|
75 | 'wave_times':[34.0, 74.0] |
---|
76 | } |
---|
77 | scenarios.append(data) |
---|
78 | |
---|
79 | |
---|
80 | # Experiment S3R1 |
---|
81 | # Now the slope has changed - and when tank was refilled the depth also changed |
---|
82 | offshore_water_depth = .336 |
---|
83 | data = {'xleft':[-3.875,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
84 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
85 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
86 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
87 | 'offshore_water_depth':offshore_water_depth, |
---|
88 | 'scenario_id':'S3R1', |
---|
89 | 'gauge_names':['B','1','2','3','5','7', |
---|
90 | '9','10','11','12'], |
---|
91 | |
---|
92 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
93 | 7.57, 9.569, 10.569, 11.569, |
---|
94 | 12.569], |
---|
95 | 'break_xs':[9.063, 9.063, 9.043, 9.043], |
---|
96 | 'break_type':['none','collapse', 'collapse', 'collapse'], |
---|
97 | 'wave_times':[30.0, 74.0] |
---|
98 | } |
---|
99 | scenarios.append(data) |
---|
100 | |
---|
101 | # Experiment S3R2 |
---|
102 | data = {'xleft':[-3.875,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
103 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
104 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
105 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
106 | 'offshore_water_depth':offshore_water_depth, |
---|
107 | 'scenario_id':'S3R2', |
---|
108 | 'gauge_names':['B','1','2','3','5','7', |
---|
109 | '9','10','11','12'], |
---|
110 | |
---|
111 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
112 | 7.57, 9.569, 10.569, 11.569, |
---|
113 | 12.569], |
---|
114 | 'break_xs':[9.17, 9.135, 9.135, 9.105], |
---|
115 | 'break_type':['collapse', 'collapse', 'collapse', |
---|
116 | 'collapse'], |
---|
117 | 'wave_times':[30.0, 85.0] |
---|
118 | } |
---|
119 | scenarios.append(data) |
---|
120 | |
---|
121 | # Experiment S4R1 |
---|
122 | data = {'xleft':[-2.43,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
123 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
124 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
125 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
126 | 'offshore_water_depth':offshore_water_depth, |
---|
127 | 'scenario_id':'S4R1', |
---|
128 | 'gauge_names':['B','1','2','3','5','7', |
---|
129 | '9','10','11','12'], |
---|
130 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
131 | 7.57, 9.569, 10.569, 11.569, |
---|
132 | 12.569], |
---|
133 | 'break_xs':[7.673, 7.673, 7.43, 7.448, 7.448], # Pressure info ends early |
---|
134 | 'break_type':['none','spill', 'spill', 'spill', 'spill'], |
---|
135 | 'wave_times':[34.0, 75.0] |
---|
136 | } |
---|
137 | scenarios.append(data) |
---|
138 | |
---|
139 | # Experiment S4R2 |
---|
140 | data = {'xleft':[-2.43,0.0 - offshore_water_depth], # Av' of ADV and Gauge A |
---|
141 | 'xtoe':[0.0,0.0 - offshore_water_depth], |
---|
142 | 'xbeach':[1.285,0.090 - offshore_water_depth], |
---|
143 | 'xright':[14.,.3903881 - offshore_water_depth], |
---|
144 | 'offshore_water_depth':offshore_water_depth, |
---|
145 | 'scenario_id':'S4R2', |
---|
146 | 'gauge_names':['B','1','2','3','5','7', |
---|
147 | '9','10','11','12'], |
---|
148 | |
---|
149 | 'gauge_x':[-0.325, 1.572, 2.571, 3.571, 5.57, |
---|
150 | 7.57, 9.569, 10.569, 11.569, |
---|
151 | 12.569], |
---|
152 | 'break_xs':[8.53, 7.46, 7.492, 7.492, 7.444], |
---|
153 | 'break_type':['collapse', 'spill', 'spill', 'spill', 'spill'], |
---|
154 | 'wave_times':[34.0, 75.0] |
---|
155 | } |
---|
156 | scenarios.append(data) |
---|
157 | |
---|