cambios menores
This commit is contained in:
parent
e21c4f72e7
commit
a0f02a3333
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
venv/
|
venv/
|
||||||
*.mdb
|
|
||||||
motores/PLACond/
|
motores/PLACond/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
motores/PLACond/
|
motores/PLACond/
|
||||||
|
252
Comparar_Resultados/M800-50A.mdb
Normal file
252
Comparar_Resultados/M800-50A.mdb
Normal file
@ -0,0 +1,252 @@
|
|||||||
|
[M800-50A]
|
||||||
|
Type=Fixed_Solid
|
||||||
|
Solid Type=Steel
|
||||||
|
Thermal Conductivity=30
|
||||||
|
Specific Heat=460
|
||||||
|
Density=7650
|
||||||
|
Notes=
|
||||||
|
ElectricalResistivity=2.3E-7
|
||||||
|
TempCoefElectricalResistivity=0
|
||||||
|
PoissonsRatio=0.3
|
||||||
|
YoungsCoefficient=210000
|
||||||
|
YieldStress=300
|
||||||
|
BValue[0]=0
|
||||||
|
HValue[0]=0
|
||||||
|
BValue[1]=0.1
|
||||||
|
HValue[1]=49.4217
|
||||||
|
BValue[2]=0.2
|
||||||
|
HValue[2]=91.7567
|
||||||
|
BValue[3]=0.3
|
||||||
|
HValue[3]=118.7541
|
||||||
|
BValue[4]=0.4
|
||||||
|
HValue[4]=135.6164
|
||||||
|
BValue[5]=0.5
|
||||||
|
HValue[5]=146.0186
|
||||||
|
BValue[6]=0.6
|
||||||
|
HValue[6]=156.966
|
||||||
|
BValue[7]=0.7
|
||||||
|
HValue[7]=168.252
|
||||||
|
BValue[8]=0.8
|
||||||
|
HValue[8]=180.8315
|
||||||
|
BValue[9]=0.9
|
||||||
|
HValue[9]=195.0656
|
||||||
|
BValue[10]=1
|
||||||
|
HValue[10]=213.5262
|
||||||
|
BValue[11]=1.1
|
||||||
|
HValue[11]=237.706
|
||||||
|
BValue[12]=1.2
|
||||||
|
HValue[12]=277.5238
|
||||||
|
BValue[13]=1.3
|
||||||
|
HValue[13]=345.8256
|
||||||
|
BValue[14]=1.4
|
||||||
|
HValue[14]=514.7918
|
||||||
|
BValue[15]=1.5
|
||||||
|
HValue[15]=1046.9084
|
||||||
|
BValue[16]=1.6
|
||||||
|
HValue[16]=2414.3523
|
||||||
|
BValue[17]=1.7
|
||||||
|
HValue[17]=4944.6712
|
||||||
|
BValue[18]=1.8
|
||||||
|
HValue[18]=9210.2309
|
||||||
|
BValue[19]=1.9
|
||||||
|
HValue[19]=15812.3447
|
||||||
|
BValue[20]=2
|
||||||
|
HValue[20]=24353.3644
|
||||||
|
BValue[21]=2.1
|
||||||
|
HValue[21]=34708.362
|
||||||
|
BValue[22]=2.2
|
||||||
|
HValue[22]=46723.5557
|
||||||
|
BValue[23]=2.3
|
||||||
|
HValue[23]=60861.7778
|
||||||
|
Frequency[0]=50
|
||||||
|
LossDensity[0]=0.05
|
||||||
|
FluxDensity[0]=0.1
|
||||||
|
Frequency[1]=50
|
||||||
|
LossDensity[1]=0.18
|
||||||
|
FluxDensity[1]=0.2
|
||||||
|
Frequency[2]=50
|
||||||
|
LossDensity[2]=0.43
|
||||||
|
FluxDensity[2]=0.3
|
||||||
|
Frequency[3]=50
|
||||||
|
LossDensity[3]=0.7
|
||||||
|
FluxDensity[3]=0.4
|
||||||
|
Frequency[4]=50
|
||||||
|
LossDensity[4]=1.01
|
||||||
|
FluxDensity[4]=0.5
|
||||||
|
Frequency[5]=50
|
||||||
|
LossDensity[5]=1.35
|
||||||
|
FluxDensity[5]=0.6
|
||||||
|
Frequency[6]=50
|
||||||
|
LossDensity[6]=1.72
|
||||||
|
FluxDensity[6]=0.7
|
||||||
|
Frequency[7]=50
|
||||||
|
LossDensity[7]=2.13
|
||||||
|
FluxDensity[7]=0.8
|
||||||
|
Frequency[8]=50
|
||||||
|
LossDensity[8]=2.56
|
||||||
|
FluxDensity[8]=0.9
|
||||||
|
Frequency[9]=50
|
||||||
|
LossDensity[9]=3.05
|
||||||
|
FluxDensity[9]=1
|
||||||
|
Frequency[10]=50
|
||||||
|
LossDensity[10]=3.59
|
||||||
|
FluxDensity[10]=1.1
|
||||||
|
Frequency[11]=50
|
||||||
|
LossDensity[11]=4.2
|
||||||
|
FluxDensity[11]=1.2
|
||||||
|
Frequency[12]=50
|
||||||
|
LossDensity[12]=4.91
|
||||||
|
FluxDensity[12]=1.3
|
||||||
|
Frequency[13]=50
|
||||||
|
LossDensity[13]=5.7
|
||||||
|
FluxDensity[13]=1.4
|
||||||
|
Frequency[14]=50
|
||||||
|
LossDensity[14]=6.6
|
||||||
|
FluxDensity[14]=1.5
|
||||||
|
Frequency[15]=50
|
||||||
|
LossDensity[15]=7.54
|
||||||
|
FluxDensity[15]=1.6
|
||||||
|
Frequency[16]=50
|
||||||
|
LossDensity[16]=8.3
|
||||||
|
FluxDensity[16]=1.7
|
||||||
|
Frequency[17]=50
|
||||||
|
LossDensity[17]=8.83
|
||||||
|
FluxDensity[17]=1.8
|
||||||
|
KcValue=0.65
|
||||||
|
KhValue_Steinmetz=0.05318
|
||||||
|
KhValue_Bertotti=0.007231
|
||||||
|
KhValue_Bertotti_Maxwell=0.02074
|
||||||
|
KeddyValue_Steinmetz=1E-0005
|
||||||
|
KexcValue=0.007605
|
||||||
|
KexcValue_Maxwell=0.004306
|
||||||
|
alphaValue_Steinmetz=1.713
|
||||||
|
alphaValue_Bertotti=3.447
|
||||||
|
alphaValue_Bertotti_Maxwell=2
|
||||||
|
betavalue_Steinmetz=0
|
||||||
|
LaminationThickness=0.5
|
||||||
|
[M1000-65A]
|
||||||
|
Type=Fixed_Solid
|
||||||
|
Solid Type=Steel
|
||||||
|
Thermal Conductivity=30
|
||||||
|
Specific Heat=460
|
||||||
|
Density=7650
|
||||||
|
Notes=
|
||||||
|
ElectricalResistivity=1.8E-7
|
||||||
|
TempCoefElectricalResistivity=0
|
||||||
|
PoissonsRatio=0.3
|
||||||
|
YoungsCoefficient=210000
|
||||||
|
YieldStress=295
|
||||||
|
BValue[0]=0
|
||||||
|
HValue[0]=0
|
||||||
|
BValue[1]=0.1
|
||||||
|
HValue[1]=83.3
|
||||||
|
BValue[2]=0.2
|
||||||
|
HValue[2]=107
|
||||||
|
BValue[3]=0.3
|
||||||
|
HValue[3]=119
|
||||||
|
BValue[4]=0.4
|
||||||
|
HValue[4]=130
|
||||||
|
BValue[5]=0.5
|
||||||
|
HValue[5]=140
|
||||||
|
BValue[6]=0.6
|
||||||
|
HValue[6]=150
|
||||||
|
BValue[7]=0.7
|
||||||
|
HValue[7]=160
|
||||||
|
BValue[8]=0.8
|
||||||
|
HValue[8]=172
|
||||||
|
BValue[9]=0.9
|
||||||
|
HValue[9]=185
|
||||||
|
BValue[10]=1
|
||||||
|
HValue[10]=200
|
||||||
|
BValue[11]=1.1
|
||||||
|
HValue[11]=217
|
||||||
|
BValue[12]=1.2
|
||||||
|
HValue[12]=237
|
||||||
|
BValue[13]=1.3
|
||||||
|
HValue[13]=275
|
||||||
|
BValue[14]=1.4
|
||||||
|
HValue[14]=368
|
||||||
|
BValue[15]=1.5
|
||||||
|
HValue[15]=604
|
||||||
|
BValue[16]=1.6
|
||||||
|
HValue[16]=1360
|
||||||
|
BValue[17]=1.7
|
||||||
|
HValue[17]=3370
|
||||||
|
BValue[18]=1.8
|
||||||
|
HValue[18]=7010
|
||||||
|
BValue[19]=1.9
|
||||||
|
HValue[19]=16457.33
|
||||||
|
BValue[20]=2
|
||||||
|
HValue[20]=30342.8247
|
||||||
|
BValue[21]=2.1
|
||||||
|
HValue[21]=50000
|
||||||
|
BValue[22]=2.2
|
||||||
|
HValue[22]=75000
|
||||||
|
BValue[23]=2.3
|
||||||
|
HValue[23]=120000
|
||||||
|
Frequency[0]=50
|
||||||
|
LossDensity[0]=0.06
|
||||||
|
FluxDensity[0]=0.1
|
||||||
|
Frequency[1]=50
|
||||||
|
LossDensity[1]=0.24
|
||||||
|
FluxDensity[1]=0.2
|
||||||
|
Frequency[2]=50
|
||||||
|
LossDensity[2]=0.5
|
||||||
|
FluxDensity[2]=0.3
|
||||||
|
Frequency[3]=50
|
||||||
|
LossDensity[3]=0.81
|
||||||
|
FluxDensity[3]=0.4
|
||||||
|
Frequency[4]=50
|
||||||
|
LossDensity[4]=1.16
|
||||||
|
FluxDensity[4]=0.5
|
||||||
|
Frequency[5]=50
|
||||||
|
LossDensity[5]=1.56
|
||||||
|
FluxDensity[5]=0.6
|
||||||
|
Frequency[6]=50
|
||||||
|
LossDensity[6]=1.99
|
||||||
|
FluxDensity[6]=0.7
|
||||||
|
Frequency[7]=50
|
||||||
|
LossDensity[7]=2.47
|
||||||
|
FluxDensity[7]=0.8
|
||||||
|
Frequency[8]=50
|
||||||
|
LossDensity[8]=3.01
|
||||||
|
FluxDensity[8]=0.9
|
||||||
|
Frequency[9]=50
|
||||||
|
LossDensity[9]=3.6
|
||||||
|
FluxDensity[9]=1
|
||||||
|
Frequency[10]=50
|
||||||
|
LossDensity[10]=4.26
|
||||||
|
FluxDensity[10]=1.1
|
||||||
|
Frequency[11]=50
|
||||||
|
LossDensity[11]=4.99
|
||||||
|
FluxDensity[11]=1.2
|
||||||
|
Frequency[12]=50
|
||||||
|
LossDensity[12]=5.87
|
||||||
|
FluxDensity[12]=1.3
|
||||||
|
Frequency[13]=50
|
||||||
|
LossDensity[13]=6.82
|
||||||
|
FluxDensity[13]=1.4
|
||||||
|
Frequency[14]=50
|
||||||
|
LossDensity[14]=7.9
|
||||||
|
FluxDensity[14]=1.5
|
||||||
|
Frequency[15]=50
|
||||||
|
LossDensity[15]=9.05
|
||||||
|
FluxDensity[15]=1.6
|
||||||
|
Frequency[16]=50
|
||||||
|
LossDensity[16]=10
|
||||||
|
FluxDensity[16]=1.7
|
||||||
|
Frequency[17]=50
|
||||||
|
LossDensity[17]=10.8
|
||||||
|
FluxDensity[17]=1.8
|
||||||
|
KcValue=0.65
|
||||||
|
KhValue_Steinmetz=0.06257
|
||||||
|
KhValue_Bertotti=0.01137
|
||||||
|
KhValue_Bertotti_Maxwell=0.02027
|
||||||
|
KeddyValue_Steinmetz=1E-0005
|
||||||
|
KexcValue=0.008469
|
||||||
|
KexcValue_Maxwell=0.00403
|
||||||
|
alphaValue_Steinmetz=1.477
|
||||||
|
alphaValue_Bertotti=3.245
|
||||||
|
alphaValue_Bertotti_Maxwell=2
|
||||||
|
betavalue_Steinmetz=0.2514
|
||||||
|
LaminationThickness=0.65
|
50
Comparar_Resultados/PLACond.mdb
Normal file
50
Comparar_Resultados/PLACond.mdb
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[PLACond]
|
||||||
|
Type=Fixed_Solid
|
||||||
|
Solid Type=Steel
|
||||||
|
Thermal Conductivity=0
|
||||||
|
Specific Heat=0
|
||||||
|
Density=1850
|
||||||
|
Notes=
|
||||||
|
ElectricalResistivity=0.2
|
||||||
|
TempCoefElectricalResistivity=0
|
||||||
|
PoissonsRatio=0
|
||||||
|
YoungsCoefficient=0
|
||||||
|
YieldStress=0
|
||||||
|
BValue[0]=0
|
||||||
|
HValue[0]=0
|
||||||
|
BValue[1]=0.19221155048048413
|
||||||
|
HValue[1]=31.9
|
||||||
|
BValue[2]=0.1922278867622828
|
||||||
|
HValue[2]=44.9
|
||||||
|
BValue[3]=0.19225603543245898
|
||||||
|
HValue[3]=67.3
|
||||||
|
BValue[4]=0.19230466728673654
|
||||||
|
HValue[4]=106.0
|
||||||
|
BValue[5]=0.19237755223629982
|
||||||
|
HValue[5]=164.0
|
||||||
|
BValue[6]=0.19246677346766178
|
||||||
|
HValue[6]=235.0
|
||||||
|
BValue[7]=0.19271810087994895
|
||||||
|
HValue[7]=435.0
|
||||||
|
BValue[8]=0.19356507425935676
|
||||||
|
HValue[8]=1109.0
|
||||||
|
BValue[9]=0.19444974675060764
|
||||||
|
HValue[9]=1813.0
|
||||||
|
BValue[10]=0.19569256080436778
|
||||||
|
HValue[10]=2802.0
|
||||||
|
BValue[11]=0.19726587040528554
|
||||||
|
HValue[11]=4054.0
|
||||||
|
BValue[12]=0.19919857820577397
|
||||||
|
HValue[12]=5592.0
|
||||||
|
BValue[13]=0.2043746662618285
|
||||||
|
HValue[13]=9711.0
|
||||||
|
BValue[14]=0.2154192493947888
|
||||||
|
HValue[14]=18500.0
|
||||||
|
BValue[15]=0.24872013152284062
|
||||||
|
HValue[15]=45000.0
|
||||||
|
BValue[16]=0.30337253396175007
|
||||||
|
HValue[16]=88491.0
|
||||||
|
BValue[17]=0.3681006523592527
|
||||||
|
HValue[17]=140000.0
|
||||||
|
BValue[18]=0.44349887604540783
|
||||||
|
HValue[18]=200000.0
|
50
PLACond.mdb
Normal file
50
PLACond.mdb
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[PLACond]
|
||||||
|
Type=Fixed_Solid
|
||||||
|
Solid Type=Steel
|
||||||
|
Thermal Conductivity=0
|
||||||
|
Specific Heat=0
|
||||||
|
Density=1850
|
||||||
|
Notes=
|
||||||
|
ElectricalResistivity=0.2
|
||||||
|
TempCoefElectricalResistivity=0
|
||||||
|
PoissonsRatio=0
|
||||||
|
YoungsCoefficient=0
|
||||||
|
YieldStress=0
|
||||||
|
BValue[0]=0
|
||||||
|
HValue[0]=0
|
||||||
|
BValue[1]=4.008672225980576e-05
|
||||||
|
HValue[1]=31.9
|
||||||
|
BValue[2]=5.6423004058472686e-05
|
||||||
|
HValue[2]=44.9
|
||||||
|
BValue[3]=8.457167423463722e-05
|
||||||
|
HValue[3]=67.3
|
||||||
|
BValue[4]=0.00013320352851220723
|
||||||
|
HValue[4]=106.0
|
||||||
|
BValue[5]=0.00020608847807549043
|
||||||
|
HValue[5]=164.0
|
||||||
|
BValue[6]=0.00029530970943744054
|
||||||
|
HValue[6]=235.0
|
||||||
|
BValue[7]=0.000546637121724624
|
||||||
|
HValue[7]=435.0
|
||||||
|
BValue[8]=0.0013936105011324322
|
||||||
|
HValue[8]=1109.0
|
||||||
|
BValue[9]=0.002278282992383318
|
||||||
|
HValue[9]=1813.0
|
||||||
|
BValue[10]=0.00352109704614344
|
||||||
|
HValue[10]=2802.0
|
||||||
|
BValue[11]=0.0050944066470612085
|
||||||
|
HValue[11]=4054.0
|
||||||
|
BValue[12]=0.007027114447549649
|
||||||
|
HValue[12]=5592.0
|
||||||
|
BValue[13]=0.012203202503604193
|
||||||
|
HValue[13]=9711.0
|
||||||
|
BValue[14]=0.02324778563656447
|
||||||
|
HValue[14]=18500.0
|
||||||
|
BValue[15]=0.05654866776461628
|
||||||
|
HValue[15]=45000.0
|
||||||
|
BValue[16]=0.11120107020352575
|
||||||
|
HValue[16]=88491.0
|
||||||
|
BValue[17]=0.1759291886010284
|
||||||
|
HValue[17]=140000.0
|
||||||
|
BValue[18]=0.25132741228718347
|
||||||
|
HValue[18]=200000.0
|
@ -66,5 +66,6 @@ if __name__ == '__main__':
|
|||||||
flag, offset, delta = gc.logica_offset(offset, error, errorObjetivo)
|
flag, offset, delta = gc.logica_offset(offset, error, errorObjetivo)
|
||||||
|
|
||||||
log(f"La delta empleada para la siguiente iteración será {delta}")
|
log(f"La delta empleada para la siguiente iteración será {delta}")
|
||||||
|
log(f"El offset total es de {offset}")
|
||||||
|
|
||||||
iteration = iteration + 1
|
iteration = iteration + 1
|
@ -54,7 +54,9 @@ def logica_offset(offset, error, errorObjetivo):
|
|||||||
limSup = 1 + errorObjetivo
|
limSup = 1 + errorObjetivo
|
||||||
limInf = 1 - errorObjetivo
|
limInf = 1 - errorObjetivo
|
||||||
|
|
||||||
if error <= limSup and error >= limInf: return True, None, None
|
if error <= limSup and error >= limInf:
|
||||||
|
generar_curva(offset, 'Comparar_Resultados/PLACond.mdb')
|
||||||
|
return True, None, None
|
||||||
|
|
||||||
tasa_aprendizaje = 1
|
tasa_aprendizaje = 1
|
||||||
|
|
||||||
|
2
graficar.py
Normal file
2
graficar.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
import numpy as np
|
||||||
|
import matplotlib.pyplot as plt
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
Material BH characteristics 02/04/2025 11:27:13 11:27:13
|
Material BH characteristics 02/04/2025 12:09:05 12:09:05
|
||||||
Code:1 (Stator) Material: M800-50A
|
Code:1 (Stator) Material: M800-50A
|
||||||
24
|
24
|
||||||
1 0 0
|
1 0 0
|
||||||
@ -28,24 +28,24 @@ Code:1 (Stator) Material: M800-50A
|
|||||||
Code:2 (Rotor) Material: PLACond
|
Code:2 (Rotor) Material: PLACond
|
||||||
19
|
19
|
||||||
1 0 0
|
1 0 0
|
||||||
2 31.9 0.09032493858
|
2 31.9 0.1922115505
|
||||||
3 44.9 0.09034127486
|
3 44.9 0.1922278868
|
||||||
4 67.3 0.09036942353
|
4 67.3 0.1922560354
|
||||||
5 106 0.09041805539
|
5 106 0.1923046673
|
||||||
6 164 0.09049094034
|
6 164 0.1923775522
|
||||||
7 235 0.09058016157
|
7 235 0.1924667735
|
||||||
8 435 0.09083148898
|
8 435 0.1927181009
|
||||||
9 1109 0.09167846236
|
9 1109 0.1935650743
|
||||||
10 1813 0.09256313485
|
10 1813 0.1944497468
|
||||||
11 2802 0.0938059489
|
11 2802 0.1956925608
|
||||||
12 4054 0.0953792585
|
12 4054 0.1972658704
|
||||||
13 5592 0.09731196631
|
13 5592 0.1991985782
|
||||||
14 9711 0.1024880544
|
14 9711 0.2043746663
|
||||||
15 18500 0.1135326375
|
15 18500 0.2154192494
|
||||||
16 45000 0.1468335196
|
16 45000 0.2487201315
|
||||||
17 88491 0.2014859221
|
17 88491 0.303372534
|
||||||
18 140000 0.2662140405
|
18 140000 0.3681006524
|
||||||
19 200000 0.3416122641
|
19 200000 0.443498876
|
||||||
Code:3 (Shaft) No BH:
|
Code:3 (Shaft) No BH:
|
||||||
2
|
2
|
||||||
1 0 0
|
1 0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user