app: stacked_cores: 40xx_db: define more sims
This commit is contained in:
@@ -6,11 +6,14 @@ import subprocess
|
||||
import sys
|
||||
|
||||
def sim_name(couplings: int, wrappings: int, um: int, drive: str) -> str:
|
||||
wrappings = 2*wrappings + 1
|
||||
um_str = {
|
||||
400: "0.0004",
|
||||
600: "0.0059999997",
|
||||
600: "0.00059999997",
|
||||
}[um]
|
||||
|
||||
return f"40-{um_str}rad-{couplings}coupling-{wrappings}_1_winding-{drive}-drive"
|
||||
|
||||
sims = [
|
||||
# real name, human friendly, normalization
|
||||
("40-0.0004rad-12coupling-3_1_winding-5e10-drive", "fwd_40_12_3_1_5e10", 17000),
|
||||
@@ -32,7 +35,7 @@ sims = [
|
||||
|
||||
# not yet analyzed:
|
||||
(sim_name(6, 3, 600, "5e10"), "fwd_40_600um_6_7_1_5e10", 20000),
|
||||
(sim_name(10, 3, 600, "5e10"), "fwd_40_600um_10_7_1_5e10", 20000),
|
||||
# (sim_name(10, 3, 600, "5e10"), "fwd_40_600um_10_7_1_5e10", 20000),
|
||||
(sim_name(6, 2, 600, "5e10"), "fwd_40_600um_6_5_1_5e10", 20000),
|
||||
(sim_name(8, 2, 600, "5e10"), "fwd_40_600um_8_5_1_5e10", 20000),
|
||||
(sim_name(10, 2, 600, "5e10"), "fwd_40_600um_10_5_1_5e10", 20000),
|
||||
@@ -580,4 +583,133 @@ Piecewise(
|
||||
)
|
||||
""")
|
||||
|
||||
set_meas("40-0.00059999997rad-6coupling-7_1_winding-5e10-drive", """
|
||||
Piecewise(
|
||||
[
|
||||
[ -11955, -8858 ], # -2.0
|
||||
[ -10844, -8392 ], # -1.5
|
||||
[ -9653, -7760 ], # -1.0
|
||||
[ -9148, -7480 ], # -0.8
|
||||
[ -8477, -7343 ], # -0.6
|
||||
[ -8058, -7101 ], # -0.5
|
||||
[ -7437, -6885 ], # -0.4
|
||||
[ -4518, -6025 ], # -0.3
|
||||
[ -2176, -5225 ], # -0.25
|
||||
[ -490, -4531 ], # -0.2
|
||||
[ 302, -4102 ], # -0.17
|
||||
[ 756, -3831 ], # -0.15
|
||||
[ 1149, -3593 ], # -0.13
|
||||
[ 1675, -3170 ], # -0.1
|
||||
[ 2104, -2811 ], # -0.07
|
||||
[ 2352, -2551 ], # -0.05
|
||||
[ 2854, -2097 ], # 0.0
|
||||
[ 3197, -1839 ], # 0.05
|
||||
[ 3517, -1617 ], # 0.1
|
||||
[ 4341, -1140 ], # 0.2
|
||||
[ 5178, -709 ], # 0.3
|
||||
[ 5774, -435 ], # 0.5
|
||||
[ 6369, -180 ], # 0.8
|
||||
[ 6782, 1 ], # 1.0
|
||||
[ 7828, 503 ], # 1.5
|
||||
[ 8887, 1051 ], # 2.0
|
||||
]
|
||||
)
|
||||
""")
|
||||
|
||||
set_meas("40-0.00059999997rad-6coupling-5_1_winding-5e10-drive", """
|
||||
Piecewise(
|
||||
[
|
||||
[ -13402, -7952 ], # -2.0
|
||||
[ -12000, -7336 ], # -1.5
|
||||
[ -10508, -6529 ], # -1.0
|
||||
[ -9877, -6187 ], # -0.8
|
||||
[ -9170, -5941 ], # -0.6
|
||||
[ -8751, -5783 ], # -0.5
|
||||
[ -8105, -5550 ], # -0.4
|
||||
[ -5403, -4604 ], # -0.3
|
||||
[ -3123, -3697 ], # -0.25
|
||||
[ -1245, -2867 ], # -0.2
|
||||
[ -253, -2312 ], # -0.17
|
||||
[ 321, -1964 ], # -0.15
|
||||
[ 854, -1637 ], # -0.13
|
||||
[ 1567, -1089 ], # -0.1
|
||||
[ 2213, -547 ], # -0.07
|
||||
[ 2597, -173 ], # -0.05
|
||||
[ 3420, 483 ], # 0.0
|
||||
[ 4021, 893 ], # 0.05
|
||||
[ 4541, 1235 ], # 0.1
|
||||
[ 5638, 1906 ], # 0.2
|
||||
[ 6442, 2343 ], # 0.3
|
||||
[ 7066, 2622 ], # 0.5
|
||||
[ 7795, 2977 ], # 0.8
|
||||
[ 8296, 3245 ], # 1.0
|
||||
[ 9478, 3935 ], # 1.5
|
||||
[ 10530, 4558 ], # 2.0
|
||||
]
|
||||
)
|
||||
""")
|
||||
|
||||
set_meas("40-0.00059999997rad-8coupling-5_1_winding-5e10-drive", """
|
||||
Piecewise(
|
||||
[
|
||||
[ -12065, -7853 ], # -2.0
|
||||
[ -10986, -6995 ], # -1.5
|
||||
[ -9808, -6083 ], # -1.0
|
||||
[ -9285, -5788 ], # -0.8
|
||||
[ -8592, -5673 ], # -0.6
|
||||
[ -8153, -5422 ], # -0.5
|
||||
[ -7507, -5218 ], # -0.4
|
||||
[ -4424, -4031 ], # -0.3
|
||||
[ -1908, -2828 ], # -0.25
|
||||
[ -23, -1673 ], # -0.2
|
||||
[ 866, -1035 ], # -0.17
|
||||
[ 1359, -631 ], # -0.15
|
||||
[ 1820, -212 ], # -0.13
|
||||
[ 2402, 397 ], # -0.1
|
||||
[ 2911, 962 ], # -0.07
|
||||
[ 3198, 1342 ], # -0.05
|
||||
[ 3755, 1922 ], # 0.0
|
||||
[ 4135, 2227 ], # 0.05
|
||||
[ 4461, 2471 ], # 0.1
|
||||
[ 5195, 3005 ], # 0.2
|
||||
[ 5896, 3442 ], # 0.3
|
||||
[ 6480, 3700 ], # 0.5
|
||||
[ 7084, 3989 ], # 0.8
|
||||
[ 7497, 4234 ], # 1.0
|
||||
[ 8504, 4899 ], # 1.5
|
||||
[ 9421, 5547 ], # 2.0
|
||||
]
|
||||
)
|
||||
""")
|
||||
|
||||
set_meas("40-0.00059999997rad-10coupling-5_1_winding-5e10-drive", """
|
||||
Piecewise(
|
||||
[
|
||||
[ -11455, -7219 ], # -2.0
|
||||
[ -10621, -6290 ], # -1.5
|
||||
[ -9634, -5367 ], # -1.0
|
||||
[ -9129, -5200 ], # -0.8
|
||||
[ -8406, -5069 ], # -0.6
|
||||
[ -7984, -4925 ], # -0.5
|
||||
[ -7384, -4682 ], # -0.4
|
||||
[ -4194, -3342 ], # -0.3
|
||||
[ -1242, -1795 ], # -0.25
|
||||
[ 745, -450 ], # -0.2
|
||||
[ 2015, 707 ], # -0.15
|
||||
[ 2946, 1814 ], # -0.1
|
||||
[ 3589, 2765 ], # -0.05
|
||||
[ 3984, 3233 ], # 0.0
|
||||
[ 4239, 3447 ], # 0.05
|
||||
[ 4463, 3620 ], # 0.1
|
||||
[ 5011, 4049 ], # 0.2
|
||||
[ 5629, 4468 ], # 0.3
|
||||
[ 6134, 4705 ], # 0.5
|
||||
[ 6638, 4932 ], # 0.8
|
||||
[ 6956, 5107 ], # 1.0
|
||||
[ 7769, 5635 ], # 1.5
|
||||
[ 8569, 6226 ], # 2.0
|
||||
]
|
||||
)
|
||||
""")
|
||||
|
||||
if __name__ == '__main__': main()
|
||||
|
Reference in New Issue
Block a user