悬赏 50 个论坛币 未解决
以1stopt sharedmodel 拟合方程组得不出结果,请各位大神看看代码哪里有错,如果方便的话再帮忙跑一遍程序
Parameters c1,c2,c3,c4,c5,c6,c7,c8,c9,c10;
SharedModel;
Variable t,total,one,two,three,four,five;
function
one=(1-exp(a1))*(-a2/a1)*exp(-a1*(t-1));
two=(1-exp(a3))*(-a4/a3)*exp(-a3*(t-1));
three=(1-exp(a5))*(-a6/a5)*exp(-a5*(t-1));
four=(1-exp(a7))*(-a8/a7)*exp(-a7*(t-1));
five=(1-exp(a9))*(-a10/a9)*exp(-a9*(t-1));
total=(1-exp(a1))*(-a2/a1)*exp(-a1*(t-1))+(1-exp(a3))*(-a4/a3)*exp(-a3*(t-1))+(1-exp(a5))*(-a6/a5)*exp(-a5*(t-1))+(1-exp(a7))*(-a8/a7)*exp(-a7*(t-1))+(1-exp(a9))*(-a10/a9)*exp(-a9*(t-1));
data;
1 45235 11761 22654 4578 3489 2753
2 47138 8922 24193 6120 4443 3460
3 55625 9045 25012 9604 8549 3415
4 53360 7714 20191 13303 9742 4410
5 56015 6610 15503 14736 13895 5271