- #1
bflbfl
- 10
- 0
Hi,
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.
Regards
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.
Regards