Re: [Scilab-users] Xocs : enabled superblocks and multi frequence diagram

2014-07-22 Thread Quentin Mazué
Hi Serge, Thanks for your help it works. Your 1st solution wasn't applicable in my case because my blocks at 10 and 1000Hz don't have the same equations inside. Your 2nd solutions works fine. Enclosed a full diagram to perform some simple speed evaluations if anyone need it. Multi_Freq_Test.zip

Re: [Scilab-users] Xocs : enabled superblocks and multi frequence diagram

2014-07-21 Thread Serge Steer
The solution of your problem depends the solution of your problem depends on the type of your state system: - if it is a continous time state system the xcos solver is able to automatically adapt its step size so, it is not necessary to handle two copies of your superblock - if it is a discre

[Scilab-users] Xocs : enabled superblocks and multi frequence diagram

2014-07-20 Thread Quentin Mazué
Hello, I need to model a special phenomenon which has two different states: ->1) A transient state: from 0 to 1 sec. For this phase I need calculations with a very small time step (around 0.001s) ->2) Then a steady state: from 1 to end of simulation (around 10-15sec) For this phase I need calc