diff --git a/fluxcontrol.py b/fluxcontrol.py index d75c535..dbbae92 100644 --- a/fluxcontrol.py +++ b/fluxcontrol.py @@ -12,6 +12,7 @@ def log(msg): if __name__ == '__main__': + os.system('cls') archivoEnsayos = "Ensayos.xlsx" archivoCurvas = "PLACond.mdb" material = "PLACond" @@ -55,8 +56,6 @@ if __name__ == '__main__': error = vTension/E_obj - print(error) - error = np.mean(error) log(f"El resultado de la iteraciĆ³n {iteration} es:") diff --git a/genCurvas.py b/genCurvas.py index 7b41543..eaa096a 100644 --- a/genCurvas.py +++ b/genCurvas.py @@ -56,7 +56,7 @@ def logica_offset(offset, error, errorObjetivo): if error <= limSup and error >= limInf: return True, None - tasa_aprendizaje = 0.001 + tasa_aprendizaje = 0.1 desviacion = error - 1 delta = abs(tasa_aprendizaje * np.tanh(desviacion)) diff --git a/motores/PLACond/FEResultsData/StaticLoad_result_1.mes b/motores/PLACond/FEResultsData/StaticLoad_result_1.mes index 732e9f0..16c89a5 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 8128d56..d702738 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 bad7ee8..28effdb 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 11:02:32 11:02:32 +Material BH characteristics 02/04/2025 11:14:06 11:14:06 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 4.008672226E-05 -3 44.9 5.642300406E-05 -4 67.3 8.457167423E-05 -5 106 0.0001332035285 -6 164 0.0002060884781 -7 235 0.0002953097094 -8 435 0.0005466371217 -9 1109 0.001393610501 -10 1813 0.002278282992 -11 2802 0.003521097046 -12 4054 0.005094406647 -13 5592 0.007027114448 -14 9711 0.0122032025 -15 18500 0.02324778564 -16 45000 0.05654866776 -17 88491 0.1112010702 -18 140000 0.1759291886 -19 200000 0.2513274123 +2 31.9 0.031788482 +3 44.9 0.03180481828 +4 67.3 0.03183296695 +5 106 0.0318815988 +6 164 0.03195448375 +7 235 0.03204370498 +8 435 0.0322950324 +9 1109 0.03314200578 +10 1813 0.03402667827 +11 2802 0.03526949232 +12 4054 0.03684280192 +13 5592 0.03877550972 +14 9711 0.04395159778 +15 18500 0.05499618091 +16 45000 0.08829706304 +17 88491 0.1429494655 +18 140000 0.2076775839 +19 200000 0.2830758076 Code:3 (Shaft) No BH: 2 1 0 0