[Scilab-users] Fixed time step solver : Specify the time step

Quentin Mazué mazue.quentin at gmail.com
Wed Jul 23 11:41:37 CEST 2014


Hi,

I'm using a fixed time step solver : Runge-Kutta 4(5).

I specified a time step in setup menu : Maximum step size = 0.1 (as explain
in Scilab Help >> Xcos >> Solver >>Comparisons)

In my diagram I have a 1/z block with an event clock input with a period of
0.1s

My other blocks use the value obtained thanks to the 1/s block and other
inputs to compute some output which are used as input at next time step for
all blocks.

I don't Understand why if I send values to the workspace with the Inherited
option set to "yes", all the values are sampled with the time step 0.05
(1/2*0.1) except the value got thanks to the 1/z block.

Questions : 

1)-Why Scilab does not followto the Time step I specified in the setup menu?
2)-Why the inherited time step within my diagram is 2 times smaller than the
one I specify ?
3)-How could I fixe a time step constant at 0.1s in all my diagram?

Thanks
Quentin Mazué






--
View this message in context: http://mailinglists.scilab.org/Fixed-time-step-solver-Specify-the-time-step-tp4030948.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list