TAGGED: #motor-cad, FMU, matlab, simulink
-
-
January 3, 2024 at 9:58 amSriganeshkumar RavikumarSubscriber
Hi,
I have checked the tutorial (BPM+Thermal and Custom FMU)...but instead of the model available in the tutorial,I have used another own model (PM Motor) I checked the geomentry it is ok,no issues found and tried to run the FMU simulation in Matlab but I am getting errors.
should I have to vary the input/output parameters according to the different model type?
is there any template to be followed (I mean the mandatory inputs and outputs) according to the different motor types?
I also tried using the command "shareMATLABForFMUCoSim" in Matlab Command Window yet still i cant run the model.
I will attach images for your reference... It will be helpful if someone clarify this issue
Regards
Ganesh -
January 8, 2024 at 4:58 pmHDLIAnsys Employee
Hello Ganesh,
1). Could you try to run the themal model individually? to see if the model has any issues. It looks like you are using the themal or customer FMU.
2). Could you check the fixed-step size, stop time in Matlab configuraiton parameters? we could not run zero step.
3). From the error message, it seems numbe of points might be 0 in MotorCAD model’s calculation tab > transient. Could you check if a FMU input is zero for numbe of points?
The FMU would support the modules and MotorCAD FMU that the tutorial mentioned. It seems we do not need to run “shareMATLABForFMUCoSim” commmand.
HDLI
-
February 28, 2024 at 4:16 pm
-
February 29, 2024 at 1:26 pmHDLIAnsys Employee
Hello Ganesh,
Could you tell me what happens in each suggestion?
Could you run the model standalone? Thanks.
HDLI
-
March 7, 2024 at 4:53 pmSriganeshkumar RavikumarSubscriber
Thanks for the reply HLDI
I ran stand alone simulation but the temperature values are really high the maximum values are reaching 1x10e7 °C in transcient simulation (in Matlab using FMU).The actual max temperature is around 150°C in Motor CAD.
is it possible to run only duty cycle simulation in FMU but not the transcient simulation?
Also I have listed down the results which I got from your suggestion
Suggestion 1:- I had ran only thermal model the simulation is running but the model is running infinitely.
Suggestion 2:- The step size used is auto,not zero step size used.
Suggestion 3:- I had already did this in the previous comment and this was the resultRegards
Ganesh -
March 8, 2024 at 3:25 pmHDLIAnsys Employee
Hello Ganesh,
Could you check the initial temperature and input loss value or unit? Could you enter 1 for "Transient duration" and "number of point" in Transient tab?
Could you review the FMU example in C:\ANSYS_Motor-CAD\2023_2_2\Tutorials\FMU? Thanks.
HDLI
-
March 8, 2024 at 4:40 pmSriganeshkumar RavikumarSubscriber
Thanks for the reply HLDI
I am following the FMU Tutorial and I got the above result.The units are also same as per the tutorials.
is it possible to do FMU simulation in simulink:- transcient condition,constant,single speed and single torque values through out the entire duration of the simulation?
The tutorials covers only varying shaft speed and torque. -
April 24, 2024 at 12:30 pmHDLIAnsys Employee
Hello Ganesh,
1). Could you ensure that ActiveX is enabled within Motor-CAD?
2). Please make sure if you could run a python scripting with ActiveX. We may have some examples in the C:\ANSYS_Motor-CAD\2024_1_3\Tutorials\Automation\ActiveX.
3). Follow the tutorial and test an example in FMU tutorial folder. Do not copy it into Document or any shared drive/folder like OneDrive. The file should be in local drive, without “share”.
I think it is possible to do transient condition with FMU in simulink.
HDLI
-
- The topic ‘FMU using Motor CAD’ is closed to new replies.
- Workbench license error
- Unexpected error on Workbench: Root element not found.
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- access to path files denied error
- AQWA: Hydrodynamic response error
- Questions and recommendations: Septum Horn Antenna
- Tutorial or Help for 2 way FSI
- Unable to connect to the license
- Moment Reaction probe with Large deformation
- Ansys with Vmware and CPU configuration : I’m lost, good practice?
-
1762
-
635
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.