From c9c2f11ec8d14476e7ab3e39162f5ec9b11f7b45 Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 3 Oct 2022 01:45:54 -0700 Subject: [PATCH] app: stacked_cores: 40xx: vary the current on 18x 3:1 600um --- .../stacked_cores/scripts/plot_inverters.py | 11 +++-- .../scripts/stacked_cores_40xx_db.py | 42 ++++++++++++++++ crates/applications/stacked_cores/src/main.rs | 48 ++++++++++--------- 3 files changed, 75 insertions(+), 26 deletions(-) diff --git a/crates/applications/stacked_cores/scripts/plot_inverters.py b/crates/applications/stacked_cores/scripts/plot_inverters.py index b6da9cd..77c553d 100755 --- a/crates/applications/stacked_cores/scripts/plot_inverters.py +++ b/crates/applications/stacked_cores/scripts/plot_inverters.py @@ -80,14 +80,17 @@ of_interest = [] # ] of_interest += [(p, get_meas(p)) for p in [ -# SimParams41(18, 1, 600, "1e10"), -# SimParams41(18, 1, 600, "2e10"), + SimParams41(18, 1, 600, "3e9"), + SimParams41(18, 1, 600, "5e9"), + SimParams41(18, 1, 600, "1e10"), + SimParams41(18, 1, 600, "2e10"), # SimParams41(9, 1, 400, "1e10"), # SimParams41(12, 2, 600, "1e10"), - SimParams41(10, 3, 800, "2e10"), +# SimParams41(12, 2, 600, "5e9"), +# SimParams41(10, 3, 800, "2e10"), # SimParams41(6, 2, 400, "1e10"), # SimParams41(9, 3, 600, "2e10"), - SimParams41(10, 3, 800, "1e10"), +# SimParams41(10, 3, 800, "1e10"), # SimParams41(9, 1, 400, "5e9"), ] if get_meas(p)] diff --git a/crates/applications/stacked_cores/scripts/stacked_cores_40xx_db.py b/crates/applications/stacked_cores/scripts/stacked_cores_40xx_db.py index 0881b11..8e82cdf 100755 --- a/crates/applications/stacked_cores/scripts/stacked_cores_40xx_db.py +++ b/crates/applications/stacked_cores/scripts/stacked_cores_40xx_db.py @@ -125,6 +125,8 @@ sims = [ (SimParams41(10, 3, 800, "3e9"), None, 20000), # in progress + (SimParams41(18, 1, 600, "5e9"), None, 20000), + (SimParams41(18, 1, 600, "3e9"), None, 20000), (SimParams41(18, 1, 600, "1e10"), None, 20000), (SimParams41(18, 1, 600, "2e10"), None, 20000), (SimParams41(9, 1, 400, "1e10"), None, 20000), @@ -1316,6 +1318,46 @@ Piecewise( ) """) +set_meas("41-0.00059999997rad-18coupling-3_1_winding-5e9-drive", """ +Piecewise( + [ + [ -17051, -16783 ], # -1.0 + [ -11597, -16745 ], # 0.0 + [ 17687, 620 ], # 1.0 + ] +) +""") + +set_meas("41-0.00059999997rad-18coupling-3_1_winding-3e9-drive", """ +Piecewise( + [ + [ -16987, -11712 ], # -1.0 + [ -11018, -9787 ], # 0.0 + [ 17553, 3554 ], # 1.0 + ] +) +""") + +set_meas("41-0.00059999997rad-18coupling-3_1_winding-1e10-drive", """ +Piecewise( + [ + [ -17122, -16837 ], # -1.0 + [ -11615, -16836 ], # 0.0 + [ 17871, -1870 ], # 1.0 + ] +) +""") + +set_meas("41-0.00059999997rad-18coupling-3_1_winding-2e10-drive", """ +Piecewise( + [ + [ -17204, -16778 ], # -1.0 + [ -11520, -16670 ], # 0.0 + [ 18074, -3691 ], # 1.0 + ] +) +""") + set_meas("41-0.0004rad-9coupling-3_1_winding-1e10-drive", """ Piecewise( [ diff --git a/crates/applications/stacked_cores/src/main.rs b/crates/applications/stacked_cores/src/main.rs index 833b025..c76880a 100644 --- a/crates/applications/stacked_cores/src/main.rs +++ b/crates/applications/stacked_cores/src/main.rs @@ -4058,31 +4058,35 @@ fn main() { ][..], ] { for (coupling_loops, s0_loops, s_major, cur_flt) in [ - (18, 1, um(600), 1e10), // unstarted - (18, 1, um(600), 2e10), // unstarted - (10, 3, um(800), 1e10), // incomplete; verified geom; too low slope + (18, 1, um(600), 5e9), + (18, 1, um(600), 3e9), + (18, 1, um(600), 1e10), + (18, 1, um(600), 2e10), + (12, 2, um(600), 5e9), + + (10, 3, um(800), 1e10), // verified geom; too low slope. waiting for 0.22, 0.27 // VIABLE INVERTERS from 40xx, modified for new control - (9, 1, um(400), 1e10), // incomplete; VIABLE INVERTER (0.59, 0.88) - (12, 2, um(600), 1e10), // incomplete; VIABLE INVERTER (0.65, 0.90) - (10, 3, um(800), 2e10), // incomplete; VIABLE INVERTER (0.76, 0.83); verified geom - (6, 2, um(400), 1e10), // incomplete; VIABLE INVERTER (0.65, 0.83) - (9, 3, um(600), 2e10), // incomplete; VIABLE INVERTER (0.77, 0.87) + (9, 1, um(400), 1e10), // VIABLE INVERTER (0.59, 0.88) + (12, 2, um(600), 1e10), // VIABLE INVERTER (0.65, 0.90) + (10, 3, um(800), 2e10), // VIABLE INVERTER (0.76, 0.83); verified geom + (6, 2, um(400), 1e10), // VIABLE INVERTER (0.65, 0.83) + (9, 3, um(600), 2e10), // VIABLE INVERTER (0.77, 0.87) - // (9, 1, um(400), 5e9), // incomplete; barely too low slope - // (9, 1, um(400), 2e10), // incomplete; too low tx - // (9, 3, um(600), 1e10), // incomplete; too low slope - // (9, 3, um(600), 3e9), // incomplete; too low slope; too high tx @ 0 - // (9, 1, um(400), 3e9), // incomplete; too low slope; too high tx @ 0 - // (10, 3, um(800), 25e8), // incomplete; verified geom; too low slope; too high tx @ 0 - // (9, 1, um(400), 2e9), // incomplete; too low slope; too high tx @ 0 - // (10, 3, um(800), 2e9), // unstarted; verified geom. too low current - // (10, 3, um(800), 3e9), // incomplete; verified geom. mildly high current - // (10, 3, um(800), 1e9), // incomplete; verified geom. too low current - // (10, 3, um(800), 5e9), // incomplete; verified geom. too high current - // (10, 3, um(800), 5e10), // incomplete; verified geom. too high current + // (9, 1, um(400), 5e9), // barely too low slope + // (9, 1, um(400), 2e10), // too low tx + // (9, 3, um(600), 1e10), // too low slope + // (9, 3, um(600), 3e9), // too low slope; too high tx @ 0 + // (9, 1, um(400), 3e9), // too low slope; too high tx @ 0 + // (10, 3, um(800), 25e8), // verified geom; too low slope; too high tx @ 0 + // (9, 1, um(400), 2e9), // too low slope; too high tx @ 0 + // (10, 3, um(800), 2e9), // verified geom. too low current + // (10, 3, um(800), 3e9), // verified geom. mildly high current + // (10, 3, um(800), 1e9), // verified geom. too low current + // (10, 3, um(800), 5e9), // verified geom. too high current + // (10, 3, um(800), 5e10), // verified geom. too high current ] { for &init_flt in init_set { let net_slots = 2*s0_loops + 1; @@ -4171,8 +4175,8 @@ fn run_sim( return; // all our work is done } - // driver.add_serializer_renderer(&*format!("{}frame-", prefix), 6400, Some(12800)); - driver.add_serializer_renderer(&*format!("{}frame-", prefix), 32000, None); + driver.add_serializer_renderer(&*format!("{}frame-", prefix), 6400, Some(12800)); + // driver.add_serializer_renderer(&*format!("{}frame-", prefix), 32000, None); // driver.add_csv_renderer(&*format!("{}meas-detailed.csv", prefix), 100, None); driver.add_csv_renderer(&*format!("{}meas.csv", prefix), 1600, None); driver.add_csv_renderer(&*format!("{}meas-sparse.csv", prefix), 12800, None);