Oscar arregla esto bobo
This commit is contained in:
parent
056ae9077c
commit
0536ee6550
BIN
Ensayos.xlsx
BIN
Ensayos.xlsx
Binary file not shown.
@ -59,8 +59,9 @@ if __name__ == '__main__':
|
|||||||
log(f"- E_calculada = {vTension}")
|
log(f"- E_calculada = {vTension}")
|
||||||
log(f"- E_obj = {E_obj}")
|
log(f"- E_obj = {E_obj}")
|
||||||
log(f"- Error = {error}")
|
log(f"- Error = {error}")
|
||||||
log("-----------------------")
|
|
||||||
|
|
||||||
flag, offset = 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}")
|
||||||
|
|
||||||
iteration = iteration + 1
|
iteration = iteration + 1
|
@ -61,12 +61,10 @@ def logica_offset(offset, error, errorObjetivo):
|
|||||||
desviacion = error - 1
|
desviacion = error - 1
|
||||||
delta = abs(tasa_aprendizaje * np.tanh(desviacion))
|
delta = abs(tasa_aprendizaje * np.tanh(desviacion))
|
||||||
|
|
||||||
print(delta)
|
|
||||||
|
|
||||||
if error >= limSup: offset -= delta
|
if error >= limSup: offset -= delta
|
||||||
if error <= limInf: offset += delta
|
if error <= limInf: offset += delta
|
||||||
|
|
||||||
return False, offset
|
return False, offset, delta
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ Program_Version=2024.1.3.1
|
|||||||
Licence_Name_Line1=1055@lic-server19.unav.es
|
Licence_Name_Line1=1055@lic-server19.unav.es
|
||||||
User=promerogomb
|
User=promerogomb
|
||||||
Licence_System=Ansys
|
Licence_System=Ansys
|
||||||
File_Date=31/03/2025 12:47:28
|
File_Date=01/04/2025 17:36:42
|
||||||
Partial_file=False
|
Partial_file=False
|
||||||
Main_Title=Default Motor
|
Main_Title=Default Motor
|
||||||
Title=Default Motor
|
Title=Default Motor
|
||||||
@ -21,6 +21,7 @@ Previous_Version[6]=promerogomb 1055@lic-server19.unav.es 2023.1.2.1 08/11/2023
|
|||||||
Previous_Version[7]=promerogomb 1055@lic-server19.unav.es 2023.1.2.1 21/11/2023 15:51:09
|
Previous_Version[7]=promerogomb 1055@lic-server19.unav.es 2023.1.2.1 21/11/2023 15:51:09
|
||||||
Previous_Version[8]=promerogomb 1055@lic-server19.unav.es 2024.1.3.1 27/03/2025 13:46:56
|
Previous_Version[8]=promerogomb 1055@lic-server19.unav.es 2024.1.3.1 27/03/2025 13:46:56
|
||||||
Previous_Version[9]=promerogomb 1055@lic-server19.unav.es 2024.1.3.1 28/03/2025 14:42:36
|
Previous_Version[9]=promerogomb 1055@lic-server19.unav.es 2024.1.3.1 28/03/2025 14:42:36
|
||||||
|
Previous_Version[10]=promerogomb 1055@lic-server19.unav.es 2024.1.3.1 31/03/2025 12:47:28
|
||||||
|
|
||||||
[File_Notes]
|
[File_Notes]
|
||||||
DataFile_Notes=Input user notes to be stored in datafile here
|
DataFile_Notes=Input user notes to be stored in datafile here
|
||||||
@ -760,7 +761,7 @@ Steady_State_Convergence=dT_Percent
|
|||||||
[Design_Options]
|
[Design_Options]
|
||||||
Sync_Rotor=Sync_Salient_Pole
|
Sync_Rotor=Sync_Salient_Pole
|
||||||
HousingType=1
|
HousingType=1
|
||||||
BPMRotor=0
|
BPMRotor=15
|
||||||
Winding_Separator_Type=0
|
Winding_Separator_Type=0
|
||||||
Top_Bar_Type=2
|
Top_Bar_Type=2
|
||||||
Bottom_Bar_Type=0
|
Bottom_Bar_Type=0
|
||||||
@ -795,7 +796,7 @@ Rotor_VSimple_MagnetDrawing_Option=1
|
|||||||
DuctValidityCheckMethod=0
|
DuctValidityCheckMethod=0
|
||||||
BPMOR_Rotor_Type=0
|
BPMOR_Rotor_Type=0
|
||||||
Housing_Type=Square_H
|
Housing_Type=Square_H
|
||||||
BPM_Rotor=Surface_Radial
|
BPM_Rotor=Surface_Flat
|
||||||
Feedback_Type=Not_Fitted
|
Feedback_Type=Not_Fitted
|
||||||
|
|
||||||
[Winding_Design]
|
[Winding_Design]
|
||||||
@ -1653,26 +1654,26 @@ Calc/Input_h[fc]_Encoder_Case_-_Radial=Calc_h_conv
|
|||||||
Calc/Input_h[fc]_Encoder_Case_-_Axial=Calc_h_conv
|
Calc/Input_h[fc]_Encoder_Case_-_Axial=Calc_h_conv
|
||||||
|
|
||||||
[Calc_Data_Keys]
|
[Calc_Data_Keys]
|
||||||
[1]=5C5F53510F44405757575D0B005E0C06140B111C190904004173011F05451901174E0F07555C401E5D581E4017154A57580B0B1A045A01434746595B4B5501454754575D4B020E525B425C59555C0C0F00025A065E445F5E525D53
|
[1]=5C5F535100444257565659050D5E0C06140B111C190904004173011F05451901174E0F07555C401E5D581E4017154A57580B0B1A045A01434746595B4B5501454754575D4B020E525B425C59555C0C0F000D5A045E455E5A5C5053
|
||||||
[2]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185B414B55574401095A5D5257595F5C0D02070740065A4251465F5757015C4D5D53
|
[2]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185B414B55574401095A5D5257595F5C0D02070740065A425E465D57560058435053
|
||||||
[3]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185B414B55574401095A5D5257535F5A0D02050440065A4251465F5757015C4D5D53
|
[3]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185B414B55574401095A5D5257535F5A0D02050440065A425E465D57560058435053
|
||||||
[4]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185B404B55574401095A5D5257595F5A0B02050440065A4251465F5757015C4D5D53
|
[4]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185B404B55574401095A5D5257595F5A0B02050440065A425E465D57560058435053
|
||||||
[5]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A541858454B55574401095A5D5257535F5A0902040240065A4251465F5757015C4D5D53
|
[5]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A541858454B55574401095A5D5257535F5A0902040240065A425E465D57560058435053
|
||||||
[6]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185A4D4B545F4401095A5D5257535F5D0002060540065A4251465F5757015C4D5D53
|
[6]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A54185A4D4B545F4401095A5D5257535F5D0002060540065A425E465D57560058435053
|
||||||
[7]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A541858444B545F4401095A5D52575F5F5D0802040C40065A4251465F5757015C4D5D53
|
[7]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B140744015E585746584A541858444B545F4401095A5D52575F5F5D0802040C40065A425E465D57560058435053
|
||||||
[8]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B1407440159585746594A541858424B555D4401095A5B5257595F5C0F02010340065A4251465F5757015C4D5D53
|
[8]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B1407440159585746594A541858424B555D4401095A5B5257595F5C0F02010340065A425E465D57560058435053
|
||||||
[9]=5C5F53510F44405757575D0B005E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B1407440159585746594A5418584D4B555D4401095A5B52575E5F5C0B02070340065A4251465F5757015C4D5D53
|
[9]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B1407440159585746594A5418584D4B555D4401095A5B52575E5F5C0B02070340065A425E465D57560058435053
|
||||||
[10]=5C5F53510F44405757575D0B005E2A020428311D5675405D3A5121272E2C1B341452280C3C2A2008607719383923242B196B5D71782554253A00212335150C5F425052405E000B51584A5F5C
|
[10]=5C5F535100444257565659050D5E1E000907001A565F5B5816135C46535D2A080C5B47060117180E4108514007080B13465C4B1407440159585746594A541859444B555D4401095A5B5257585F5C0E02060D40065A425E465D57560058435053
|
||||||
[11]=5C5F53510F44405757575D0B005E383E350602206F6A5171027C20113C1D3A0E094C1A101D295A5E040D5F404755585C5E010102
|
[11]=5C5F535100444257565659050D5E011B361204034D4B506F3307584152504453560B5247525158
|
||||||
[12]=5C5F53510F44405757575D0B005E3F07032101295B716760235F243E0A063F101F6B0933221001044B73392735083A312656524C5840065A4251465F5757015C4D5D53
|
[12]=5C5F535100444257565659050D5E3E15143F303C4E5C5A014104594E485F59575D0A5C4152
|
||||||
[13]=5C5F53510F44405757575D0B005E3A3434071C10557C60570E7E3A170D093B1C265E3A2326321633070C5F5A45485F565A000E0C0C42
|
[13]=5C5F535100444257565659050D5E0939121C21006941615111583E150A321805084D2B3A3403292C7F68125A47515E5D460E0B070D46055940
|
||||||
[14]=5C5F53510F44405757575D0B005E2A3D240B132B5E7255650D4509320B25200532732D3302155A5E040D5F404755585C5E010102
|
[14]=5C5F535100444257565659050D5E203A0022102C5B5D6E5339673C42535F5E5C4B0F59465C57585F05
|
||||||
[15]=5C5F53510F44405757575D0B005E0705172E2D1C6C415B452D675943515C5D4A500B584C525D575D
|
[15]=5C5F535100444257565659050D5E29330539273B5E535C5033692F0C143B2828510D5D415C4B595800015A584650
|
||||||
[16]=5C5F53510F44405757575D0B005E143127271F1268515E5F39075841525F4451560A53435C5C58
|
[16]=5C5F535100444257565659050D5E26262B3C2F1F720C0102400B4341555B5256530C5C
|
||||||
[17]=5C5F53510F44405757575D0B005E00012A0B1C3A634E51502D401D3A2C3112133376204151525A5C1D0C5B5C4B50525C5E
|
[17]=5C5F535100444257565659050D5E0D331F270C2F7071557B1F59351B3639322F007712383E2C2D18616F313B17270B2E265E7B000043075558515B595C570E5E43
|
||||||
[18]=5C5F53510F44405757575D0B005E083B305E505F0D0F1A00470154405E515C
|
[18]=5C5F535100444257565659050D5E07162828301F5E6C6D5A3B690911525D5D505D165D46575D5C5D070F
|
||||||
[19]=5C5F53510F44405757575D0B005E3B271C21290B605B476F38782902140E0B220A7B2C4151525A5C1D0C5B5C4B50525C5E
|
[19]=5C5F535100444257565659050D5E1C0324280305617F557313400C3E13383017017C0B1B13075A5E040D50404555595D5A0F0C02
|
||||||
[20]=5C5F53510F44405757575D0B005F3F0A05212403484B6444005604110D21041C045C3822130F1E3E4943053608041929185F737657266129020E2B0550500F5E424A505D590A0F505745
|
[20]=5C5F535100444257565659050D5E3F1E3012032C504E7879264B3C1E2E3C322E004B092F2C03191B515F011B24213C0F5C0C0F000D5A045E455E5A5C5053
|
||||||
|
|
||||||
[External_Components]
|
[External_Components]
|
||||||
Number_of_External_Circuit_Comps=0
|
Number_of_External_Circuit_Comps=0
|
||||||
@ -5088,7 +5089,7 @@ Stator_Slot_To_Use_For_Winding_View=1
|
|||||||
Number_of_Validation_Temperatures=0
|
Number_of_Validation_Temperatures=0
|
||||||
|
|
||||||
[Ratio_Tree]
|
[Ratio_Tree]
|
||||||
RatioTreeCount=12
|
RatioTreeCount=11
|
||||||
Node0=Ratio_Bore
|
Node0=Ratio_Bore
|
||||||
Node0Scaling=True
|
Node0Scaling=True
|
||||||
Node0ArrayIndex=-1992
|
Node0ArrayIndex=-1992
|
||||||
@ -5119,12 +5120,9 @@ Node8ArrayIndex=-1992
|
|||||||
Node9=Ratio_MagnetArc
|
Node9=Ratio_MagnetArc
|
||||||
Node9Scaling=True
|
Node9Scaling=True
|
||||||
Node9ArrayIndex=-1992
|
Node9ArrayIndex=-1992
|
||||||
Node10=Ratio_MagnetReduction
|
Node10=Stator_Lam_Dia
|
||||||
Node10Scaling=True
|
Node10Scaling=True
|
||||||
Node10ArrayIndex=-1992
|
Node10ArrayIndex=-1992
|
||||||
Node11=Stator_Lam_Dia
|
|
||||||
Node11Scaling=True
|
|
||||||
Node11ArrayIndex=-1992
|
|
||||||
|
|
||||||
[Scripting_Options]
|
[Scripting_Options]
|
||||||
ScriptAutoRun=0
|
ScriptAutoRun=0
|
||||||
@ -6978,13 +6976,13 @@ ArmatureEWdgInductance_Aux_Multiplier=1
|
|||||||
IM1PHEquivalentCircuitSolverMethod=1
|
IM1PHEquivalentCircuitSolverMethod=1
|
||||||
IMEquivalentCircuitHarmonicOrders=3
|
IMEquivalentCircuitHarmonicOrders=3
|
||||||
IM1PH_NumHarmonicOrders=1
|
IM1PH_NumHarmonicOrders=1
|
||||||
PeakCurrent=0,707106781186548
|
PeakCurrent=0
|
||||||
DCCurrent=5
|
DCCurrent=5
|
||||||
RMSCurrent=0,5
|
RMSCurrent=0
|
||||||
ConverterLosses=0
|
ConverterLosses=0
|
||||||
DCFieldCurrent=10
|
DCFieldCurrent=10
|
||||||
DCRotorCurrent=10
|
DCRotorCurrent=10
|
||||||
RMSCurrentDensity=2,54647908947033
|
RMSCurrentDensity=0
|
||||||
DCCurrentDensity=0
|
DCCurrentDensity=0
|
||||||
FieldCurrentDensity=0
|
FieldCurrentDensity=0
|
||||||
RotorCurrentDensity=0
|
RotorCurrentDensity=0
|
||||||
@ -7531,7 +7529,7 @@ Flange_Dia=96
|
|||||||
Flange_Extension=0
|
Flange_Extension=0
|
||||||
Stator_Pole_Angle=30
|
Stator_Pole_Angle=30
|
||||||
Housing_Thickness=5
|
Housing_Thickness=5
|
||||||
Magnet_Arc_[ED]=129
|
Magnet_Arc_[ED]=100
|
||||||
Corner_Cutout_[%]=40
|
Corner_Cutout_[%]=40
|
||||||
Fin_Pitch/Thick=5
|
Fin_Pitch/Thick=5
|
||||||
Fin_Number_[Quadrant]=0
|
Fin_Number_[Quadrant]=0
|
||||||
@ -7702,7 +7700,7 @@ AxialSegments=1
|
|||||||
BandingAxialSegments=1
|
BandingAxialSegments=1
|
||||||
SleeveAxialSegments=1
|
SleeveAxialSegments=1
|
||||||
Bridge_Thickness=2
|
Bridge_Thickness=2
|
||||||
Magnet_Width_Reduction=-12,0780374103995
|
Magnet_Width_Reduction=-27,9229144602837
|
||||||
Web_Thickness=2
|
Web_Thickness=2
|
||||||
Web_Length=2
|
Web_Length=2
|
||||||
Pole_V_Angle=130
|
Pole_V_Angle=130
|
||||||
@ -9481,7 +9479,7 @@ Ratio_BandingThickness=0
|
|||||||
Ratio_ShaftD=0,493827160493827
|
Ratio_ShaftD=0,493827160493827
|
||||||
Ratio_ShaftHole=0
|
Ratio_ShaftHole=0
|
||||||
Ratio_MagnetThickness=0,6
|
Ratio_MagnetThickness=0,6
|
||||||
Ratio_MagnetArc=0,716666666666667
|
Ratio_MagnetArc=0,630792307880996
|
||||||
Ratio_MagnetReduction=0
|
Ratio_MagnetReduction=0
|
||||||
Ratio_BarT_Depth=0,6
|
Ratio_BarT_Depth=0,6
|
||||||
Ratio_BarT_Opening_Depth=0,6
|
Ratio_BarT_Opening_Depth=0,6
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
Material BH characteristics 31/03/2025 17:20:46 17:20:46
|
Material BH characteristics 01/04/2025 17:43:17 17:43:17
|
||||||
Code:1 (Stator) Material: M800-50A
|
Code:1 (Stator) Material: M800-50A
|
||||||
24
|
24
|
||||||
1 0 0
|
1 0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user