@@ -35,9 +35,7 @@ def test_SPMSM015_plot_contour_B_FEMM():
3535 Iq_ref = (I0_rms * np .exp (1j * Phi0 )).imag
3636
3737 simu .input = InputCurrent (
38- OP = OPdq (Id_ref = Id_ref , Iq_ref = Iq_ref , N0 = 1000 ),
39- Na_tot = 252 * 9 ,
40- Nt_tot = 4 * 9 ,
38+ OP = OPdq (Id_ref = Id_ref , Iq_ref = Iq_ref , N0 = 1000 ), Na_tot = 252 * 9 , Nt_tot = 4 * 9 ,
4139 )
4240
4341 # Definition of the magnetic simulation: with periodicity
@@ -61,12 +59,12 @@ def test_SPMSM015_plot_contour_B_FEMM():
6159 is_show_fig = False ,
6260 save_path = join (save_path , "plot_mesh_stator.png" ),
6361 )
64- out .mag .meshsolution .plot_contour (
65- is_animated = True ,
66- group_names = "stator core" ,
67- is_show_fig = False ,
68- save_path = join (save_path , "plot_mesh_stator.gif" ),
69- )
62+ # out.mag.meshsolution.plot_contour(
63+ # is_animated=True,
64+ # group_names="stator core",
65+ # is_show_fig=False,
66+ # save_path=join(save_path, "plot_mesh_stator.gif"),
67+ # )
7068
7169 pass
7270
@@ -78,9 +76,7 @@ def test_Benchmark_plot_contour_B_FEMM():
7876 simu = Simu1 (name = "test_FEMM_compare_Toyota_Prius" , machine = Benchmark )
7977
8078 simu .input = InputCurrent (
81- OP = OPdq (Id_ref = 0 , Iq_ref = 0 , N0 = 2504 ),
82- Na_tot = 2048 ,
83- Nt_tot = 50 ,
79+ OP = OPdq (Id_ref = 0 , Iq_ref = 0 , N0 = 2504 ), Na_tot = 2048 , Nt_tot = 50 ,
8480 )
8581
8682 # Definition of the magnetic simulation: with periodicity
@@ -97,12 +93,12 @@ def test_Benchmark_plot_contour_B_FEMM():
9793
9894 out .plot_B_mesh (save_path = join (save_path , "plot_B_mesh.png" ))
9995
100- out .plot_B_mesh (
101- group_names = "stator core" ,
102- is_animated = True ,
103- is_show_fig = False ,
104- save_path = join (save_path , "plot_B_mesh.gif" ),
105- )
96+ # out.plot_B_mesh(
97+ # group_names="stator core",
98+ # is_animated=True,
99+ # is_show_fig=False,
100+ # save_path=join(save_path, "plot_B_mesh.gif"),
101+ # )
106102
107103 out .mag .meshsolution .plot_contour (
108104 group_names = ["rotor magnets" , "rotor core" ],
0 commit comments