- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Error test failed in...
Error test failed in Modelica(simulationX GUI)
Error test failed in Modelica(simulationX GUI)
Hello,
I am modeling Automotive power train system in modelica (i.e. on SimulationX environment). I am using 3.1 version. When i am simulating my model, after 135 seconds i got following error;
Error: The solver sould not reach the required accuracy. change the minimal calculation stepsize (dt Min) ot the tolerances.
Convergence test not failed, but error test failed. Changes of states are too big.
Could you please any one suggest me to eliminate this error.
thankyou in advance,
Re: Error test failed in Modelica(simulationX GUI)
I am not familiar with SimulationX, but it sounds like you either need to change a
Code:
tolerance
or
Code:
stepsize
parameter to the simulation. Doing so will allow the solver to take smaller steps (increasing total simulation time) or accept larger numerical errors.
Depending on the model, you could also try to reduce the number of events and zero-crossings by using the noEvent operator in strategic places.
- sjoelund.se
- 1700 Posts
Re: Error test failed in Modelica(simulationX GUI)
Yes; in Simulation/Transient Settings/General try to decrease Min. Calculation Step Size (dtMin) to 1e-10s or 1e-12s.
If the calculation still fails it is likely that there is 'something' a bit too harsh in the model.
Also if you expand the error message it should tell you which state variable is creating the issue.
Re: Error test failed in Modelica(simulationX GUI)
Hi,
I am getting error at the end of my simulation. I think if i rise the time step there is no problem for me because at the end the values that are going to calculate are not important for me. So i have increased the time step it worked out fine.
Thank you veery much fot responding.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Error test failed in...