Modelica中事件迭代的最大数量 [英] Maximum number of event iterations in Modelica
问题描述
是否有办法更改最大事件迭代次数"(c0)的值,该值在动力阻力中设置为20?
Is there a way to change the value of "Maximum number of event iterations" ,eviter
, that is set to 20 in dymola?
推荐答案
自Dymola 2020x以来,就有一个高级变量可以完全做到这一点.
Since Dymola 2020x there is an advanced variable that should do exactly that.
从2020x更新日志中:
From the 2020x changelog:
Advanced.Simulation.MaxEventIterations
evnet的最大数量 迭代,eviter.请谨慎使用,因为值太小会导致仿真失败. 默认值为Advanced.Simulation.MaxEventIterations=20
Advanced.Simulation.MaxEventIterations
The maximum number of evnet iterations, eviter. Use with care, since too small value will lead to simulation failure. The default value isAdvanced.Simulation.MaxEventIterations=20
另外,可以更改迭代的精度:
Additionally the precision for the iteration can be changed:
Advanced.Simulation.EventEpsilon
事件的时间分辨率,即eveps.这 默认值为Advanced.Simulation.EventEpsilon=1e-10
Advanced.Simulation.EventEpsilon
The time resolution for events, eveps. The default value isAdvanced.Simulation.EventEpsilon=1e-10
这篇关于Modelica中事件迭代的最大数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!