Zero Crossing Detection in Simscape (specifically SimHydraulics)
显示 更早的评论
I run a lot of simulations using Simscape, mostly in SimHydraulics. I find that for almost all of my simulations, which vary in physical complexity from moderate to heavy, attempting to run with zero crossing detection enabled brings the solver to its knees (at best, solutions take hours, at worst, they error out due to excessive zero crossings). I find that the most problematic blocks appear to be orifices (which I think fail due to the integral ABS function) and any component with a hard stop (such as a hydraulic cylinder).
I am close to giving up and running all of my models with zero crossing detection disabled by default, but I've read that it can compromise solution accuracy. The help documentation is vauge as to exactly what the consequences are, so I would like to know the implications of doing this. Is the global accuracy of the solution affected, or only the signals (states) with ZCD enabled? Is the solution compromised only around the zero crossing event, or for all simulated time?
Can you give me any information specific to SimHydraulics? For example, does an orifice block solve differently with ACD disabled?
Thanks in advance for any advice.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Model Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!