Skip to content

Commit fa98f5c

Browse files
committed
update test_divert values
1 parent fae2d8f commit fa98f5c

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

divert_sim/test_divert.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,56 +48,56 @@ def run_test_with_dataset(dataset: str,
4848
def test_divert_almostperfect_default() -> None:
4949
"""Run the divert test with the almostperfect dataset with the default values"""
5050
run_test_with_dataset('almostperfect', 'almostperfect_default',
51-
21.08, 16.67, 16.6, 0.06, 6, 180, 20700, 28620)
51+
21.08, 16.91, 16.73, 0.17, 1, 29220, 29220, 29220)
5252

5353
def test_divert_cloudymorning_default() -> None:
5454
"""Run the divert test with the CloudyMorning dataset with the default values"""
5555
run_test_with_dataset('CloudyMorning', 'CloudyMorning_default',
56-
16.64, 12.28, 12.07, 0.22, 7, 300, 14520, 20340)
56+
16.64, 12.93, 12.61, 0.32, 1, 21960, 21960, 21960)
5757

5858
def test_divert_day1_default() -> None:
5959
"""Run the divert test with the day1 dataset with the default values"""
6060
run_test_with_dataset('day1', 'day1_default',
61-
10.12, 7.11, 6.51, 0.59, 7, 660, 8400, 12840)
61+
10.12, 7.4, 6.72, 0.67, 5, 660, 9780, 13500)
6262

6363
def test_divert_day2_default() -> None:
6464
"""Run the divert test with the day2 dataset with the default values"""
6565
run_test_with_dataset('day2', 'day2_default',
66-
12.35, 9.14, 9.14, 0.0, 1, 18060, 18060, 18060)
66+
12.35, 9.69, 9.68, 0.01, 1, 19440, 19440, 19440)
6767

6868
def test_divert_day3_default() -> None:
6969
"""Run the divert test with the day3 dataset with the default values"""
7070
run_test_with_dataset('day3', 'day3_default',
71-
5.09, 1.66, 1.22, 0.44, 7, 60, 840, 3600)
71+
5.09, 1.83, 1.38, 0.45, 5, 660, 1140, 4320)
7272

7373
def test_divert_day1_grid_ie_default() -> None:
7474
"""Run the divert test with the day1_grid_ie dataset with the default values"""
7575
run_test_with_dataset('day1_grid_ie', 'day1_grid_ie_default',
76-
15.13, 7.84, 7.66, 0.18, 10, 660, 6300, 17280,
76+
15.13, 8.48, 8.22, 0.26, 7, 660, 7500, 18960,
7777
grid_ie_col=2)
7878

7979
def test_divert_day2_grid_ie_default() -> None:
8080
"""Run the divert test with the day2_grid_ie dataset with the default values"""
8181
run_test_with_dataset('day2_grid_ie', 'day2_grid_ie_default',
82-
10.85, 7.00, 5.87, 1.13, 21, 60, 2640, 14460,
82+
10.85, 8.09, 6.43, 1.65, 12, 540, 7800, 17220,
8383
grid_ie_col=2)
8484

8585
def test_divert_day3_grid_ie_default() -> None:
8686
"""Run the divert test with the day3_grid_ie dataset with the default values"""
8787
run_test_with_dataset('day3_grid_ie', 'day3_grid_ie_default',
88-
12.13, 5.39, 5.37, 0.02, 7, 60, 4320, 11160,
88+
12.13, 6.06, 6.01, 0.05, 2, 3000, 9840, 12840,
8989
grid_ie_col=2)
9090

9191
def test_divert_solar_vrms_default() -> None:
9292
"""Run the divert test with the solar-vrms dataset with the default values"""
9393
run_test_with_dataset('solar-vrms', 'solar-vrms_default',
94-
13.85, 11.18, 11.14, 0.04, 1, 19440, 19440, 19440,
94+
13.85, 11.68, 11.62, 0.06, 1, 20640, 20640, 20640,
9595
voltage_col=2)
9696

9797
def test_divert_energy_and_power_day_2020_03_22_default() -> None:
9898
"""Run the divert test with the Energy_and_Power_Day_2020-03-22 dataset with the default values"""
9999
run_test_with_dataset('Energy_and_Power_Day_2020-03-22', 'Energy_and_Power_Day_2020-03-22_default',
100-
41.87, 38.16, 38.16, 0.0, 1, 27900, 27900, 27900,
100+
41.87, 38.58, 38.51, 0.07, 1, 28800, 28800, 28800,
101101
separator=';', is_kw=True)
102102

103103
def test_divert_energy_and_power_day_2020_03_31_default() -> None:
@@ -123,7 +123,7 @@ def test_divert_almostperfect_noimport() -> None:
123123
def test_divert_cloudymorning_noimport() -> None:
124124
"""Run the divert test with the CloudyMorning dataset with the noimport profile values"""
125125
run_test_with_dataset('CloudyMorning', 'CloudyMorning_noimport',
126-
16.64, 10.52, 10.4, 0.12, 6, 660, 9060, 16440,
126+
16.64, 10.76, 10.62, 0.14, 5, 660, 9060, 16980,
127127
config='data/config-inputfilter-noimport.json')
128128

129129
def test_divert_day1_noimport() -> None:
@@ -135,7 +135,7 @@ def test_divert_day1_noimport() -> None:
135135
def test_divert_day2_noimport() -> None:
136136
"""Run the divert test with the day2 dataset with the noimport profile values"""
137137
run_test_with_dataset('day2', 'day2_noimport',
138-
12.35, 8.85, 8.85, 0.0, 1, 17400, 17400, 17400,
138+
12.35, 9.14, 9.14, 0.0, 1, 18120, 18120, 18120,
139139
config='data/config-inputfilter-noimport.json')
140140

141141
def test_divert_day3_noimport() -> None:
@@ -147,7 +147,7 @@ def test_divert_day3_noimport() -> None:
147147
def test_divert_day1_grid_ie_noimport() -> None:
148148
"""Run the divert test with the day1_grid_ie dataset with the noimport profile values"""
149149
run_test_with_dataset('day1_grid_ie', 'day1_grid_ie_noimport',
150-
15.13, 4.95, 4.91, 0.04, 9, 60, 2580, 10560,
150+
15.13, 4.88, 4.86, 0.02, 7, 60, 2640, 10440,
151151
grid_ie_col=2, config='data/config-inputfilter-noimport.json')
152152

153153
def test_divert_day2_grid_ie_noimport() -> None:
@@ -159,13 +159,13 @@ def test_divert_day2_grid_ie_noimport() -> None:
159159
def test_divert_day3_grid_ie_noimport() -> None:
160160
"""Run the divert test with the day3_grid_ie dataset with the noimport profile values"""
161161
run_test_with_dataset('day3_grid_ie', 'day3_grid_ie_noimport',
162-
12.13, 3.9, 3.86, 0.04, 7, 660, 2700, 7620,
162+
12.13, 3.97, 3.93, 0.04, 7, 660, 2700, 7800,
163163
grid_ie_col=2, config='data/config-inputfilter-noimport.json')
164164

165165
def test_divert_solar_vrms_noimport() -> None:
166166
"""Run the divert test with the solar-vrms dataset with the noimport profile values"""
167167
run_test_with_dataset('solar-vrms', 'solar-vrms_noimport',
168-
13.85, 10.94, 10.9, 0.04, 1, 18960, 18960, 18960,
168+
13.85, 11.29, 11.25, 0.04, 1, 19800, 19800, 19800,
169169
voltage_col=2, config='data/config-inputfilter-noimport.json')
170170

171171
def test_divert_energy_and_power_day_2020_03_22_noimport() -> None:
@@ -191,73 +191,73 @@ def test_divert_energy_and_power_day_2020_04_01_noimport() -> None:
191191
def test_divert_almostperfect_nowaste() -> None:
192192
"""Run the divert test with the almostperfect dataset with the nowaste profile values"""
193193
run_test_with_dataset('almostperfect', 'almostperfect_nowaste',
194-
21.08, 16.67, 16.6, 0.06, 6, 180, 20700, 28620,
194+
21.08, 21.32, 19.9, 1.42, 1, 37500, 37500, 37500,
195195
config='data/config-inputfilter-nowaste.json')
196196

197197
def test_divert_cloudymorning_nowaste() -> None:
198198
"""Run the divert test with the CloudyMorning dataset with the nowaste profile values"""
199199
run_test_with_dataset('CloudyMorning', 'CloudyMorning_nowaste',
200-
16.64, 12.28, 12.07, 0.22, 7, 300, 14520, 20340,
200+
16.64, 15.44, 14.26, 1.18, 1, 26820, 26820, 26820,
201201
config='data/config-inputfilter-nowaste.json')
202202

203203
def test_divert_day1_nowaste() -> None:
204204
"""Run the divert test with the day1 dataset with the nowaste profile values"""
205205
run_test_with_dataset('day1', 'day1_nowaste',
206-
10.12, 7.11, 6.51, 0.59, 7, 660, 8400, 12840,
206+
10.12, 11.65, 9.14, 2.51, 3, 720, 17280, 23340,
207207
config='data/config-inputfilter-nowaste.json')
208208

209209
def test_divert_day2_nowaste() -> None:
210210
"""Run the divert test with the day2 dataset with the nowaste profile values"""
211211
run_test_with_dataset('day2', 'day2_nowaste',
212-
12.35, 9.14, 9.14, 0.0, 1, 18060, 18060, 18060,
212+
12.35, 12.45, 11.66, 0.78, 1, 24540, 24540, 24540,
213213
config='data/config-inputfilter-nowaste.json')
214214

215215
def test_divert_day3_nowaste() -> None:
216216
"""Run the divert test with the day3 dataset with the nowaste profile values"""
217217
run_test_with_dataset('day3', 'day3_nowaste',
218-
5.09, 1.66, 1.22, 0.44, 7, 60, 840, 3600,
218+
5.09, 4.97, 3.24, 1.73, 3, 660, 8760, 12000,
219219
config='data/config-inputfilter-nowaste.json')
220220

221221
def test_divert_day1_grid_ie_nowaste() -> None:
222222
"""Run the divert test with the day1_grid_ie dataset with the nowaste profile values"""
223223
run_test_with_dataset('day1_grid_ie', 'day1_grid_ie_nowaste',
224-
15.13, 7.84, 7.66, 0.18, 10, 660, 6300, 17280,
224+
15.13, 14.21, 13.01, 1.20, 4, 1860, 14880, 30900,
225225
grid_ie_col=2, config='data/config-inputfilter-nowaste.json')
226226

227227
def test_divert_day2_grid_ie_nowaste() -> None:
228228
"""Run the divert test with the day2_grid_ie dataset with the nowaste profile values"""
229229
run_test_with_dataset('day2_grid_ie', 'day2_grid_ie_nowaste',
230-
10.85, 7.00, 5.87, 1.13, 21, 60, 2640, 14460,
230+
10.85, 11.53, 8.60, 2.93, 7, 540, 14700, 24600,
231231
grid_ie_col=2, config='data/config-inputfilter-nowaste.json')
232232

233233
def test_divert_day3_grid_ie_nowaste() -> None:
234234
"""Run the divert test with the day3_grid_ie dataset with the nowaste profile values"""
235235
run_test_with_dataset('day3_grid_ie', 'day3_grid_ie_nowaste',
236-
12.13, 5.39, 5.37, 0.02, 7, 60, 4320, 11160,
236+
12.13, 8.65, 8.12, 0.53, 3, 1500, 14640, 17700,
237237
grid_ie_col=2, config='data/config-inputfilter-nowaste.json')
238238

239239
def test_divert_solar_vrms_nowaste() -> None:
240240
"""Run the divert test with the solar-vrms dataset with the nowaste profile values"""
241241
run_test_with_dataset('solar-vrms', 'solar-vrms_nowaste',
242-
13.85, 11.18, 11.14, 0.04, 1, 19440, 19440, 19440,
242+
13.85, 14.22, 13.18, 1.04, 1, 24960, 24960, 24960,
243243
voltage_col=2, config='data/config-inputfilter-nowaste.json')
244244

245245
def test_divert_energy_and_power_day_2020_03_22_nowaste() -> None:
246246
"""Run the divert test with the Energy_and_Power_Day_2020-03-22 dataset with the nowaste profile values"""
247247
run_test_with_dataset('Energy_and_Power_Day_2020-03-22', 'Energy_and_Power_Day_2020-03-22_nowaste',
248-
41.87, 38.16, 38.16, 0.0, 1, 27900, 27900, 27900,
248+
41.87, 41.34, 40.81, 0.53, 1, 33300, 33300, 33300,
249249
separator=';', is_kw=True, config='data/config-inputfilter-nowaste.json')
250250

251251
def test_divert_energy_and_power_day_2020_03_31_nowaste() -> None:
252252
"""Run the divert test with the Energy_and_Power_Day_2020-03-31 dataset with the nowaste profile values"""
253253
run_test_with_dataset('Energy_and_Power_Day_2020-03-31', 'Energy_and_Power_Day_2020-03-31_nowaste',
254-
23.91, 18.42, 18.42, 0.0, 2, 900, 20700, 21600,
254+
23.91, 23.82, 22.38, 1.44, 2, 4500, 27900, 32400,
255255
separator=';', is_kw=True, config='data/config-inputfilter-nowaste.json')
256256

257257
def test_divert_energy_and_power_day_2020_04_01_nowaste() -> None:
258258
"""Run the divert test with the Energy_and_Power_Day_2020-04-01 dataset with the nowaste profile values"""
259259
run_test_with_dataset('Energy_and_Power_Day_2020-04-01', 'Energy_and_Power_Day_2020-04-01_nowaste',
260-
38.89, 36.42, 36.42, 0.0, 1, 26100, 26100, 26100,
260+
38.89, 38.16, 37.61, 0.55, 1, 28800, 28800, 28800,
261261
separator=';', is_kw=True, config='data/config-inputfilter-nowaste.json')
262262

263263
if __name__ == '__main__':

0 commit comments

Comments
 (0)