Simulink: 如何减少仿真时间

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

Antworten (0)

Produkte


Version

R2015b

Community Treasure Hunt

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

Start Hunting!