From 7c14e88a2aaf3387c1482a82351860d5a09a6260 Mon Sep 17 00:00:00 2001 From: Oscar Suescun Elizalde Date: Mon, 31 Mar 2025 11:10:26 +0200 Subject: [PATCH] correccion main --- __pycache__/genCurvas.cpython-313.pyc | Bin 3681 -> 3681 bytes __pycache__/motorcad.cpython-313.pyc | Bin 3074 -> 3074 bytes fluxcontrol.py | 5 +++++ 3 files changed, 5 insertions(+) diff --git a/__pycache__/genCurvas.cpython-313.pyc b/__pycache__/genCurvas.cpython-313.pyc index d1b9ebbe0ca00d1657937cf3cc1de5832d180246..53b0438a64fc4875f51b026730b62c30ebe3d8b9 100644 GIT binary patch delta 28 icmaDT^H7HOGcPX}0}z~udX=uekyn_H(P*+Fp927Xu?Nin delta 28 icmaDT^H7HOGcPX}0}zOLyh_*J$ScgpXf|1q&jA2)hX)Y= diff --git a/__pycache__/motorcad.cpython-313.pyc b/__pycache__/motorcad.cpython-313.pyc index 9ede6717a98f8d92e637cf3a7af2d8a83aa5b53f..7edade84599b9c9502a98372ea20766a97b1d4ba 100644 GIT binary patch delta 19 ZcmZpYXp-Ri%*)Hg00bwaHgf&o1^_T~1vdZy delta 19 ZcmZpYXp-Ri%*)Hg00d$l8@YaP0{|=M1abfX diff --git a/fluxcontrol.py b/fluxcontrol.py index 0de44e6..7555112 100644 --- a/fluxcontrol.py +++ b/fluxcontrol.py @@ -12,6 +12,8 @@ if __name__ == '__main__': material = "PLACond" E_obj, I_obj, f_obj = gc.valores_objetivo(archivoEnsayos, material) + + print(E_obj) offset = 0 @@ -29,6 +31,9 @@ if __name__ == '__main__': for i in np.arange(len(E_obj)): error = [] + + corriente = I_obj[i] + frecuencia = f_obj[i] tension = mc.simularMCAD(corriente, frecuencia, material, iteration)