diff --git a/Comparar_Resultados/PLACond.mdb b/Comparar_Resultados/PLACond.mdb index 81ff9fb..a8cf88f 100644 --- a/Comparar_Resultados/PLACond.mdb +++ b/Comparar_Resultados/PLACond.mdb @@ -12,39 +12,39 @@ YoungsCoefficient=0 YieldStress=0 BValue[0]=0 HValue[0]=0 -BValue[1]=0.19221155048048413 +BValue[1]=0.19829049357791068 HValue[1]=31.9 -BValue[2]=0.1922278867622828 +BValue[2]=0.19830682985970935 HValue[2]=44.9 -BValue[3]=0.19225603543245898 +BValue[3]=0.19833497852988552 HValue[3]=67.3 -BValue[4]=0.19230466728673654 +BValue[4]=0.19838361038416308 HValue[4]=106.0 -BValue[5]=0.19237755223629982 +BValue[5]=0.19845649533372636 HValue[5]=164.0 -BValue[6]=0.19246677346766178 +BValue[6]=0.19854571656508832 HValue[6]=235.0 -BValue[7]=0.19271810087994895 +BValue[7]=0.1987970439773755 HValue[7]=435.0 -BValue[8]=0.19356507425935676 +BValue[8]=0.1996440173567833 HValue[8]=1109.0 -BValue[9]=0.19444974675060764 +BValue[9]=0.20052868984803418 HValue[9]=1813.0 -BValue[10]=0.19569256080436778 +BValue[10]=0.20177150390179432 HValue[10]=2802.0 -BValue[11]=0.19726587040528554 +BValue[11]=0.20334481350271208 HValue[11]=4054.0 -BValue[12]=0.19919857820577397 +BValue[12]=0.2052775213032005 HValue[12]=5592.0 -BValue[13]=0.2043746662618285 +BValue[13]=0.21045360935925506 HValue[13]=9711.0 -BValue[14]=0.2154192493947888 +BValue[14]=0.22149819249221533 HValue[14]=18500.0 -BValue[15]=0.24872013152284062 +BValue[15]=0.25479907462026713 HValue[15]=45000.0 -BValue[16]=0.30337253396175007 +BValue[16]=0.30945147705917664 HValue[16]=88491.0 -BValue[17]=0.3681006523592527 +BValue[17]=0.3741795954566793 HValue[17]=140000.0 -BValue[18]=0.44349887604540783 +BValue[18]=0.44957781914283435 HValue[18]=200000.0 diff --git a/PLACond.mdb b/PLACond.mdb index 87b1422..a8cf88f 100644 --- a/PLACond.mdb +++ b/PLACond.mdb @@ -12,39 +12,39 @@ YoungsCoefficient=0 YieldStress=0 BValue[0]=0 HValue[0]=0 -BValue[1]=4.008672225980576e-05 +BValue[1]=0.19829049357791068 HValue[1]=31.9 -BValue[2]=5.6423004058472686e-05 +BValue[2]=0.19830682985970935 HValue[2]=44.9 -BValue[3]=8.457167423463722e-05 +BValue[3]=0.19833497852988552 HValue[3]=67.3 -BValue[4]=0.00013320352851220723 +BValue[4]=0.19838361038416308 HValue[4]=106.0 -BValue[5]=0.00020608847807549043 +BValue[5]=0.19845649533372636 HValue[5]=164.0 -BValue[6]=0.00029530970943744054 +BValue[6]=0.19854571656508832 HValue[6]=235.0 -BValue[7]=0.000546637121724624 +BValue[7]=0.1987970439773755 HValue[7]=435.0 -BValue[8]=0.0013936105011324322 +BValue[8]=0.1996440173567833 HValue[8]=1109.0 -BValue[9]=0.002278282992383318 +BValue[9]=0.20052868984803418 HValue[9]=1813.0 -BValue[10]=0.00352109704614344 +BValue[10]=0.20177150390179432 HValue[10]=2802.0 -BValue[11]=0.0050944066470612085 +BValue[11]=0.20334481350271208 HValue[11]=4054.0 -BValue[12]=0.007027114447549649 +BValue[12]=0.2052775213032005 HValue[12]=5592.0 -BValue[13]=0.012203202503604193 +BValue[13]=0.21045360935925506 HValue[13]=9711.0 -BValue[14]=0.02324778563656447 +BValue[14]=0.22149819249221533 HValue[14]=18500.0 -BValue[15]=0.05654866776461628 +BValue[15]=0.25479907462026713 HValue[15]=45000.0 -BValue[16]=0.11120107020352575 +BValue[16]=0.30945147705917664 HValue[16]=88491.0 -BValue[17]=0.1759291886010284 +BValue[17]=0.3741795954566793 HValue[17]=140000.0 -BValue[18]=0.25132741228718347 +BValue[18]=0.44957781914283435 HValue[18]=200000.0 diff --git a/fluxcontrol.py b/fluxcontrol.py index d11e9c6..956b69a 100644 --- a/fluxcontrol.py +++ b/fluxcontrol.py @@ -24,7 +24,7 @@ if __name__ == '__main__': offset = 0 - errorObjetivo = 0.01 + errorObjetivo = 0.001 flag = False iteration = 0 diff --git a/graficar.py b/graficar.py index feb861a..6995261 100644 --- a/graficar.py +++ b/graficar.py @@ -3,8 +3,6 @@ import matplotlib.pyplot as plt import json - - rutaPLA = 'Comparar_Resultados/PLAcond.mdb' rutaMetal = 'Comparar_Resultados/M800-50A.mdb' @@ -29,8 +27,6 @@ with open(rutaMetal, 'r') as f: if linea.startswith("BValue["): bM800.append(float(linea.split("=")[1])) if linea.startswith("HValue["): hM800.append(float(linea.split("=")[1])) -print(bM800) - plt.figure() plt.plot(hPLA, bPLA, label = 'PLA') plt.plot(hPLAcond, bPLAcond, label = 'PLACond') diff --git a/motores/PLACond/FEResultsData/StaticLoad_result_1.mes b/motores/PLACond/FEResultsData/StaticLoad_result_1.mes index f829c43..cdc100f 100644 Binary files a/motores/PLACond/FEResultsData/StaticLoad_result_1.mes and b/motores/PLACond/FEResultsData/StaticLoad_result_1.mes differ diff --git a/motores/PLACond/FEResultsData/StaticOC_result_1.mes b/motores/PLACond/FEResultsData/StaticOC_result_1.mes index a867c46..adff5ce 100644 Binary files a/motores/PLACond/FEResultsData/StaticOC_result_1.mes and b/motores/PLACond/FEResultsData/StaticOC_result_1.mes differ diff --git a/motores/PLACond/FEResultsData/Steel_Material_BH_Magnetic_Properties_Autofile.bh b/motores/PLACond/FEResultsData/Steel_Material_BH_Magnetic_Properties_Autofile.bh index 52fce16..d07cc60 100644 --- a/motores/PLACond/FEResultsData/Steel_Material_BH_Magnetic_Properties_Autofile.bh +++ b/motores/PLACond/FEResultsData/Steel_Material_BH_Magnetic_Properties_Autofile.bh @@ -1,4 +1,4 @@ -Material BH characteristics 02/04/2025 12:09:05 12:09:05 +Material BH characteristics 02/04/2025 13:25:49 13:25:49 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.1922115505 -3 44.9 0.1922278868 -4 67.3 0.1922560354 -5 106 0.1923046673 -6 164 0.1923775522 -7 235 0.1924667735 -8 435 0.1927181009 -9 1109 0.1935650743 -10 1813 0.1944497468 -11 2802 0.1956925608 -12 4054 0.1972658704 -13 5592 0.1991985782 -14 9711 0.2043746663 -15 18500 0.2154192494 -16 45000 0.2487201315 -17 88491 0.303372534 -18 140000 0.3681006524 -19 200000 0.443498876 +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 Code:3 (Shaft) No BH: 2 1 0 0