I have a multi machine power system, and I had to simulate it by solving differential equations of the whole system in simulink, but the speed of the simulation is very low, how can I do this simulation in less time?
i have the same problem with MR Damper model, they advise me to disable all zero crossings in Configuration Parameters, so try to do that ! for me it did not work but my be it will work for you
One can use matlab pool besides disabling debugging/animation, echo expressions, overflow detection in simulation target. use of scopes can be avoided. data can be stored in .mat files and plotted later.
First, try to use different solvers, both continuous and discrete, variable step and fixed step. Imprtant question is an aim of the simulation. If it`s electromechanical process but not electromagnetic - use "phasor" type of solving. Another good trick is using R-shunts added to generator`s terminals (like small load). Also, R-shunt in parallel with "fault" simulink block may increase simulation speed.
Dear Sandeep, if fixed step size is chosen, is it essential that all the components should have a same sample time? I am asking this becoz I was trying to simulate my work in fixed mode but it gave lot of errors.