Skip to content
Snippets Groups Projects
Commit 835bd623 authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

Update test_memory_usage.py

parent d00e26df
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ def test_memory_usage():
site = Hornsrev1Site()
x, y = site.initial_position.T
for wfm, mem_min, mem_max in [(NOJ(site, wt), 65, 90),
(All2AllIterative(site, wt, wake_deficitModel=NOJDeficit()), 530, 600)]:
for wfm, mem_min, mem_max in [(NOJ(site, wt), 60, 90),
(All2AllIterative(site, wt, wake_deficitModel=NOJDeficit()), 525, 600)]:
mem_usage, _ = memory_profiler.memory_usage(
(wfm, (x, y), {'wd': np.arange(0, 360, 4)}), interval=0.001, max_usage=True, retval=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment