-
Notifications
You must be signed in to change notification settings - Fork 176
Implement split of stray inductance in common and individual part #3817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I've corrected the implementation of individual stray permeances. |
|
Now I've moved the individual leakage from a magnetic implementation to an electrical inductor, and updated the documentation. |
|
We even have the choice between electrical implementation of the individual leakage as electrical polyphase inductor or magentic permeances (the second one see SymmetricPolyphaseWinding_M_). |
|
Ok after discussions with @christiankral we decided for a magnetic implementation of the indivudual leakage. |
|
Just to clarify, since this is an extension and not a bug-fix it should go into the next minor version which allows extensions. |
Somehow it's a bug fix. The library promises polyphase machine models. If you design FOC for polyphase drives, the models won't work with switching power electronics (only with averaging PE models). Shall I add the "bug" label? |
|
It would not work since you are adding several new components and not just fixing the existing things. I think it is better and less work to simply include it in the next minor version. Nothing says that the bug fix version is going to happen earlier than the new minor version. In the past it used to be at the same time anyway. |
I'm modifyng one component, and adding one new example that proofs that the modification works properly. |
|
|
OK whether its a bug fix or an enhancement, backwards compatibility is important.
Can we review and decide this PR? |
dietmarw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some minor cosmetic and typo fixes. With the backward compatible solution it now looks fine to merge.
christiankral
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
|
What's the problem with the license/cla - seems that the check got stuck ,,, |
|
I'll rebase the branch and that should trigger the check once more. |
…electrical implementation: it works! UsersGuide has to be adapted accordingly.
…ove equivalence of electrical, individual / singlephase magentic and common / polyphase magnetic implementation
…n of the individual leakage
Up to now, the stray field of (symmetric) poylphase windings is modeled as a common inductance or permeance. During some master thesis, I came upon problems with field orineted control of polyphase machines (m>3) fed by swicthing power electronics. The solution was to split the stray inductance in a common part and an individual part (individually for everey phase) to limit current rise in certain cases. Since I assume that other users might encounter similar problems, I've cleaned up my solution to create that PR.
The ratio of common stray inductance with respect to total stray inductance is defined by a parameter
ratioCommonLeakagewith a default of 1, which is perrfectly backwards compatible. Note that for machines with three phases (Electrical.Machines) and for quasistatic machines (Magnetic.QuasiStatic.FundamentalWave) this parameter has no influence, and for performance reasons implementation in these two libaries is skipped. The parameter is essential only for Magnetic.FundamentalWave.Note that the situation is described in detail in Magnetic.FundamentalWave.UsersGuide.WindingModel.
The example FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage compares three identical 5-phase machines but
ratioCommonLeakage={0, 0.5, 1},