- Index
- » Users
- » lvraay
- » Profile
Posts
Posts
lochel wrote:
hideishi wrote:
Thanks.
Do you mean that solvers always choose when and how they iterate automatically so users can not set when and how they iterate ?This is true for solvers with a (more or less advanced) step size control as our Default one DASSL. There are also solver with a fix step size available (e.g. radau1, radau3, radau5, lobatto2, lobatto4 or lobatto6).
In case of the DASSL solver, would it be possible to let DASSL decide the output points in the output file as well (since I assume this is now set by the user with number of intervals)?
sjoelund.se wrote:
No, those solvers always choose when and how they iterate. It is merely the points you ask to get an output point in the result file (it will usually be interpolated or extrapolated).
It seems strange to me that the user has to specify the number of output points.
I just tried to simulate a very simple model (sine wave voltage source in series with a resistor) with a variable time step solver (dassl), an appropriate tolerance (1e-6) and specified in the number of intervals 2 output points as and the result file actually shows two output points. The results are clearly not as one would expect (due to data reduction?), so the only option the user has is to choose the number of intervals in a conservative manner.
In case the number of intervals is chosen very high, the time step is affected according to the log. To me, it seems that the user specifies in this case the maximum time step, so in case of a high number of intervals a fixed time step is more or less created, taking away the benefits of a variable time step solver.
Is the output file really reduced in case of a low value in number of intervals?
Would it be possible to let the solver decide the number of output points as well?
- Index
- » Users
- » lvraay
- » Profile