Hi Altair Community,
I am currently working on 1D system modeling for a Permanent Magnet Synchronous Motor (PMSM) and drive through Flux and PSIM. I have encountered a challenge related to the generation of lookup tables needed for iron losses and eddy current losses, which are crucial for the proper functioning of the IPM drive in PSIM.
While trying to generate the .mat file using the Flux e-Machine Toolbox in MS mono-position computation mode (which is the only mode that allows .mat file export), I noticed that the lookup tables for iron losses and eddy current losses are not included in the export. These tables are essential for the IPM drive in PSIM to work correctly.
I came across a macro called LUT_2D_FORSYSTEMANALYSIS.PFM, which can compute these lookup tables, but it requires Bertotti Losses Coefficients to calculate the iron losses. Unfortunately, I do not have these coefficients for the material I am using. The Altair documentation suggests that the Bertotti Losses Coefficients can be found in the BertottiLossesCoefficients.xls file located in the directory: [FLUX INSTALLATION DIRECTORY]\flux\Flux\DocExamples\Tools\BertottiLossesCoefficients\BertottiLossesCoefficients.xls. However, I am unable to locate this .xls file in the specified directory in my installation (Altair v2024.1 Student Version).
Would anyone be able to share this .xls file or suggest an alternative method to access it?
Additionally, when I generate the .mat file through the Flux e-Machine Toolbox, it correctly exports the rotor’s initial position (15° in my case, when "Auto" is selected for the initial rotor position). However, when I use the LUT_2D_FORSYSTEMANALYSIS.PFM script, it calculates the initial rotor position as -104.64°, which is incorrect. I would like to set the initial rotor position to the angle I specified (15°), which I also set in the Mechanical settings for rotor position at t=0.
Is there a way to adjust the script to set the rotor’s initial position as 15°? Alternatively, is there a way to obtain all the required lookup tables directly from the Flux e-Machine Toolbox when generating the .mat file?
Any assistance would be greatly appreciated!
Thank you in advance.