Simulink: 如何减少仿真时间

9 次查看(过去 30 天)
sheldon liu
sheldon liu 2023-11-2
仿真电路: 电力电子 PFC 电路。 里面有mosfet,示波器,比较器,电压源,电阻,电容等器件, 有s函数,在特定时间点计算数字环路, Ts: 1e-8 (100M)。 因为需要在特定PWM counter 位置获取电流值 并 产生计算环路标志。 所以 PWM用s函数产生。 (可能用的方法不太好)。
仿真起来很慢 ode23 ode45 ode15 auto,normal/accelerator 运行时间差不多 没明显改善。
请问用什么方法可以减少运行时间?
多谢

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Semiconductors and Converters 的更多信息

产品


版本

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!