Jump to content

Link current source angle to rotor mechanical set angle

Recommended Posts

I'm designing a motor in which I need to set the current angle to be +60º from the rotor angle.

At the moment I've created an I/O parameter (current_angle) to set the current source angle and then on the solving scenario I set both the rotor mechanical set position and this I/O parameter to compute different values. The issue with this mode is that it computes a lot of different values that I don't need, making the computation time extremely large.

Is there any way to just solve the motor when the current_angle=rotor_angle+90º ??


To clarify a bit:

rotor mechanical set position simulation values: 1,2,3....90

current_angle simulation values: 61,62,63...150


this gives 90*90 iterations = 8100

when I just need 90 iterations.


My Aplication is a Steady State AC Magnetic 2D.

Share this post

Link to post
Share on other sites

Hello Holo,


In fact, there exists an easy solution to this problem: you may define your second variable just as current_angle=rotor_angle+90. In this case, rotor_angle must be defined as "parameter controlled via scenario" and "current_angle" as "" (see image attached)




Then, just change rotor_angle in your parametric scenario: the value of current_angle will be recalculated automatically in each iteration.


Best regards

sts1983 likes this

Share this post

Link to post
Share on other sites

Thank you for answering.


What you propose works but I had to use the parameter ANGPOS_MECHANICALSET_ROTOR to define the rotor angle. The mechanical set creates this parameter automatically and is the one that determines the rotor position.

I didn't find this info in the flux documentation and I think it's important:

When you create a mechanicalset of the type "Rotation around one axis" the angle is determined by a hidden parameter called ANGPOS_*, where * is the name of your mechanicalset.

Share this post

Link to post
Share on other sites


You are right. We need to add this information in Flux documentation.

About the parameter you need to use the formulas editor. To do it:

  • Create anew I/O parameter
  • Type of physical parameter: formula
  • Select the function f(). Flux open new window
  • Select tab mechanical set (the rotor is selected by default)
  • Select angular position


Hope this will help.

Best regards.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...