-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
47 lines (38 loc) · 3.06 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# For Machine option 1, these should be the correct values for up until the SI units and scaling values
# RHO: 0.0008155000000000001, I0: 247716.84715343112, T0: 1.816590212458495e-06, TA: 1.158142893133609e-06
# ZZCHAR: 138152.20984267752, VPINCHCH: 232809.34927082082, TPINCHCH: 4.0805921367654816e-08
# C: 3.368421052631579, f: 16.842105263157894, AL: 1.5685372014357508, AA: 28.38173613821698, BE: 0.24730498121753075, RESF: 198.1734777227449, ALT: 1.5151524322697263
# # Our values, before converting to floating point
# RHO: 0.00023300000000000003, I0: 4472135.954999579, T0: 2.6832815729997478e-06, TA: 1.5415146643003885e-07
# ZZCHAR: 1037940.1747216949, VPINCHCH: 796794.3061777176, TPINCHCH: 9.412717864385935e-08
# C: 1.6666666666666667, f: 2.1333333333333333, AL: 17.40678590441789, AA: 1.6376934765386737, BE: 0.1907082328726365, RESF: 536.6563145999495, ALT: 10.807540746007735
## Actual
# RHO I0 A t0 s ta s ch va ms-1 Ch vpinch ms-1 Ch tpinch s
# 2.33E-04 4.47E+06 2.68E-06 1.54E-07 1.04E+06 7.97E+05 9.41E-08
# c F AL 10 BE RESF ALT
# 1.667 2.133 17.405 1.638 0.191 0.537 10.806
# At the end of 1.0, for the values in the set of 60nH, these are the values'
# TR IR VR ZR ZZR IR_CURRF Lz_10_9 \
# 0 0.005367 8.944272 0.000000 0.000788 0.146787 6.260990 0.000805
# 1 0.010733 8.288430 0.001878 0.002363 0.293574 5.801901 0.002414
# 2 0.016100 8.336399 0.001534 0.003339 0.181891 5.835480 0.003412
# 3 0.021466 8.332909 0.001106 0.004353 0.188882 5.833037 0.004447
# 4 0.026833 8.333128 0.001124 0.005378 0.191011 5.833190 0.005495
# ... ... ... ... ... ... ... ...
# 2996 16.083590 8.240709 0.001119 3.099287 0.191975 5.768496 3.166391
# 2997 16.088956 8.240678 0.001119 3.100317 0.191975 5.768475 3.167443
# 2998 16.094323 8.240648 0.001119 3.101348 0.191974 5.768453 3.168496
# 2999 16.099689 8.240617 0.001119 3.102378 0.191974 5.768432 3.169548
# 3000 16.105056 8.240586 0.001119 3.103408 0.191973
# Einductance EINP ni_10_23 TM_10_6 nimax_10_23 Wpiston \
# 0 0.000400 0.000018 0.089902 4027.699596 1.415784 2.629003e-09
# 1 0.000343 0.000018 0.089902 8055.399192 1.415784 7.144189e-09
# 2 0.000347 0.000018 0.089902 4990.926489 1.415784 9.974161e-09
# 3 0.000347 0.000018 0.089902 5182.750463 1.415784 1.291044e-08
# 4 0.000347 0.000018 0.089902 5241.162285 1.415784 1.587997e-08
# ... ... ... ... ... ... ...
# 2996 0.000348 0.000027 0.089902 5267.621970 1.415784 8.879477e-06
# 2997 0.000348 0.000027 0.089902 5267.608932 1.415784 8.882395e-06
# 2998 0.000348 0.000027 0.089902 5267.595894 1.415784 8.885314e-06
# 2999 0.000348 0.000027 0.089902 5267.582855 1.415784 8.888233e-06
# 3000 0.000348 0.000027 0.089902 5267.569817 1.415784 8.891151e-06