3D LUT

AcePik
AcePik Altair Community Member
edited October 2023 in Community Q&A

Hi

How we can generate 3D LUT from flux 3D models for use in PSIM?

Thanks

Makan

Answers

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited October 2023

    Hi Acepik,

    Under Macros for system analysis, you will find Macros for 2D, 3D, and skew models to create look-up tables for PSIM.

    If you are using Flux version 2022.3, here is the link where you can fine more information :

    file:///C:/Program%20Files/Altair/2022.3/flux/Flux/Help/english/Macros/english/topics/macros_4SystemAnalysis_r.htm

    Thank you,

    Lavanya

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    thanks dear Lavanya for prompt reply

    Will look and get back again

    Kind regards

    Makan

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi Lavanya

    I did so but it gives an error. 

    ''Exception('The interval represented must contain an integer number of stator periodicities',)''

    Can you help with this please?

    Thanks

     

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited October 2023
    AcePik said:

    Hi Lavanya

    I did so but it gives an error. 

    ''Exception('The interval represented must contain an integer number of stator periodicities',)''

    Can you help with this please?

    Thanks

     

    Hi AcePik,

    What is the slot/pole combination for your model?

    Can you send me the picture of the values you provided for the Macro?

    Thank you,

    Lavanya

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi Lavanya

    slots 24

    poles 20

    1/8 of the machine is modeled. 1 symmetry, 4 periodicity.

    thanks

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi Lavanya

    Is any other information is needed to get this sorted?

    Thanks

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited October 2023
    AcePik said:

    Hi Lavanya

    slots 24

    poles 20

    1/8 of the machine is modeled. 1 symmetry, 4 periodicity.

    thanks

    Hi,

    Sorry I missed your message.

    In the 3D LUT for system analysis, you need to have either one pole represented if possible. If one pole is not possible, then you need to have an integer number of pole pairs.

    In your case, with a periodicity of 4, it is not possible to use the Macro since there are 2.5 pole pairs represented. You need to have half model represented with 2 periodicity. This will give 5 pole pairs represented.

    With this, the Macro for system analysis will go through and create lookup tables for the motor model.

    Please let me know if you have follow-up questions.

    Thank you,

    Lavanya

     

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi,

    Sorry I missed your message.

    In the 3D LUT for system analysis, you need to have either one pole represented if possible. If one pole is not possible, then you need to have an integer number of pole pairs.

    In your case, with a periodicity of 4, it is not possible to use the Macro since there are 2.5 pole pairs represented. You need to have half model represented with 2 periodicity. This will give 5 pole pairs represented.

    With this, the Macro for system analysis will go through and create lookup tables for the motor model.

    Please let me know if you have follow-up questions.

    Thank you,

    Lavanya

     

    Hi Lavanya

    Thanks for commenting.

    Will make 2 instead of 4 and let you know if it doesn't work.

    Kind regards

  • AcePik
    AcePik Altair Community Member
    edited October 2023
    AcePik said:

    Hi Lavanya

    Thanks for commenting.

    Will make 2 instead of 4 and let you know if it doesn't work.

    Kind regards

    Sorry Lavanya
    How about other parameters?

    Can you please advise on other parameters of the LUT creation as well?

    Thanks

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited October 2023
    AcePik said:

    Sorry Lavanya
    How about other parameters?

    Can you please advise on other parameters of the LUT creation as well?

    Thanks

    Other parameters look good.

    You can use the same. No need to change.

     

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Other parameters look good.

    You can use the same. No need to change.

     

    ok Thanks

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited October 2023
    AcePik said:

    ok Thanks

    Hi,

    This Macro uses Distributed solving while running.

    The error is coming up since Distributed solving is not activated. You can activate from Flux supervisor < Click on "Distribution Manager" < Select "Allow" to start using Distributed solving.

    image

    You will find more information about Distribution manager and its settings in the link below :

    file:///C:/Program%20Files/Altair/2022.3/flux/Flux/Help/english/ReleaseNote/2022Release/Flux/topics/flux2022.3_ParametricDistribution.htm?hl=distribution%2Cmanager

    Thank you,

    Lavanya

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi,

    This Macro uses Distributed solving while running.

    The error is coming up since Distributed solving is not activated. You can activate from Flux supervisor < Click on "Distribution Manager" < Select "Allow" to start using Distributed solving.

    image

    You will find more information about Distribution manager and its settings in the link below :

    file:///C:/Program%20Files/Altair/2022.3/flux/Flux/Help/english/ReleaseNote/2022Release/Flux/topics/flux2022.3_ParametricDistribution.htm?hl=distribution%2Cmanager

    Thank you,

    Lavanya

    Hi Lavanya

    Thanks for this

    Actually it was sorted by changing the solver to MUMPS local. 

    but the solution you advised is helpful.

    Kind regards

     

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi,

    This Macro uses Distributed solving while running.

    The error is coming up since Distributed solving is not activated. You can activate from Flux supervisor < Click on "Distribution Manager" < Select "Allow" to start using Distributed solving.

    image

    You will find more information about Distribution manager and its settings in the link below :

    file:///C:/Program%20Files/Altair/2022.3/flux/Flux/Help/english/ReleaseNote/2022Release/Flux/topics/flux2022.3_ParametricDistribution.htm?hl=distribution%2Cmanager

    Thank you,

    Lavanya

    Just a quick update

    We did what you said instead of running MUMPS local and the error appeared again!

    Thanks

  • AcePik
    AcePik Altair Community Member
    edited October 2023

    Hi Lavanya

    we ran the quarter model instead of 1/8 and the weird thing is, the produced torque in quarter case is half of the 1/8 case. The BEMF value is correct though. 

    Any thoughts on this? could it be a software bug? I deleted the coils and created them again, but still the torque is not the same. 

    If I get the torque right, then will carry out LUT. 

    Thanks