sc12 发表于 2024-8-12 23:04

MAXWELL与SIMULINK联合仿真卡住

Maxwell版本为2021R1
Simulink版本为2018a
不用simplorer,直接设置Maxwell使用simulink电路
但是卡在了求解场这里
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAABwCAYAAADR9BlzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABADSURBVHhe7d39k11lfQDw55r2R8j+ARBiDTDBBhWmhRoq1KpYrE4IorwmErEbA8YKakvtQIq0kehQcZyOooIQBiwEEsF2UECBJEBUJA1YQGAgL39A8g90u8/JebInJ+fcPffufdnd+/nMfL3P23mec+8uzvnOc59Na+PGjRNbn9kXLvzAopCoq6urJ+rq6uqJurq6eqKuPlfr74j/kyqxI1JXj9TVI3X1SF09UleP1NUjdfVoLtazBBgAAADmu9Yrr789sW3L/VklZsQpO45WfPLSvAQAAABz24JrvvDFDa+98nJWeXXvobD0pIVZOTp16Z/mJQAAAJjbsq9A131XGgAAAOaLBeuu/eKGnz727FE7v2kn+NSl785bAAAAYG5rvfzqmxOPbn0gq5TPAH/8wk/lJQAAAJjbFnz+mvUbXn/tldBqtcIrew+F0xaPZeUYJ596Wj4MAAAA5rbWnv99feLq628LK889KW8K4eGn92b1Cz5xUd4CAAAAc9uCteu+sOHRXzwfli4ey5tCthMc60tOWZq3AAAAwNzW2v3yaxOP/WxrVkk7v8lH//bCvAQAAABzW8cJ8P7Nl4SP3/piXstd/IOw+6YP5BUAAABG3d0/+l5emrL6s2vz0nC0Xnzp1Ynxr95eeQb4/I+tyFum7L/30vCJn/9NeGTzqnBi1rI33Hfl+eGb4Z8KbQAAAIyye+78fli1ZvxIOUr1bkw3R5M1Fox//poNP3tiV+UZ4HedfGreMuXQnofCT95cEi658D3h+KxlYVh25vHhudseC3/0sYvCsql/ThgAAIARtWf3C+H09555pBylejfe874zs3n+58WpeZPNd92RvV551d9lr3XeMTExcWT3N+78Rqke+46JrKfcV2x7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xbz1Gk3V9W6RbE/jSuPr6on7cYlde1Ju/mjdmsUx8b26foBAID5qa8JMAAAAMwWfTsDDAAAALPJvD0DDAAAAEVZAlze+S1+DRoAAADmAzvAAAAAjARngAEAABgJdoABAAAYCc4AAwAAMBLsAAMAADASnAEGAABgJNgBBgAAYCQ4AwwAAMAICOH/AYcfsTJ4bwQcAAAAAElFTkSuQmCC

sc12 发表于 2024-8-12 23:10

卡住的位置是求解瞬时场
直接联动是按照Maxwellhelp上的教程,matlab软件位置也设置了
simulink求解时长也设置的和Maxwell的时长一样

Utakuta 发表于 2024-8-13 09:09

看下求解步长有没有统一,检查一下cpu和内存占用,不排除单纯就是慢~~~

sc12 发表于 2024-8-13 14:53

Utakuta 发表于 2024-8-13 09:09
看下求解步长有没有统一,检查一下cpu和内存占用,不排除单纯就是慢~~~

之前设置过求解总时长都是0.04,求解每一步步长都为0.0002,算了三个小时还是卡在这一步。

Utakuta 发表于 2024-8-14 09:14

sc12 发表于 2024-8-13 14:53
之前设置过求解总时长都是0.04,求解每一步步长都为0.0002,算了三个小时还是卡在这一步。

maxwell的模型用电流源跑通了吗,simulink每个模块的频率或者步长也可以检查一下;
一般matlab支持的maxwell版本要比maxwell的版本年份低一年,可能也是一个解决问题的方向;

是李呀 发表于 2024-8-21 20:15

楼主跑通了吗 最近也在弄真的弄不动了求指导一下

是李呀 发表于 2024-8-21 20:36

二者都连接不上是什么原因呀

是李呀 发表于 2024-8-25 15:27

老哥 解决了嘛 能不能指教一下
页: [1]
查看完整版本: MAXWELL与SIMULINK联合仿真卡住