-
First of all, thanks for the great work on this project! I've been trying to line up simulation results, and I've been getting unexpected scaling errors on torque and speed. I think I've tracked it down to the flux calculations here: motulator/motulator/model/sm/_drive.py Lines 86 to 89 in f19e126 motulator/motulator/model/sm/_drive.py Line 79 in f19e126 motulator/motulator/model/sm/_drive.py Line 113 in f19e126 I believe these calculations (torque and back-emf) are assuming a flux linkage in units of webers, whereas the comment gives units of Vs. If I adjust the flux number by the difference (2*pi) I get results that look roughly consistent for torque and speed (might be off by a small scale factor). For example, say I have a motor rated at 200 rpm/V (line-to-line) and 1 pole-pair. I calculate a flux in Vs of Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@stabler, thank you for the comment and trying motulator! It seems that there is a confusion or misunderstanding regarding the units. The computation of the equivalent circuit parameters for PM machines based on their datasheets or nameplates can be sometimes tricky, since the given data may vary a lot between different motors. The selection between volt-second (Vs) or Weber (Wb) as a unit for the flux linkage is a matter of taste. There should be no factor of Here, I try clarifying our choice of Vs as a unit. By its definition, the flux linkage The permanent-magnet (PM) flux Notice also that we use peak-value scaling for space vectors in motulator. Consequently, the PM flux linkage where It is also worth noticing that the rated voltage and the induced voltage at the rated speed are not exactly same, due to the voltage drops over the stator resistance and the stator inductance as the current flows under the rated-torque condition. |
Beta Was this translation helpful? Give feedback.
@stabler, thank you for the comment and trying motulator!
It seems that there is a confusion or misunderstanding regarding the units. The computation of the equivalent circuit parameters for PM machines based on their datasheets or nameplates can be sometimes tricky, since the given data may vary a lot between different motors.
The selection between volt-second (Vs) or Weber (Wb) as a unit for the flux linkage is a matter of taste. There should be no factor of$2\pi$ in between them, but these units can be used interchangeably. We have selected to systematically use Vs in docstrings, but they could be replaced with Wb with no other changes.
Here, I try clarifying our choice of Vs as a uni…