aboutsummaryrefslogtreecommitdiff
path: root/script/simulate_ring.py
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-05 16:22:29 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-05 16:22:29 +0100
commitd7e005251dad73eb7d6f2154c6082f61d16554d0 (patch)
treea160bf1dfff3555bcf8a3c52a40863cde2cc4a51 /script/simulate_ring.py
parent3882d5ba36f48751fdf6e5b82eae0dd990238655 (diff)
downloadgarage-d7e005251dad73eb7d6f2154c6082f61d16554d0.tar.gz
garage-d7e005251dad73eb7d6f2154c6082f61d16554d0.zip
Not fully tested: new multi-dc MagLev
Diffstat (limited to 'script/simulate_ring.py')
-rwxr-xr-xscript/simulate_ring.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/script/simulate_ring.py b/script/simulate_ring.py
index 47d748fa..79537859 100755
--- a/script/simulate_ring.py
+++ b/script/simulate_ring.py
@@ -262,21 +262,21 @@ if __name__ == "__main__":
print("------")
print("method 2 (custom ring)")
- nodes = [('digitale', 'atuin', 4),
- ('drosera', 'atuin', 4),
- ('datura', 'atuin', 4),
- ('io', 'jupiter', 8)]
- nodes2 = [('digitale', 'atuin', 8),
- ('drosera', 'atuin', 8),
- ('datura', 'atuin', 8),
- ('io', 'jupiter', 16),
- ('isou', 'jupiter', 8),
- ('mini', 'grog', 4),
- ('mixi', 'grog', 4),
- ('moxi', 'grog', 4),
- ('modi', 'grog', 4),
- ('geant', 'grisou', 16),
- ('gipsie', 'grisou', 16),
+ nodes = [('digitale', 'atuin', 1),
+ ('drosera', 'atuin', 1),
+ ('datura', 'atuin', 1),
+ ('io', 'jupiter', 2)]
+ nodes2 = [('digitale', 'atuin', 2),
+ ('drosera', 'atuin', 2),
+ ('datura', 'atuin', 2),
+ ('io', 'jupiter', 4),
+ ('isou', 'jupiter', 2),
+ ('mini', 'grog', 1),
+ ('mixi', 'grog', 1),
+ ('moxi', 'grog', 1),
+ ('modi', 'grog', 1),
+ ('geant', 'grisou', 4),
+ ('gipsie', 'grisou', 4),
]
evaluate_method(method2, nodes2)