cambios menores
This commit is contained in:
parent
cbe4db8db8
commit
bc813743af
@ -5,46 +5,46 @@ Thermal Conductivity=0
|
||||
Specific Heat=0
|
||||
Density=1850
|
||||
Notes=
|
||||
ElectricalResistivity=0.2
|
||||
ElectricalResistivity=10000000
|
||||
TempCoefElectricalResistivity=0
|
||||
PoissonsRatio=0
|
||||
YoungsCoefficient=0
|
||||
YieldStress=0
|
||||
BValue[0]=0
|
||||
HValue[0]=0
|
||||
BValue[1]=0.19829049357791068
|
||||
BValue[1]=0.1922115501770302
|
||||
HValue[1]=31.9
|
||||
BValue[2]=0.19830682985970935
|
||||
BValue[2]=0.19222788645882888
|
||||
HValue[2]=44.9
|
||||
BValue[3]=0.19833497852988552
|
||||
BValue[3]=0.19225603512900505
|
||||
HValue[3]=67.3
|
||||
BValue[4]=0.19838361038416308
|
||||
BValue[4]=0.1923046669832826
|
||||
HValue[4]=106.0
|
||||
BValue[5]=0.19845649533372636
|
||||
BValue[5]=0.1923775519328459
|
||||
HValue[5]=164.0
|
||||
BValue[6]=0.19854571656508832
|
||||
BValue[6]=0.19246677316420785
|
||||
HValue[6]=235.0
|
||||
BValue[7]=0.1987970439773755
|
||||
BValue[7]=0.19271810057649502
|
||||
HValue[7]=435.0
|
||||
BValue[8]=0.1996440173567833
|
||||
BValue[8]=0.19356507395590283
|
||||
HValue[8]=1109.0
|
||||
BValue[9]=0.20052868984803418
|
||||
BValue[9]=0.1944497464471537
|
||||
HValue[9]=1813.0
|
||||
BValue[10]=0.20177150390179432
|
||||
BValue[10]=0.19569256050091385
|
||||
HValue[10]=2802.0
|
||||
BValue[11]=0.20334481350271208
|
||||
BValue[11]=0.1972658701018316
|
||||
HValue[11]=4054.0
|
||||
BValue[12]=0.2052775213032005
|
||||
BValue[12]=0.19919857790232004
|
||||
HValue[12]=5592.0
|
||||
BValue[13]=0.21045360935925506
|
||||
BValue[13]=0.20437466595837459
|
||||
HValue[13]=9711.0
|
||||
BValue[14]=0.22149819249221533
|
||||
BValue[14]=0.21541924909133486
|
||||
HValue[14]=18500.0
|
||||
BValue[15]=0.25479907462026713
|
||||
BValue[15]=0.2487201312193867
|
||||
HValue[15]=45000.0
|
||||
BValue[16]=0.30945147705917664
|
||||
BValue[16]=0.30337253365829614
|
||||
HValue[16]=88491.0
|
||||
BValue[17]=0.3741795954566793
|
||||
BValue[17]=0.3681006520557988
|
||||
HValue[17]=140000.0
|
||||
BValue[18]=0.44957781914283435
|
||||
BValue[18]=0.4434988757419539
|
||||
HValue[18]=200000.0
|
||||
|
50
Comparar_Resultados/PLACond_def.mdb
Normal file
50
Comparar_Resultados/PLACond_def.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.19829049357791068
|
||||
HValue[1]=31.9
|
||||
BValue[2]=0.19830682985970935
|
||||
HValue[2]=44.9
|
||||
BValue[3]=0.19833497852988552
|
||||
HValue[3]=67.3
|
||||
BValue[4]=0.19838361038416308
|
||||
HValue[4]=106.0
|
||||
BValue[5]=0.19845649533372636
|
||||
HValue[5]=164.0
|
||||
BValue[6]=0.19854571656508832
|
||||
HValue[6]=235.0
|
||||
BValue[7]=0.1987970439773755
|
||||
HValue[7]=435.0
|
||||
BValue[8]=0.1996440173567833
|
||||
HValue[8]=1109.0
|
||||
BValue[9]=0.20052868984803418
|
||||
HValue[9]=1813.0
|
||||
BValue[10]=0.20177150390179432
|
||||
HValue[10]=2802.0
|
||||
BValue[11]=0.20334481350271208
|
||||
HValue[11]=4054.0
|
||||
BValue[12]=0.2052775213032005
|
||||
HValue[12]=5592.0
|
||||
BValue[13]=0.21045360935925506
|
||||
HValue[13]=9711.0
|
||||
BValue[14]=0.22149819249221533
|
||||
HValue[14]=18500.0
|
||||
BValue[15]=0.25479907462026713
|
||||
HValue[15]=45000.0
|
||||
BValue[16]=0.30945147705917664
|
||||
HValue[16]=88491.0
|
||||
BValue[17]=0.3741795954566793
|
||||
HValue[17]=140000.0
|
||||
BValue[18]=0.44957781914283435
|
||||
HValue[18]=200000.0
|
38
PLACond.mdb
38
PLACond.mdb
@ -5,46 +5,46 @@ Thermal Conductivity=0
|
||||
Specific Heat=0
|
||||
Density=1850
|
||||
Notes=
|
||||
ElectricalResistivity=0.2
|
||||
ElectricalResistivity=10000000
|
||||
TempCoefElectricalResistivity=0
|
||||
PoissonsRatio=0
|
||||
YoungsCoefficient=0
|
||||
YieldStress=0
|
||||
BValue[0]=0
|
||||
HValue[0]=0
|
||||
BValue[1]=0.19829049357791068
|
||||
BValue[1]=0.1922115501770302
|
||||
HValue[1]=31.9
|
||||
BValue[2]=0.19830682985970935
|
||||
BValue[2]=0.19222788645882888
|
||||
HValue[2]=44.9
|
||||
BValue[3]=0.19833497852988552
|
||||
BValue[3]=0.19225603512900505
|
||||
HValue[3]=67.3
|
||||
BValue[4]=0.19838361038416308
|
||||
BValue[4]=0.1923046669832826
|
||||
HValue[4]=106.0
|
||||
BValue[5]=0.19845649533372636
|
||||
BValue[5]=0.1923775519328459
|
||||
HValue[5]=164.0
|
||||
BValue[6]=0.19854571656508832
|
||||
BValue[6]=0.19246677316420785
|
||||
HValue[6]=235.0
|
||||
BValue[7]=0.1987970439773755
|
||||
BValue[7]=0.19271810057649502
|
||||
HValue[7]=435.0
|
||||
BValue[8]=0.1996440173567833
|
||||
BValue[8]=0.19356507395590283
|
||||
HValue[8]=1109.0
|
||||
BValue[9]=0.20052868984803418
|
||||
BValue[9]=0.1944497464471537
|
||||
HValue[9]=1813.0
|
||||
BValue[10]=0.20177150390179432
|
||||
BValue[10]=0.19569256050091385
|
||||
HValue[10]=2802.0
|
||||
BValue[11]=0.20334481350271208
|
||||
BValue[11]=0.1972658701018316
|
||||
HValue[11]=4054.0
|
||||
BValue[12]=0.2052775213032005
|
||||
BValue[12]=0.19919857790232004
|
||||
HValue[12]=5592.0
|
||||
BValue[13]=0.21045360935925506
|
||||
BValue[13]=0.20437466595837459
|
||||
HValue[13]=9711.0
|
||||
BValue[14]=0.22149819249221533
|
||||
BValue[14]=0.21541924909133486
|
||||
HValue[14]=18500.0
|
||||
BValue[15]=0.25479907462026713
|
||||
BValue[15]=0.2487201312193867
|
||||
HValue[15]=45000.0
|
||||
BValue[16]=0.30945147705917664
|
||||
BValue[16]=0.30337253365829614
|
||||
HValue[16]=88491.0
|
||||
BValue[17]=0.3741795954566793
|
||||
BValue[17]=0.3681006520557988
|
||||
HValue[17]=140000.0
|
||||
BValue[18]=0.44957781914283435
|
||||
BValue[18]=0.4434988757419539
|
||||
HValue[18]=200000.0
|
||||
|
@ -24,7 +24,7 @@ if __name__ == '__main__':
|
||||
|
||||
offset = 0
|
||||
|
||||
errorObjetivo = 0.001
|
||||
errorObjetivo = 0.01
|
||||
|
||||
flag = False
|
||||
iteration = 0
|
||||
@ -64,8 +64,11 @@ if __name__ == '__main__':
|
||||
log(f"- Error = {error}")
|
||||
|
||||
flag, offset, delta = gc.logica_offset(offset, error, errorObjetivo)
|
||||
|
||||
log(f"La delta empleada para la siguiente iteración será {delta}")
|
||||
log(f"El offset total es de {offset}")
|
||||
|
||||
if flag:
|
||||
log(f'Offset final es de {offset}')
|
||||
else:
|
||||
log(f"La delta empleada para la siguiente iteración será {delta}")
|
||||
log(f"El offset total es de {offset}")
|
||||
|
||||
iteration = iteration + 1
|
@ -26,7 +26,7 @@ def generar_curva(offset, ruta):
|
||||
f.write('Specific Heat=0\n')
|
||||
f.write('Density=1850\n')
|
||||
f.write('Notes=\n')
|
||||
f.write('ElectricalResistivity=0.2\n')
|
||||
f.write('ElectricalResistivity=10000000\n')
|
||||
f.write('TempCoefElectricalResistivity=0\n')
|
||||
f.write('PoissonsRatio=0\n')
|
||||
f.write('YoungsCoefficient=0\n')
|
||||
@ -56,7 +56,7 @@ def logica_offset(offset, error, errorObjetivo):
|
||||
|
||||
if error <= limSup and error >= limInf:
|
||||
generar_curva(offset, 'Comparar_Resultados/PLACond.mdb')
|
||||
return True, None, None
|
||||
return True, offset, None
|
||||
|
||||
tasa_aprendizaje = 1
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
Material BH characteristics 02/04/2025 13:25:49 13:25:49
|
||||
Material BH characteristics 02/04/2025 15:19:21 15:19:21
|
||||
Code:1 (Stator) Material: M800-50A
|
||||
24
|
||||
1 0 0
|
||||
@ -28,24 +28,24 @@ Code:1 (Stator) Material: M800-50A
|
||||
Code:2 (Rotor) Material: PLACond
|
||||
19
|
||||
1 0 0
|
||||
2 31.9 0.1982904936
|
||||
3 44.9 0.1983068299
|
||||
4 67.3 0.1983349785
|
||||
5 106 0.1983836104
|
||||
6 164 0.1984564953
|
||||
7 235 0.1985457166
|
||||
8 435 0.198797044
|
||||
9 1109 0.1996440174
|
||||
10 1813 0.2005286898
|
||||
11 2802 0.2017715039
|
||||
12 4054 0.2033448135
|
||||
13 5592 0.2052775213
|
||||
14 9711 0.2104536094
|
||||
15 18500 0.2214981925
|
||||
16 45000 0.2547990746
|
||||
17 88491 0.3094514771
|
||||
18 140000 0.3741795955
|
||||
19 200000 0.4495778191
|
||||
2 31.9 0.1922115502
|
||||
3 44.9 0.1922278865
|
||||
4 67.3 0.1922560351
|
||||
5 106 0.192304667
|
||||
6 164 0.1923775519
|
||||
7 235 0.1924667732
|
||||
8 435 0.1927181006
|
||||
9 1109 0.193565074
|
||||
10 1813 0.1944497464
|
||||
11 2802 0.1956925605
|
||||
12 4054 0.1972658701
|
||||
13 5592 0.1991985779
|
||||
14 9711 0.204374666
|
||||
15 18500 0.2154192491
|
||||
16 45000 0.2487201312
|
||||
17 88491 0.3033725337
|
||||
18 140000 0.3681006521
|
||||
19 200000 0.4434988757
|
||||
Code:3 (Shaft) No BH:
|
||||
2
|
||||
1 0 0
|
||||
|
Loading…
Reference in New Issue
Block a user