@@ -880,8 +880,8 @@ def single_fem_simulation(fem_input: FemInput, show_visual_outputs: bool = False
880880
881881 core_material = fmt .ImportedComplexCoreMaterial (material = fem_input .material_name ,
882882 temperature = fem_input .temperature ,
883- permeability_datasource = fmt . DataSource . TDK_MDT ,
884- permittivity_datasource = fmt . DataSource . LEA_MTB )
883+ permeability_datasource = fem_input . material_data_sources . permeability_datasource ,
884+ permittivity_datasource = fem_input . material_data_sources . permittivity_datasource )
885885
886886 core = fmt .Core (material = core_material ,
887887 core_type = fmt .CoreType .Single ,
@@ -1087,9 +1087,9 @@ def full_simulation(df_geometry: pd.DataFrame, current_waveform: list, inductor_
10871087 logger .info (f"Volume derivation: { (reluctance_output .volume - fem_output .volume ) / reluctance_output .volume * 100 } %" )
10881088 logger .info (f"P_winding reluctance: { reluctance_output .p_winding } " )
10891089 logger .info (f"P_winding FEM: { fem_output .fem_p_loss_winding } " )
1090- logger .info (f"P_winding derivation: { (fem_output .fem_p_loss_winding - reluctance_output .p_winding ) / fem_output .fem_p_loss_winding * 100 } " )
1090+ logger .info (f"P_winding derivation: { (fem_output .fem_p_loss_winding - reluctance_output .p_winding ) / fem_output .fem_p_loss_winding * 100 } % " )
10911091 logger .info (f"P_hyst reluctance: { reluctance_output .p_hyst } " )
10921092 logger .info (f"P_hyst FEM: { fem_output .fem_core_total } " )
1093- logger .info (f"P_hyst derivation: { (reluctance_output .p_hyst - fem_output .fem_core_total ) / reluctance_output .p_hyst * 100 } " )
1093+ logger .info (f"P_hyst derivation: { (reluctance_output .p_hyst - fem_output .fem_core_total ) / reluctance_output .p_hyst * 100 } % " )
10941094
10951095 return reluctance_output .volume , p_total , reluctance_output .area_to_heat_sink , fem_output .fem_p_loss_winding , p_core
0 commit comments