Generating .tbl File for PSIM IPM Nonlinear Controller from Altair Flux

Dear Altair Community,
I am currently working with the PSIM v.2025 IPM nonlinear controller, which requires input data in a .tbl
format, as shown in the attached example (Ld_Ldq.tbl
). I would like to generate this .tbl
file from Altair Flux v.2025
Could you please guide me on how to achieve this? Specifically:
- Is there a built-in method in Altair Flux to export inductance values (Ld, Lq) in
.tbl
format? - If not, is there any script or automation method available to generate this file format from simulation results?
- Any examples, documentation, or scripts would be highly appreciated.
Looking forward to your insights. Thank you!
Best Answer
-
Dear @Khizer321 ,
Thank you for the kind feedback!
My email address is ndimitrako@altair.com.
Please feel free to reach out and I will share the model via email.
Best regards,
Nikos0
Answers
-
0
-
Dear @VSiddhartha,
Thank you for your response and for referring me to the Altair Flux and FluxMotor tutorials. However, I would like to clarify that these model as shown in Fig.1, primarily deal with losses and other machine characteristics.
I am specifically referring to a model named "PMSM (Nonlinear IPM) Drive" used in PSIM as shown in Fig.2 , which requires only a .tbl file as input. My goal is to generate this
.tbl
file directly from Altair Flux. As the tutorials you mentioned requires generation of .mat file not the .tbl fileCould you please guide me on whether there is a built-in script or method in Altair Flux to directly export this data in the required format? If not, is there an example or workflow available to automate this process?
Looking forward to your insights.
Best regards,
0 -
Dear @Khizer321 ,
The .tbl format is specific to PSIM so there is not an automated way to extract the LuTs from Flux like you would do with the .mat file format.
That said, you can extract the data as .csv or .xls and create the .tbls manually. Tbl format can be tricky to work with, especially the 2D one like in your example:
That said, I suggest that you take a look into the help menu of the 2D LuT block:
And then also this community article that helps with the explanation:
1D, 2D and 3D Lookup Tables in PSIMOn a final note, if your goal is to dynamically change the inductances of the PMSM nonlinear model, I can provide a PMSM model that this happens with external signals in this manner:
Please let me know if this would be useful to you.
Best regards,
Nikos
0 -
Thank you for your detailed response! This information is really helpful, and I appreciate the clarification regarding the
.tbl
format and the workflow for extracting data from Flux. I will look into the 2D LuT block help menu and the community article you shared.Also, I would definitely be interested in the PMSM model that allows dynamic changes to inductances with external signals. If you can share it, I would love to explore and work with it.
Thanks again for your support!
Best regards,
Khizer Rafique
1 -
Dear @Khizer321 ,
Thank you for the kind feedback!
My email address is ndimitrako@altair.com.
Please feel free to reach out and I will share the model via email.
Best regards,
Nikos0