File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,12 +132,12 @@ def test_FEMM_Loss():
132132
133133 loss_st_iron = loss_stator_iron .get_along ("Speed=4000" , "time" )["Loss" ].mean ()
134134 loss_ro_iron = loss_rotor_iron .get_along ("Speed=4000" , "time" )["Loss" ].mean ()
135- loss_st_wdg = loss_stator_wind .get_along ("time" , "phase" )["Loss" ].mean ()
135+ loss_st_wdg = loss_stator_wind .get_along ("time" , "phase=sum " )["Loss" ].mean ()
136136
137137 print (f"mechanical power = { P_mech } W" )
138138 print (f"stator iron loss = { loss_st_iron } W" )
139139 print (f"rotor iron loss = { loss_ro_iron } W" )
140- print (f"stator winding loss = { qs * loss_st_wdg } W" )
140+ print (f"stator winding loss = { loss_st_wdg } W" )
141141
142142 delta = 5 / 100 # arbitary allowed relative difference
143143
You can’t perform that action at this time.
0 commit comments