app: stacked cores: more experiments around folding multi-cores together

This commit is contained in:
2022-09-19 21:28:16 -07:00
parent 57e9759cab
commit 58704e4498
2 changed files with 46 additions and 12 deletions

View File

@@ -101,8 +101,8 @@ fwd_24 = Piecewise(
[ 12048, 15346 ],
]
).normalized(17000)
fwd_24.plot(title = "24 forward")
fwd_24.logically_inverted().plot(title = "24 inverted")
# fwd_24.plot(title = "24 forward")
# fwd_24.logically_inverted().plot(title = "24 inverted")
fwd_24.plot_slope(title = "24 slope")
fwd_24.logically_inverted().plot_equilibrium(title = "24 equilibrium")
@@ -118,8 +118,8 @@ fwd_26 = Piecewise(
).normalized(17000)
# fwd_26.plot(title = "26 forward")
# fwd_26.logically_inverted().plot(title = "26 inverted")
# fwd_26.plot_slope(title = "26 slope")
# fwd_26.logically_inverted().plot_equilibrium(title = "26 equilibrium")
fwd_26.plot_slope(title = "26 slope")
fwd_26.logically_inverted().plot_equilibrium(title = "26 equilibrium")
fwd_38_2_0 = Piecewise(
@@ -135,8 +135,8 @@ fwd_38_2_0 = Piecewise(
).normalized(17000)
# fwd_38_2_0.plot(title = "38 2:0 forward")
# fwd_38_2_0.logically_inverted().plot(title = "38 2:0 inverted")
# fwd_38_2_0.plot_slope(title = "38 2:0 slope")
# fwd_38_2_0.logically_inverted().plot_equilibrium(title = "38 2:0 equilibrium")
fwd_38_2_0.plot_slope(title = "38 2:0 slope")
fwd_38_2_0.logically_inverted().plot_equilibrium(title = "38 2:0 equilibrium")
fwd_38_3_0 = Piecewise(
[
@@ -149,7 +149,23 @@ fwd_38_3_0 = Piecewise(
[ (11436 + 13343 + 14411)/3, 16380],
]
).normalized(17000)
fwd_38_3_0.plot(title = "38 3:0 forward")
fwd_38_3_0.logically_inverted().plot(title = "38 3:0 inverted")
# fwd_38_3_0.plot(title = "38 3:0 forward")
# fwd_38_3_0.logically_inverted().plot(title = "38 3:0 inverted")
fwd_38_3_0.plot_slope(title = "38 3:0 slope")
fwd_38_3_0.logically_inverted().plot_equilibrium(title = "38 3:0 equilibrium")
fwd_38_4_0 = Piecewise(
[
[ (-14020 + -14112 + -13935 + -13091)/4, -4701],
[ (-4982 + -4912 + -4870 + -4696)/4, 6398],
[ (1469 + 303 + 107 + 510)/4, 13165],
[ (4150 + 1560 + 653 + 1416)/4, 14727],
[ (7027 + 3336 + 1460 + 2518)/4, 15551],
[ (10385 + 7210 + 5554 + 5998)/4, 16123],
[ (11462 + 13429 + 13829 + 13370)/4, 16408],
]
).normalized(17000)
# fwd_38_4_0.plot(title = "38 4:0 forward")
# fwd_38_4_0.logically_inverted().plot(title = "38 4:0 inverted")
fwd_38_4_0.plot_slope(title = "38 4:0 slope")
fwd_38_4_0.logically_inverted().plot_equilibrium(title = "38 4:0 equilibrium")

View File

@@ -3502,13 +3502,21 @@ fn main() {
.with_s_major(um(400))
.with_coupling_loops(8)
;
for (scur, cur) in [("2e10", 2e10), ("15e9", 15e9), ("1e10", 1e10), ] {
for (scur, cur) in [
("2e10", 2e10),
("5e10", 5e10),
// ("15e9", 15e9),
// ("1e10", 1e10),
] {
for (tx, inv) in [
(2, 0),
(3, 0),
(3, 1),
(4, 1),
(4, 2),
// (3, 1),
// (4, 1),
// (4, 2),
(4, 0),
// (5, 0),
(1, 0),
] {
for (sinit, finit) in [
("p100", 1.00),
@@ -3548,6 +3556,11 @@ fn main() {
// params
// .with_coupling(0, 3+2, 0, 1, CouplingMethod::Direct)
// );
(4, 0) => run_sim(
name,
drive_map_nstack_pos_minv::<4, 0>(finit, 1.00),
params,
),
(4, 1) => run_sim(
name,
drive_map_nstack_pos_minv::<4, 1>(finit, 1.00),
@@ -3564,6 +3577,11 @@ fn main() {
// params
// .with_coupling(0, 4+3, 0, 1, CouplingMethod::Direct)
// );
(5, 0) => run_sim(
name,
drive_map_nstack_pos_minv::<5, 0>(finit, 1.00),
params,
),
(5, 2) => run_sim(
name,
drive_map_nstack_pos_minv::<5, 2>(finit, 1.00),