app: stacked-cores: restructure the 40xx db

This commit is contained in:
2022-09-27 16:41:30 -07:00
parent 049f2d1e4f
commit d34e9cc6b2

View File

@@ -1,7 +1,32 @@
from inverter_characteristics import Piecewise
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.0004rad-12coupling-3_1_winding-5e10-drive-
fwd_40_12_3_1_5e10 = Piecewise(
import sys
sims = [
"40-0.0004rad-12coupling-3_1_winding-5e10-drive",
"40-0.0004rad-6coupling-3_1_winding-5e10-drive",
"40-0.0004rad-6coupling-7_1_winding-5e10-drive",
"40-0.00059999997rad-20coupling-3_1_winding-3e10-drive",
"40-0.00059999997rad-20coupling-3_1_winding-5e10-drive",
"40-0.00059999997rad-20coupling-3_1_winding-1e11-drive",
"40-0.00059999997rad-20coupling-3_1_winding-2e11-drive",
"40-0.00059999997rad-12coupling-5_1_winding-5e10-drive",
"40-0.00059999997rad-12coupling-5_1_winding-1e11-drive",
"40-0.00059999997rad-12coupling-5_1_winding-2e11-drive",
"40-0.00059999997rad-8coupling-7_1_winding-5e10-drive",
"40-0.00059999997rad-8coupling-7_1_winding-1e11-drive",
"40-0.00059999997rad-6coupling-9_1_winding-5e10-drive",
"40-0.00059999997rad-6coupling-9_1_winding-1e11-drive",
"40-0.00059999997rad-6coupling-11_1_winding-5e10-drive",
]
measurements = { k: None for k in sims }
def set_meas(name: str, pw: Piecewise):
assert measurements[name] is None
measurements[name] = pw
set_meas("40-0.0004rad-12coupling-3_1_winding-5e10-drive", Piecewise(
[
[ -16453, -5877 ], # -2.0
[ -16171, -5444 ], # -1.5
@@ -30,10 +55,9 @@ fwd_40_12_3_1_5e10 = Piecewise(
[ 13301, 16442 ], # 1.5
[ 14146, 16474 ], # 2.0
]
).normalized(17000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.0004rad-6coupling-3_1_winding-5e10-drive-
fwd_40_6_3_1_5e10 = Piecewise(
set_meas("40-0.0004rad-6coupling-3_1_winding-5e10-drive", Piecewise(
[
[ -16689, -6116 ], # -2.0
[ -16510, -5954 ], # -1.5
@@ -62,10 +86,9 @@ fwd_40_6_3_1_5e10 = Piecewise(
[ 15309, 15457 ], # 1.5
[ 16329, 15683 ], # 2.0
]
).normalized(17000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.0004rad-6coupling-7_1_winding-5e10-drive-
fwd_40_6_7_1_5e10 = Piecewise(
set_meas("40-0.0004rad-6coupling-7_1_winding-5e10-drive", Piecewise(
[
[ -16244, -8159 ], # -2.0
[ -15756, -7835 ], # -1.5
@@ -94,10 +117,9 @@ fwd_40_6_7_1_5e10 = Piecewise(
[ 12329, 11657 ], # 1.5
[ 13223, 12045 ], # 2.0
]
).normalized(15000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-20coupling-3_1_winding-3e10-drive-
fwd_40_600um_20_3_1_3e10 = Piecewise(
set_meas("40-0.00059999997rad-20coupling-3_1_winding-3e10-drive", Piecewise(
[
[ -9940, -2886 ], # -2.0
[ -9292, -2432 ], # -1.5
@@ -126,10 +148,9 @@ fwd_40_600um_20_3_1_3e10 = Piecewise(
[ 7699, 6755 ], # 1.5
[ 8113, 6906 ], # 2.0
]
).normalized(10000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-20coupling-3_1_winding-5e10-drive-
fwd_40_600um_20_3_1_5e10 = Piecewise(
set_meas("40-0.00059999997rad-20coupling-3_1_winding-5e10-drive", Piecewise(
[
[ -11623, -2886 ], # -2.0
[ -10847, -2125 ], # -1.5
@@ -158,10 +179,9 @@ fwd_40_600um_20_3_1_5e10 = Piecewise(
[ 8790, 13075 ], # 1.5
[ 9248, 13503 ], # 2.0
]
).normalized(19000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-20coupling-3_1_winding-1e11-drive-
fwd_40_600um_20_3_1_1e11 = Piecewise(
set_meas("40-0.00059999997rad-20coupling-3_1_winding-1e11-drive", Piecewise(
[
[ -14284, -3414 ], # -2.0
[ -13332, -2406 ], # -1.5
@@ -190,10 +210,9 @@ fwd_40_600um_20_3_1_1e11 = Piecewise(
[ 10166, 14547 ], # 1.5
[ 10774, 14789 ], # 2.0
]
).normalized(15000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-20coupling-3_1_winding-2e11-drive-
fwd_40_600um_20_3_1_2e11 = Piecewise(
set_meas("40-0.00059999997rad-20coupling-3_1_winding-2e11-drive", Piecewise(
[
[ -17130, -2396 ], # -2.0
[ -16555, -1969 ], # -1.5
@@ -222,10 +241,9 @@ fwd_40_600um_20_3_1_2e11 = Piecewise(
[ 11938, 11738 ], # 1.5
[ 13090, 12062 ], # 2.0
]
).normalized(15000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-12coupling-5_1_winding-5e10-drive-
fwd_40_600um_12_5_1_5e10 = Piecewise(
set_meas("40-0.00059999997rad-12coupling-5_1_winding-5e10-drive", Piecewise(
[
[ -11347, -6303 ], # -2.0
[ -10626, -5304 ], # -1.5
@@ -254,10 +272,9 @@ fwd_40_600um_12_5_1_5e10 = Piecewise(
[ 7278, 6265 ], # 1.5
[ 7937, 6759 ], # 2.0
]
).normalized(12000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-12coupling-5_1_winding-1e11-drive-
fwd_40_600um_12_5_1_1e11 = Piecewise(
set_meas("40-0.00059999997rad-12coupling-5_1_winding-1e11-drive", Piecewise(
[
[ -14026, -4901 ], # -2.0
[ -13014, -4368 ], # -1.5
@@ -286,10 +303,9 @@ fwd_40_600um_12_5_1_1e11 = Piecewise(
[ 9248, 12388 ], # 1.5
[ 10140, 13087 ], # 2.0
]
).normalized(14000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-12coupling-5_1_winding-2e11-drive-
fwd_40_600um_12_5_1_2e11 = Piecewise(
set_meas("40-0.00059999997rad-12coupling-5_1_winding-2e11-drive", Piecewise(
[
[ -17015, -1518 ], # -2.0
[ -16471, -1243 ], # -1.5
@@ -318,10 +334,9 @@ fwd_40_600um_12_5_1_2e11 = Piecewise(
[ 11594, 10686 ], # 1.5
[ 12900, 10836 ], # 2.0
]
).normalized(14000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-8coupling-7_1_winding-5e10-drive-
fwd_40_600um_8_7_1_5e10 = Piecewise(
set_meas("40-0.00059999997rad-8coupling-7_1_winding-5e10-drive", Piecewise(
[
[ -11191, -8744 ], # -2.0
[ -10386, -8104 ], # -1.5
@@ -350,10 +365,9 @@ fwd_40_600um_8_7_1_5e10 = Piecewise(
[ 6868, 1020 ], # 1.5
[ 7684, 1464 ], # 2.0
]
).normalized(12000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-8coupling-7_1_winding-1e11-drive-
fwd_40_600um_8_7_1_1e11 = Piecewise(
set_meas("40-0.00059999997rad-8coupling-7_1_winding-1e11-drive", Piecewise(
[
[ -14253, -5453 ], # -2.0
[ -13129, -5047 ], # -1.5
@@ -382,10 +396,9 @@ fwd_40_600um_8_7_1_1e11 = Piecewise(
[ 9254, 7438 ], # 1.5
[ 10288, 7992 ], # 2.0
]
).normalized(12000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-6coupling-9_1_winding-5e10-drive-
fwd_40_600um_6_9_1_5e10 = Piecewise(
set_meas("40-0.00059999997rad-6coupling-9_1_winding-5e10-drive", Piecewise(
[
[ -11138, -9779 ], # -2.0
[ -10280, -9491 ], # -1.5
@@ -414,10 +427,9 @@ fwd_40_600um_6_9_1_5e10 = Piecewise(
[ 6678, -2391 ], # 1.5
[ 7561, -1986 ], # 2.0
]
).normalized(12000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-6coupling-9_1_winding-1e11-drive-
fwd_40_600um_6_9_1_1e11 = Piecewise(
set_meas("40-0.00059999997rad-6coupling-9_1_winding-1e11-drive", Piecewise(
[
[ -14471, -5820 ], # -2.0
[ -13297, -5501 ], # -1.5
@@ -446,10 +458,9 @@ fwd_40_600um_6_9_1_1e11 = Piecewise(
[ 9255, 3962 ], # 1.5
[ 10362, 4340 ], # 2.0
]
).normalized(12000)
))
# ./stacked_cores_39xx.py ../../../../out/applications/stacked_cores/40-0.00059999997rad-6coupling-11_1_winding-5e10-drive-
fwd_40_600um_6_11_1_5e10 = Piecewise(
set_meas("40-0.00059999997rad-6coupling-11_1_winding-5e10-drive", Piecewise(
[
[ -10841, -10684 ], # -2.0
[ -10118, -10416 ], # -1.5
@@ -478,5 +489,21 @@ fwd_40_600um_6_11_1_5e10 = Piecewise(
[ 5884, -4342 ], # 1.5
[ 6611, -4071 ], # 2.0
]
).normalized(11000)
))
fwd_40_12_3_1_5e10 = measurements["40-0.0004rad-12coupling-3_1_winding-5e10-drive"].normalized(17000)
fwd_40_6_3_1_5e10 = measurements["40-0.0004rad-6coupling-3_1_winding-5e10-drive"].normalized(17000)
fwd_40_6_7_1_5e10 = measurements["40-0.0004rad-6coupling-7_1_winding-5e10-drive"].normalized(15000)
fwd_40_600um_20_3_1_3e10 = measurements["40-0.00059999997rad-20coupling-3_1_winding-3e10-drive"].normalized(10000)
fwd_40_600um_20_3_1_5e10 = measurements["40-0.00059999997rad-20coupling-3_1_winding-5e10-drive"].normalized(19000)
fwd_40_600um_20_3_1_1e11 = measurements["40-0.00059999997rad-20coupling-3_1_winding-1e11-drive"].normalized(15000)
fwd_40_600um_20_3_1_2e11 = measurements["40-0.00059999997rad-20coupling-3_1_winding-2e11-drive"].normalized(15000)
fwd_40_600um_12_5_1_5e10 = measurements["40-0.00059999997rad-12coupling-5_1_winding-5e10-drive"].normalized(12000)
fwd_40_600um_12_5_1_1e11 = measurements["40-0.00059999997rad-12coupling-5_1_winding-1e11-drive"].normalized(14000)
fwd_40_600um_12_5_1_2e11 = measurements["40-0.00059999997rad-12coupling-5_1_winding-2e11-drive"].normalized(14000)
fwd_40_600um_8_7_1_5e10 = measurements["40-0.00059999997rad-8coupling-7_1_winding-5e10-drive"].normalized(12000)
fwd_40_600um_8_7_1_1e11 = measurements["40-0.00059999997rad-8coupling-7_1_winding-1e11-drive"].normalized(12000)
fwd_40_600um_6_9_1_5e10 = measurements["40-0.00059999997rad-6coupling-9_1_winding-5e10-drive"].normalized(12000)
fwd_40_600um_6_9_1_1e11 = measurements["40-0.00059999997rad-6coupling-9_1_winding-1e11-drive"].normalized(12000)
fwd_40_600um_6_11_1_5e10 = measurements["40-0.00059999997rad-6coupling-11_1_winding-5e10-drive"].normalized(11000)