Simulink中的三阶ODE - 模拟已停止

时间:2017-03-21 20:35:11

标签: matlab simulink ode ode45

如何让以下内容运行?我现在已经第三次构建了它,但我仍然无法解决这个问题。

我正在尝试在MATLAB / Simulink中运行模拟。整件事已在this paper but without Simulink完成。

MATLAB代码包含积分器的参数和初始条件:

clear all;
close all;
clc;

a = 3;
b = 14;
c = 3.9;
ic = [0.2 0.4 0.2]; % initial conditions

sim('Project_Simulink.slx');

Equations

Simulink block diagram

enter image description here

错误是:

Derivative of state '1' in block 'Project_Simulink/Integr2'
at time 1.4998474537105659 is not finite. The simulation will be
stopped. 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)

如何解决这个问题?

0 个答案:

没有答案