Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The integrator in Simulink

  1. Feb 23, 2012 #1

    I am trying to solve the laser rate equations in Simulink using the integrator block. But it gives an error message each time I run the simulation:

    'Derivative input 1 of 'rate_equation_15_2_2012/Phy1-eq./Integrator3' at time 0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)'.

    I have tried to reduce the error tolerances as well as reducing the step size. The I also tried to provide an initial value to the integrator block but it does not work. I shall appreciate any help in this connection.

  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted