app: stacked_cores: 43-xx: run more current variations

This commit is contained in:
2022-10-13 21:53:30 -07:00
parent 196e6c8790
commit 8407c2c8e8
2 changed files with 54 additions and 10 deletions

View File

@@ -219,11 +219,13 @@ sims = [
(SimParams42(2, 6, 400, "149999992832e0"), None, 20000), # 15e10 (SimParams42(2, 6, 400, "149999992832e0"), None, 20000), # 15e10
(SimParams43(2, 3, 400, "2e10"), None, 20000), (SimParams43(2, 3, 400, "2e10"), None, 20000),
(SimParams43(3, 2, 400, "2e9"), None, 20000),
(SimParams43(3, 2, 400, "3e9"), None, 20000), (SimParams43(3, 2, 400, "3e9"), None, 20000),
(SimParams43(3, 2, 400, "5e9"), None, 20000), (SimParams43(3, 2, 400, "5e9"), None, 20000),
(SimParams43(3, 2, 400, "1e10"), None, 20000), (SimParams43(3, 2, 400, "1e10"), None, 20000),
(SimParams43(3, 2, 400, "2e10"), None, 20000), (SimParams43(3, 2, 400, "2e10"), None, 20000),
(SimParams43(3, 2, 400, "3e10"), None, 20000), (SimParams43(3, 2, 400, "3e10"), None, 20000),
(SimParams43(5, 1, 400, "2e9"), None, 20000),
(SimParams43(5, 1, 400, "3e9"), None, 20000), (SimParams43(5, 1, 400, "3e9"), None, 20000),
(SimParams43(5, 1, 400, "5e9"), None, 20000), (SimParams43(5, 1, 400, "5e9"), None, 20000),
(SimParams43(5, 1, 400, "8e9"), None, 20000), (SimParams43(5, 1, 400, "8e9"), None, 20000),
@@ -3176,6 +3178,17 @@ Piecewise(
) )
""") """)
set_meas("43-0.0004rad-3coupling-5_1_winding-2e9-drive", """
Piecewise(
[
[ -362, 570 ], # -1.0
[ 0, 565 ], # 0.0
[ 358, 612 ], # 1.0
[ 11296, 801 ], # 2.0
]
)
""")
set_meas("43-0.0004rad-3coupling-5_1_winding-3e9-drive", """ set_meas("43-0.0004rad-3coupling-5_1_winding-3e9-drive", """
Piecewise( Piecewise(
[ [
@@ -3299,11 +3312,23 @@ Piecewise(
) )
""") """)
set_meas("43-0.0004rad-5coupling-3_1_winding-2e9-drive", """
Piecewise(
[
[ -7384, 8571 ], # -1.0
[ 7396, 9645 ], # 1.0
]
)
""")
set_meas("43-0.0004rad-5coupling-3_1_winding-3e9-drive", """ set_meas("43-0.0004rad-5coupling-3_1_winding-3e9-drive", """
Piecewise( Piecewise(
[ [
[ -16754, 3880 ], # -2.0
[ -16113, 4023 ], # -1.0 [ -16113, 4023 ], # -1.0
[ 1027, 4728 ], # 0.0
[ 16108, 5683 ], # 1.0 [ 16108, 5683 ], # 1.0
[ 16750, 5716 ], # 2.0
] ]
) )
""") """)
@@ -3356,4 +3381,17 @@ Piecewise(
) )
""") """)
set_meas("43-0.0004rad-5coupling-3_1_winding-4e10-drive", """
Piecewise(
[
[ -16945, -13758 ], # -2.0
[ -16930, -13762 ], # -1.0
[ 8866, -14925 ], # 0.0
[ 16596, -14097 ], # 0.3
[ 16841, -14067 ], # 1.0
[ 16855, -14050 ], # 2.0
]
)
""")
if __name__ == '__main__': main() if __name__ == '__main__': main()

View File

@@ -4469,6 +4469,10 @@ fn main() {
1.00, 1.00,
-1.00, -1.00,
0.00, 0.00,
][..],
&[
// over-charge. this should mostly be ignored, as if M1 isn't satisfactorily
// charged it'll create bad initial conditions
2.00, 2.00,
-2.00, -2.00,
][..], ][..],
@@ -4510,19 +4514,21 @@ fn main() {
][..], ][..],
] { ] {
for (coupling_loops, s0_loops, s_major, cur_flt) in [ for (coupling_loops, s0_loops, s_major, cur_flt) in [
(5, 1, um(400), 4e10), (5, 1, um(400), 2e9),
(5, 1, um(400), 5e9),
(5, 1, um(400), 3e9),
// (5, 1, um(400), 2e10), // too much tx
// not viable // not viable
(3, 2, um(400), 2e10), // verified geom
(3, 2, um(400), 1e10), // verified geom
(3, 2, um(400), 5e9), // verified geom
(3, 2, um(400), 3e10), // verified geom
(2, 3, um(400), 2e10), (2, 3, um(400), 2e10),
(5, 1, um(400), 8e9), // (3, 2, um(400), 2e9), // verified geom; M1 initialization varies
(3, 2, um(400), 3e9), // verified geom (3, 2, um(400), 3e9), // verified geom; M1 isn't fully initialized
(3, 2, um(400), 5e9), // verified geom
(3, 2, um(400), 1e10), // verified geom
(3, 2, um(400), 2e10), // verified geom
(3, 2, um(400), 3e10), // verified geom
(5, 1, um(400), 3e9), // (3900, 5700)
(5, 1, um(400), 5e9), // (-500, 1200)
(5, 1, um(400), 8e9), // (-10700, -8300)
// (5, 1, um(400), 2e10), // too much tx
// (5, 1, um(400), 4e10), // so much tx it double-inverts
// old inverters from 42-xx // old inverters from 42-xx
// (2, 3, um(400), 3e10), // (2, 3, um(400), 3e10),
] { ] {